river: fix binding; add secondary-grid layout, floating rules, swayidle

This commit is contained in:
Adam Gausmann 2025-01-13 21:52:11 -06:00
parent b4cfac6931
commit 9ec7edb2f8

View file

@ -5,7 +5,7 @@ riverctl map normal Super D spawn 'wofi --show drun'
riverctl map normal Super+Shift D spawn 'wofi --show run' riverctl map normal Super+Shift D spawn 'wofi --show run'
riverctl map normal Super P spawn wofi-pass riverctl map normal Super P spawn wofi-pass
riverctl map normal Super+Shift S spawn 'wl-copy < "$(grimshot --notify save window)"' riverctl map normal Super+Shift S spawn 'wl-copy < "$(grimshot --notify save window)"'
riverctl map normal Super+Ctrl S spawn 'wl-copy < "$(grimshot --notify save area)"' riverctl map normal Super+Control S spawn 'wl-copy < "$(grimshot --notify save area)"'
riverctl map normal Super+Shift P spawn swaylock riverctl map normal Super+Shift P spawn swaylock
@ -127,6 +127,12 @@ riverctl default-layout rivertile
riverctl map normal Super E output-layout bsp-layout riverctl map normal Super E output-layout bsp-layout
riverctl map normal Super W output-layout rivertile riverctl map normal Super W output-layout rivertile
riverctl map normal Super G output-layout uniform-grid riverctl map normal Super G output-layout uniform-grid
riverctl map normal Super S output-layout secondary-grid
# TODO: automated script to register windows to always float
riverctl rule-add -app-id wsjtx -title "* Wide Graph" float
riverctl rule-add -app-id GridTracker -title Alerts float
riverctl rule-add -app-id wsjtx -title "* Log QSO" float
# Only run these at the first load. # Only run these at the first load.
if [ -z $RIVER_RELOAD ] if [ -z $RIVER_RELOAD ]
@ -137,6 +143,7 @@ then
rivertile -view-padding 6 -outer-padding 6 & rivertile -view-padding 6 -outer-padding 6 &
river-bsp-layout & river-bsp-layout &
river-uniform-grid-layout & river-uniform-grid-layout &
river-secondary-grid-layout &
# Daemons # Daemons
pipewire & pipewire &
@ -144,6 +151,7 @@ then
pipewire-pulse & pipewire-pulse &
dunst & dunst &
udiskie & udiskie &
swayidle &
# Bar # Bar
i3bar-river & i3bar-river &