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"'