Fix hammerspoon config
This commit is contained in:
parent
4161626164
commit
168b9600ee
|
@ -35,9 +35,9 @@ hs.pathwatcher.new(os.getenv("HOME") .. "/.hammerspoon/", reloadConfig):start()
|
|||
local caffeine = hs.menubar.new()
|
||||
function setCaffeineDisplay(state)
|
||||
if state then
|
||||
caffeine:setIcon("caffeine-on.pdf")
|
||||
caffeine:setIcon("~/.hammerspoon/caffeine-on.pdf")
|
||||
else
|
||||
caffeine:setIcon("caffeine-off.pdf")
|
||||
caffeine:setIcon("~/.hammerspoon/caffeine-off.pdf")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue