Fix the screensaver running hotkey

The screensaver running hotkey didn't work because the appropriate
command was not defined.
This commit is contained in:
Alexander Oakman 2024-08-22 20:35:31 +03:00
parent 2be7224e32
commit d36e203e98

View file

@ -125,5 +125,8 @@ set $calendar_daemon 'calcurse --daemon'
# Notifications from Swappy # Notifications from Swappy
set $swappy_notify '[ -x "$(command -v swappy)" ] && /usr/share/sway/scripts/screenshot-notify.sh' 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 # Toggle shortcuts inhibition mode for the current focused window
set $toggle_shorcuts_inhibitor 'swaymsg "seat - shortcuts_inhibitor toggle"' set $toggle_shorcuts_inhibitor 'swaymsg "seat - shortcuts_inhibitor toggle"'