Fix hammerspoon config

This commit is contained in:
Shadowfacts 2016-09-17 09:55:49 -04:00 committed by GitHub
parent 4161626164
commit 168b9600ee
1 changed files with 2 additions and 2 deletions

View File

@ -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