From d36e203e985cebe91aebce767049a590ead7898c Mon Sep 17 00:00:00 2001 From: Alexander Oakman Date: Thu, 22 Aug 2024 20:35:31 +0300 Subject: [PATCH] Fix the screensaver running hotkey The screensaver running hotkey didn't work because the appropriate command was not defined. --- etc/sway/variables | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/sway/variables b/etc/sway/variables index c2eaa82..3d1d2e0 100644 --- a/etc/sway/variables +++ b/etc/sway/variables @@ -125,5 +125,8 @@ set $calendar_daemon 'calcurse --daemon' # Notifications from Swappy set $swappy_notify '[ -x "$(command -v swappy)" ] && /usr/share/sway/scripts/screenshot-notify.sh' +# Start a screensaver +set $lock '/usr/share/sway/scripts/lock.sh' + # Toggle shortcuts inhibition mode for the current focused window set $toggle_shorcuts_inhibitor 'swaymsg "seat - shortcuts_inhibitor toggle"'