Add swaylock binding
This commit is contained in:
parent
490ebc81e9
commit
d31f971717
1 changed files with 5 additions and 4 deletions
|
@ -82,7 +82,11 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
# lock the screen
|
# lock the screen
|
||||||
#bindsym $mod+l exec swaylock -f -c 000000
|
# Note: $mod+l is already taken
|
||||||
|
bindsym Ctrl+Shift+l exec swaylock -f -c 000000
|
||||||
|
|
||||||
|
# Screenshot
|
||||||
|
bindsym Print exec grim
|
||||||
|
|
||||||
# exit sway (logs you out of your Wayland session)
|
# exit sway (logs you out of your Wayland session)
|
||||||
bindsym $mod+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'
|
bindsym $mod+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'
|
||||||
|
@ -199,9 +203,6 @@ mode "resize" {
|
||||||
}
|
}
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
# Screenshot
|
|
||||||
bindsym Print exec grim
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Status Bar:
|
# Status Bar:
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue