Set screen lock
This commit is contained in:
parent
0a88aa6f58
commit
f0020b9cbd
1 changed files with 3 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ in
|
||||||
startup = [
|
startup = [
|
||||||
{ command = "waybar"; }
|
{ command = "waybar"; }
|
||||||
{ command = "mako"; }
|
{ 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
|
keybindings = let
|
||||||
|
|
@ -117,6 +118,8 @@ in
|
||||||
"${modifier}+Shift+c" = "reload";
|
"${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+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";
|
"${modifier}+Shift+s" = "exec grim -g \"$(slurp)\" - | wl-copy";
|
||||||
|
|
||||||
# Workspace cycling with mouse
|
# Workspace cycling with mouse
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue