diff --git a/river/init b/river/init index 0638935..626bd53 100755 --- a/river/init +++ b/river/init @@ -44,8 +44,9 @@ riverctl map -repeat normal Super H send-layout-cmd rivertile "main-ratio -0.05" riverctl map -repeat normal Super L send-layout-cmd rivertile "main-ratio +0.05" # Increment/decrement the main count of rivertile(1) -riverctl map normal Super I send-layout-cmd rivertile "main-count +1" -riverctl map normal Super D send-layout-cmd rivertile "main-count -1" +riverctl map -repeat normal Super I send-layout-cmd rivertile "main-count +1" +riverctl map -repeat normal Super+Shift I send-layout-cmd rivertile "main-count 1" +riverctl map -repeat normal Super D send-layout-cmd rivertile "main-count -1" # Super+Alt+{H,J,K,L} to move views riverctl map -repeat normal Super+Alt H move left 100 @@ -191,3 +192,15 @@ if test -z "$RIVER_RELOAD" ; then eval $XTERMINAL & fi +export QT_QPA_PLATFORM=wayland +#export QT_QPA_PLATFORM=xcb +export XDG_CURRENT_DESKTOP=sway + +dbus-update-activation-environment --systemd \ + WAYLAND_DISPLAY \ + XDG_CURRENT_DESKTOP=river + +XWIRE_DAEMON=wireplumber +systemctl --user stop pipewire "$XWIRE_DAEMON" xdg-desktop-portal xdg-desktop-portal-wlr +systemctl --user start "$XWIRE_DAEMON" +