Set screen lock
This commit is contained in:
@@ -106,6 +106,7 @@ in
|
||||
startup = [
|
||||
{ command = "waybar"; }
|
||||
{ command = "mako"; }
|
||||
{ command = "swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg \"output * dpms off\"' resume 'swaymsg \"output * dpms on\"' before-sleep 'swaylock -f -c 000000'"; }
|
||||
];
|
||||
|
||||
keybindings = let
|
||||
@@ -117,6 +118,8 @@ in
|
||||
"${modifier}+Shift+c" = "reload";
|
||||
"${modifier}+Shift+e" = "exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'";
|
||||
|
||||
"${modifier}+Shift+l" = "exec swaylock -f -c 000000";
|
||||
|
||||
"${modifier}+Shift+s" = "exec grim -g \"$(slurp)\" - | wl-copy";
|
||||
|
||||
# Workspace cycling with mouse
|
||||
|
||||
Reference in New Issue
Block a user