sway: add moving floating windows to edges
This commit is contained in:
parent
fbbdb071cd
commit
a734e43cce
1 changed files with 11 additions and 0 deletions
11
config
11
config
|
@ -21,6 +21,7 @@ set $brightness_cmd $HOME/.config/sway/bin/sway_brightness
|
|||
set $output_cmd $HOME/.config/sway/bin/sway_output
|
||||
set $suspend_cmd $HOME/.config/sway/bin/sway_suspend
|
||||
set $volume_cmd $HOME/.config/sway/bin/sway_volume
|
||||
set $move_cmd $HOME/.config/sway/bin/sway_move
|
||||
set $font Cascadia Code PL Regular 10
|
||||
|
||||
# Your preferred application launcher
|
||||
|
@ -246,6 +247,16 @@ mode "move" {
|
|||
bindsym Shift+$down move down 100px
|
||||
bindsym Shift+$up move up 100px
|
||||
bindsym Shift+$right move right 100px
|
||||
# edges
|
||||
bindsym q exec $move_cmd top-left
|
||||
bindsym w exec $move_cmd top-center
|
||||
bindsym e exec $move_cmd top-right
|
||||
bindsym a exec $move_cmd center-left
|
||||
bindsym s exec $move_cmd center-center
|
||||
bindsym d exec $move_cmd center-right
|
||||
bindsym z exec $move_cmd bottom-left
|
||||
bindsym x exec $move_cmd bottom-center
|
||||
bindsym c exec $move_cmd bottom-right
|
||||
# Return to default mode
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
|
|
Loading…
Reference in a new issue