77 lines
2.5 KiB
Plaintext
77 lines
2.5 KiB
Plaintext
# resize window (you can also use the mouse for that)
|
|
mode "resize" {
|
|
bindsym t resize shrink width 10 px or 10 ppt
|
|
bindsym s resize grow height 10 px or 10 ppt
|
|
bindsym r resize shrink height 10 px or 10 ppt
|
|
bindsym n resize grow width 10 px or 10 ppt
|
|
|
|
# same bindings, but for the arrow keys
|
|
bindsym Left resize shrink width 10 px or 10 ppt
|
|
bindsym Down resize grow height 10 px or 10 ppt
|
|
bindsym Up resize shrink height 10 px or 10 ppt
|
|
bindsym Right resize grow width 10 px or 10 ppt
|
|
|
|
# back to normal: Enter or Escape
|
|
bindsym Return mode "default"
|
|
bindsym Escape mode "default"
|
|
}
|
|
|
|
mode "move" {
|
|
set $normal 50
|
|
set $withshift 5
|
|
set $withcontrol 100
|
|
set $withmod 200
|
|
|
|
bindsym t move left $normal px
|
|
bindsym s move down $normal px
|
|
bindsym r move up $normal px
|
|
bindsym n move right $normal px
|
|
|
|
bindsym Left move left $normal px
|
|
bindsym Down move down $normal px
|
|
bindsym Up move up $normal px
|
|
bindsym Right move right $normal px
|
|
|
|
bindsym Shift+t move left $withshift px
|
|
bindsym Shift+s move down $withshift px
|
|
bindsym Shift+r move up $withshift px
|
|
bindsym Shift+n move right $withshift px
|
|
|
|
bindsym Shift+Left move left $withshift px
|
|
bindsym Shift+Down move down $withshift px
|
|
bindsym Shift+Up move up $withshift px
|
|
bindsym Shift+Right move right $withshift px
|
|
|
|
bindsym Control+t move left $withcontrol px
|
|
bindsym Control+s move down $withcontrol px
|
|
bindsym Control+r move up $withcontrol px
|
|
bindsym Control+n move right $withcontrol px
|
|
|
|
bindsym Control+Left move left $withcontrol px
|
|
bindsym Control+Down move down $withcontrol px
|
|
bindsym Control+Up move up $withcontrol px
|
|
bindsym Control+Right move right $withcontrol px
|
|
|
|
bindsym $mod+t move left $withmod px
|
|
bindsym $mod+s move down $withmod px
|
|
bindsym $mod+r move up $withmod px
|
|
bindsym $mod+n move right $withmod px
|
|
|
|
bindsym $mod+Left move left $withmod px
|
|
bindsym $mod+Down move down $withmod px
|
|
bindsym $mod+Up move up $withmod px
|
|
bindsym $mod+Right move right $withmod px
|
|
|
|
bindsym Return mode "default"
|
|
bindsym Escape mode "default"
|
|
}
|
|
|
|
mode "launch" {
|
|
bindsym f exec firefox; mode "default"
|
|
bindsym t exec thunderbird; mode "default"
|
|
bindsym s exec steam; mode "default"
|
|
|
|
bindsym Escape mode "default"
|
|
bindsym Return mode "default"
|
|
}
|