This commit is contained in:
2022-08-09 22:25:23 +02:00
parent a62f93a0e1
commit f45249e609

View File

@@ -22,13 +22,13 @@ riverctl map normal Super Q close
riverctl map normal Super+Shift E exit
# Super+J and Super+K to focus the next/previous view in the layout stack
riverctl map normal Super K focus-view next
riverctl map normal Super J focus-view previous
riverctl map normal Super L focus-view next
riverctl map normal Super H focus-view previous
# Super+Shift+J and Super+Shift+K to swap the focused view with the next/previous
# view in the layout stack
riverctl map normal Super+Shift K swap next
riverctl map normal Super+Shift J swap previous
riverctl map normal Super+Shift L swap next
riverctl map normal Super+Shift H swap previous
# Super+Period and Super+Comma to focus the next/previous output
riverctl map normal Super Period focus-output next
@@ -42,12 +42,12 @@ riverctl map normal Super+Shift Comma send-to-output previous
riverctl map normal Super+Shift Return zoom
# Super+H and Super+L to decrease/increase the main ratio of rivertile(1)
riverctl map normal Super H send-layout-cmd rivertile "main-ratio -0.05"
riverctl map normal Super L send-layout-cmd rivertile "main-ratio +0.05"
riverctl map normal Super J send-layout-cmd rivertile "main-ratio -0.05"
riverctl map normal Super K send-layout-cmd rivertile "main-ratio +0.05"
# Super+Shift+H and Super+Shift+L to increment/decrement the main count of rivertile(1)
riverctl map normal Super+Shift H send-layout-cmd rivertile "main-count +1"
riverctl map normal Super+Shift L send-layout-cmd rivertile "main-count -1"
riverctl map normal Super+Alt H send-layout-cmd rivertile "main-count +1"
riverctl map normal Super+Alt L send-layout-cmd rivertile "main-count -1"
# Super+Alt+{H,J,K,L} to move views
riverctl map normal Super+Alt H move left 100
@@ -159,4 +159,4 @@ riverctl csd-filter-add app-id "gedit"
# Set and exec into the default layout generator, rivertile.
# River will send the process group of the init executable SIGTERM on exit.
riverctl default-layout rivertile
exec rivertile -view-padding 3 -outer-padding 3 --main-ratio 0.7
exec rivertile -view-padding 3 -outer-padding 3 -main-ratio 0.7