Add placeholder for exiting. Change line ending
This commit is contained in:
parent
ad767df8a1
commit
25ecf00343
@ -208,9 +208,10 @@ bindsym $mod+a focus parent
|
|||||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||||
# If there are multiple scratchpad windows, this command cycles through them.
|
# If there are multiple scratchpad windows, this command cycles through them.
|
||||||
#bindsym $mod+minus scratchpad show
|
#bindsym $mod+minus scratchpad show
|
||||||
#
|
|
||||||
# Resizing containers:
|
# Resizing containers:
|
||||||
#
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
# Resize windows with movement keys
|
# Resize windows with movement keys
|
||||||
bindsym $left resize shrink width 10px
|
bindsym $left resize shrink width 10px
|
||||||
@ -236,7 +237,23 @@ mode "resize" {
|
|||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
}
|
}
|
||||||
bindsym $mod+r mode "resize"
|
|
||||||
|
# Screenlock, logout, reboot, shutdown...
|
||||||
|
# press $mod (super) and X to exit - check toolbar for next choices
|
||||||
|
bindsym $mod+x mode "$mode_system"
|
||||||
|
|
||||||
|
set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown, (u) suspend
|
||||||
|
mode "$mode_system" {
|
||||||
|
bindsym l exec PLACEHOLDER, mode "default"
|
||||||
|
bindsym e exec PLACEHOLDER, mode "default"
|
||||||
|
bindsym r exec PLACEHOLDER, mode "default"
|
||||||
|
bindsym s exec PLACEHOLDER, mode "default"
|
||||||
|
bindsym u exec PLACEHOLDER, mode "default"
|
||||||
|
|
||||||
|
# back to normal: Enter or Escape
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
# detect XWayland windows and hightlight them differently
|
# detect XWayland windows and hightlight them differently
|
||||||
for_window [shell="xwayland"] title_format "[XWayland] %title"
|
for_window [shell="xwayland"] title_format "[XWayland] %title"
|
||||||
|
Loading…
Reference in New Issue
Block a user