aboutsummaryrefslogtreecommitdiffstats
path: root/hammerspoon
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-07-17 14:36:18 -0700
committerGravatar Tom Willemse2026-07-17 14:36:18 -0700
commit771bfd7edcef54506ca84f2974931f668939854e (patch)
tree85168f6dc56584c7b271d64537c6c5be82c7301f /hammerspoon
parent71ed3b7431435286bcfc1e5622ccb063a3f4377f (diff)
downloadnew-dotfiles-771bfd7edcef54506ca84f2974931f668939854e.tar.gz
new-dotfiles-771bfd7edcef54506ca84f2974931f668939854e.zip
hammerspoon: Add command to start screensaver
Right now my lock screen refuses to turn on the screensaver I picked, so adding this command, which matches other machines as well, will let me turn on the screensaver directly.
Diffstat (limited to 'hammerspoon')
-rw-r--r--hammerspoon/.hammerspoon/init.fnl1
1 files changed, 1 insertions, 0 deletions
diff --git a/hammerspoon/.hammerspoon/init.fnl b/hammerspoon/.hammerspoon/init.fnl
index ada9884..65a117c 100644
--- a/hammerspoon/.hammerspoon/init.fnl
+++ b/hammerspoon/.hammerspoon/init.fnl
@@ -7,6 +7,7 @@
(hs.hotkey.bind ["cmd" "alt" "ctrl"] "e" show-window-information)
(hs.hotkey.bind ["cmd" "shift"] "r" hs.reload)
+(hs.hotkey.bind ["cmd"] "l" hs.caffeinate.startScreensaver)
(fn make-config-path-watcher []
(hs.pathwatcher.new