diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2024-01-23 21:19:15 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2024-01-23 21:26:31 -0500 |
| commit | 4f3129909cc22ffdc4a3db484d999a580605a69f (patch) | |
| tree | 1ba8b53a6893e3c27bf79b0c3738e420b58590e1 /river/init | |
| parent | d931ceaf517fdec540d91fb9b363b5f2db65eb32 (diff) | |
| download | rivercfg-4f3129909cc22ffdc4a3db484d999a580605a69f.tar.gz rivercfg-4f3129909cc22ffdc4a3db484d999a580605a69f.tar.xz | |
Add a rather hacky method of adjusting the padding dynamically.
Diffstat (limited to 'river/init')
| -rwxr-xr-x | river/init | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -163,6 +163,12 @@ riverctl rule-add -app-id "bar" csd riverctl default-layout rivertile rivertile -view-padding 0 -outer-padding 0 & +riverctl map normal Super Equal spawn "$HOME/.config/river/padding_helper 0 25" +riverctl map normal Super Minus spawn "$HOME/.config/river/padding_helper 0 -25" + +riverctl map normal Super+Shift Equal spawn "$HOME/.config/river/padding_helper 10 0" +riverctl map normal Super+Shift Minus spawn "$HOME/.config/river/padding_helper -10 0" + riverctl map normal Super+Control L spawn swaylock riverctl map normal Super D spawn bemenu-run riverctl map normal Super B spawn 'pkill -SIGUSR1 waybar' |
