river: Add gap toggling key bind
Use F10 to enable gaps (default) or Shift+F10 to disable gaps. TODO Would love to make it a toggle on pressing F10 alone, but I am not sure we can get the current gap width from the layout in any way.
This commit is contained in:
parent
6bca05f212
commit
e98d527f5d
1 changed files with 3 additions and 0 deletions
|
@ -124,6 +124,9 @@ riverctl map normal $mod F toggle-fullscreen
|
||||||
# Make all connected outputs show the desktop and no windows at all
|
# Make all connected outputs show the desktop and no windows at all
|
||||||
riverctl map normal $mod+Shift M spawn 'for i in $(wlopm | wc -l); do riverctl set-focused-tags $((1 << 10)); riverctl focus-output next; done; riverctl set-focused-tags $((1 << 10)); riverctl focus-output next'
|
riverctl map normal $mod+Shift M spawn 'for i in $(wlopm | wc -l); do riverctl set-focused-tags $((1 << 10)); riverctl focus-output next; done; riverctl set-focused-tags $((1 << 10)); riverctl focus-output next'
|
||||||
|
|
||||||
|
riverctl map normal $mod+Shift F10 spawn 'riverctl send-layout-cmd rivercarro "gaps 0"'
|
||||||
|
riverctl map normal $mod F10 spawn 'riverctl send-layout-cmd rivercarro "gaps 6"'
|
||||||
|
|
||||||
# toggle float
|
# toggle float
|
||||||
riverctl map normal $mod+Shift v toggle-float
|
riverctl map normal $mod+Shift v toggle-float
|
||||||
# Mod + Left Mouse Button to move views
|
# Mod + Left Mouse Button to move views
|
||||||
|
|
Loading…
Reference in a new issue