feat: river: fixed wrong screen capture via portals.
This commit is contained in:
parent
ba639b3834
commit
563c3bec58
1 changed files with 15 additions and 2 deletions
17
river/init
17
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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue