sway: sort scratchpad, add move mode
This commit is contained in:
parent
04fa8b33cb
commit
ce20a704d4
1 changed files with 20 additions and 7 deletions
27
config
27
config
|
@ -68,7 +68,7 @@ bindsym $mod+p exec $menu
|
||||||
floating_modifier $mod normal
|
floating_modifier $mod normal
|
||||||
|
|
||||||
# Reload the configuration file
|
# Reload the configuration file
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+r reload
|
||||||
|
|
||||||
# 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'
|
||||||
|
@ -176,12 +176,14 @@ gaps right 0
|
||||||
# Scratchpad:
|
# Scratchpad:
|
||||||
#
|
#
|
||||||
# Move the currently focused window to the scratchpad
|
# Move the currently focused window to the scratchpad
|
||||||
bindsym $mod+Shift+s move scratchpad
|
bindsym $mod+Shift+s mark s; move scratchpad
|
||||||
bindsym $mod+s scratchpad show
|
bindsym $mod+Shift+z mark z; move scratchpad
|
||||||
# special apps
|
bindsym $mod+Shift+x mark x; move scratchpad
|
||||||
bindsym $mod+z [class="^Rambox"] scratchpad show
|
bindsym $mod+Shift+c mark c; move scratchpad
|
||||||
bindsym $mod+c [class="^Signal"] scratchpad show
|
bindsym $mod+s [con_mark="s"] scratchpad show
|
||||||
bindsym $mod+x [class="^Ferdi"] scratchpad show
|
bindsym $mod+z [con_mark="z"] scratchpad show
|
||||||
|
bindsym $mod+x [con_mark="x"] scratchpad show
|
||||||
|
bindsym $mod+c [con_mark="c"] scratchpad show
|
||||||
#
|
#
|
||||||
# Resizing containers:
|
# Resizing containers:
|
||||||
#
|
#
|
||||||
|
@ -207,6 +209,17 @@ mode "resize" {
|
||||||
}
|
}
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
mode "move" {
|
||||||
|
bindsym $left move left 20px
|
||||||
|
bindsym $down move down 20px
|
||||||
|
bindsym $up move up 20px
|
||||||
|
bindsym $right move right 20px
|
||||||
|
# Return to default mode
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
bindsym $mod+m mode "move"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Window Rules:
|
# Window Rules:
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue