Skip to content

Commit

Permalink
Stop making sounds, don't adjust sound level
Browse files Browse the repository at this point in the history
  • Loading branch information
heussd committed Dec 10, 2024
1 parent 65a6c49 commit 420daeb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .hammerspoon/sleep-hooks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ end

function pre_lock()
print("Executing pre lock...")
hs.execute("killall newsboat")
--hs.execute("killall newsboat")
hs.execute("gita push &", true)
reduce_sound_level()
--reduce_sound_level()

--if (hs.wifi.currentNetwork() == "Wachtberg") then
-- hs.execute("make -f $HOME/Makefile push &", true)
--end

hlspeak('doop')
--hlspeak('doop')
end


function post_lock()
print("Executing post lock...")
hlspeak('bell')
--hlspeak('bell')
hs.execute("gita pull &", true)
hlspeak('hello')
--hlspeak('hello')

--print("Current WIFI is "..hs.wifi.currentNetwork())
--if (hs.wifi.currentNetwork() == "Wachtberg") then
Expand Down

0 comments on commit 420daeb

Please sign in to comment.