Skip to content

Commit

Permalink
Add keybindings for move shuffle to default-config.
Browse files Browse the repository at this point in the history
Include key bindings ctrl-alt-arrow_key to move a window around using
Move shuffle in the given direction in the default-config.
  • Loading branch information
somiaj committed Jun 21, 2021
1 parent ed4adf8 commit ada29fd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions default-config/config
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,22 @@ Mouse 1 I A RaiseMoveX Move "Iconify off"
Mouse 3 T A Menu MenuWindowOps
Mouse 3 I A Menu MenuIconOps

# Shuffle moves a window in a given direction until it hits another window.
# These bindings will shuffle a window using the arrow keys.
# Ctrl-Alt Up_Arrow - Shuffle window up
# Ctrl-Alt Right_Arrow - Shuffle window right
# Ctrl-Alt Down_Arrow - Shuffle window down
# Ctrl-Alt Left_Arrow - Shuffle window left
DestroyFunc ShuffleDir
AddToFunc ShuffleDir
+ I Move shuffle layers $[w.layer] $[w.layer] snap windows $0
+ I WarpToWindow 50 50

Key Up WTSF CM ShuffleDir up
Key Down WTSF CM ShuffleDir down
Key Left WTSF CM ShuffleDir left
Key Right WTSF CM ShuffleDir right

#######
# 6: Window Decor
#
Expand Down

0 comments on commit ada29fd

Please sign in to comment.