aboutsummaryrefslogtreecommitdiff
path: root/river/init
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2024-01-23 18:12:03 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2024-01-23 18:12:03 -0500
commitd931ceaf517fdec540d91fb9b363b5f2db65eb32 (patch)
tree1fe3a0728e286d861ee50179a240762b1f288f66 /river/init
parent980bfc3699855bb110bf581a54abc760b6ae3652 (diff)
downloadrivercfg-d931ceaf517fdec540d91fb9b363b5f2db65eb32.tar.gz
rivercfg-d931ceaf517fdec540d91fb9b363b5f2db65eb32.tar.xz
more tweaks to the fedora script. Aggressively remove padding and reduce font sizes
Diffstat (limited to 'river/init')
-rwxr-xr-xriver/init7
1 files changed, 4 insertions, 3 deletions
diff --git a/river/init b/river/init
index 8797716..09a3b8c 100755
--- a/river/init
+++ b/river/init
@@ -161,20 +161,21 @@ riverctl rule-add -app-id "bar" csd
# Set the default layout generator to be rivertile and start it.
# River will send the process group of the init executable SIGTERM on exit.
riverctl default-layout rivertile
-rivertile -view-padding 6 -outer-padding 6 &
+rivertile -view-padding 0 -outer-padding 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'
riverctl focus-follows-cursor normal
-riverctl map normal Super+Shift P spawn 'grim /tmp/screenshot_$(date +%S).png'
-riverctl map normal Super+Shift+Control P spawn 'grim -g "$(slurp)" /tmp/screenshot_$(date +%S).png'
+riverctl map normal Super+Shift P spawn 'grim /tmp/screenshot_$(date +%s).png'
+riverctl map normal Super+Shift+Control P spawn 'grim -g "$(slurp)" /tmp/screenshot_$(date +%s).png'
riverctl map normal Super P spawn dpw-menu
riverctl map normal Super+Control P spawn 'dpw-menu -o'
riverctl map normal Super O spawn 'dpw-menu --type'
riverctl map normal Super+Shift O spawn 'dpw-menu -t -o'
+riverctl map normal Super backslash spawn 'pm'
# Only start these once...