aboutsummaryrefslogtreecommitdiff
path: root/river
diff options
context:
space:
mode:
Diffstat (limited to 'river')
-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...