From 4f3129909cc22ffdc4a3db484d999a580605a69f Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Tue, 23 Jan 2024 21:19:15 -0500 Subject: Add a rather hacky method of adjusting the padding dynamically. --- river/init | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'river/init') diff --git a/river/init b/river/init index 09a3b8c..2fa9893 100755 --- a/river/init +++ b/river/init @@ -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' -- cgit v1.2.3