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()
|
local caffeine = hs.menubar.new()
|
||||||
function setCaffeineDisplay(state)
|
function setCaffeineDisplay(state)
|
||||||
if state then
|
if state then
|
||||||
caffeine:setIcon("caffeine-on.pdf")
|
caffeine:setIcon("~/.hammerspoon/caffeine-on.pdf")
|
||||||
else
|
else
|
||||||
caffeine:setIcon("caffeine-off.pdf")
|
caffeine:setIcon("~/.hammerspoon/caffeine-off.pdf")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue