aboutsummaryrefslogtreecommitdiffstats
path: root/hammerspoon
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-07-17 14:36:18 -0700
committerGravatar Tom Willemse2026-08-26 23:04:25 -0700
commit826aea5998003db3798ed9d7c239f2898dd492c0 (patch)
tree6cd2af74bc8368673c42a9d458124877d8436929 /hammerspoon
parentb446596ccbd4a4d6e768d9b3892fb7f5688e9592 (diff)
downloadnew-dotfiles-826aea5998003db3798ed9d7c239f2898dd492c0.tar.gz
new-dotfiles-826aea5998003db3798ed9d7c239f2898dd492c0.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