[river] Update river-ultitile binds
This commit is contained in:
parent
006a69ec50
commit
22925407ab
1 changed files with 12 additions and 7 deletions
19
river/init
19
river/init
|
@ -126,20 +126,25 @@ else
|
|||
riverctl set-view-tags $((1 << (11 - 1)))
|
||||
fi
|
||||
|
||||
# Mod+U and Mod+I to increase/decrease the main size
|
||||
riverctl map normal $mod U send-layout-cmd river-ultitile "set integer main-size += 5"
|
||||
riverctl map normal $mod I send-layout-cmd river-ultitile "set integer main-size -= 5"
|
||||
# Increase/decrease the main size
|
||||
riverctl map normal $mod U send-layout-cmd river-ultitile "set integer main-size += 4"
|
||||
riverctl map normal $mod I send-layout-cmd river-ultitile "set integer main-size -= 4"
|
||||
|
||||
# Mod+Shift+U and Mod+Shift+I to decrease/increase the main count
|
||||
riverctl map normal $mod+Shift U send-layout-cmd river-ultitile "set integer main-count -= 1"
|
||||
riverctl map normal $mod+Shift I send-layout-cmd river-ultitile "set integer main-count += 1"
|
||||
# Decrease/increase the main size if it is in the center (on wide screens)
|
||||
riverctl map normal $mod+Shift U send-layout-cmd river-ultitile "set global integer main-size-if-only-centered-main += 4"
|
||||
riverctl map normal $mod+Shift I send-layout-cmd river-ultitile "set global integer main-size-if-only-centered-main -= 4"
|
||||
|
||||
# Mod+{Up,Right,Down,Left} to change layout
|
||||
# Decrease/increase the main count
|
||||
riverctl map normal $mod N send-layout-cmd river-ultitile "set integer main-count -= 1"
|
||||
riverctl map normal $mod comma send-layout-cmd river-ultitile "set integer main-count += 1"
|
||||
|
||||
# Change layout
|
||||
riverctl map normal $mod Up send-layout-cmd river-ultitile "set string layout = vstack"
|
||||
riverctl map normal $mod Right send-layout-cmd river-ultitile "set string layout = hstack"
|
||||
riverctl map normal $mod Down send-layout-cmd river-ultitile "set string layout = monocle"
|
||||
riverctl map normal $mod Left send-layout-cmd river-ultitile "set string layout = main"
|
||||
|
||||
# Cycle through layouts on all tags/outputs
|
||||
riverctl map normal $mod E spawn "riverctl send-layout-cmd river-ultitile 'unset-all-local layout'; riverctl send-layout-cmd river-ultitile 'set global string layout @ main hstack vstack'"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue