sway: use xdg-desktop-portal-wlr

This commit is contained in:
leo 2023-06-06 15:33:35 +02:00
parent cfe6aed022
commit b82a8ba935
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -67,9 +67,10 @@ exec_always --no-startup-id
# pgrep -u $(id -u) kanshi && pkill kanshi # pgrep -u $(id -u) kanshi && pkill kanshi
pgrep -u $(id -u) ibus-daemon && pkill ibus-daemon pgrep -u $(id -u) ibus-daemon && pkill ibus-daemon
ibus-daemon -dxrt auto ibus-daemon -dxrt auto
### Needed for xdg-desktop-portal-kde ### Needed for xdg-desktop-portal-*.
### also, current `id` needs to be a part of the dbus group on Arch as of late.
dbus-update-activation-environment --systemd --all dbus-update-activation-environment --systemd --all
/usr/lib/xdg-desktop-portal --replace /usr/lib/xdg-desktop-portal-wlr --replace
pgrep -u $(id -u) mako && pkill mako pgrep -u $(id -u) mako && pkill mako
pgrep -u $(id -u) fusuma && pkill fusuma pgrep -u $(id -u) fusuma && pkill fusuma
pgrep -u $(id -u) swayrd && pkill swayrd pgrep -u $(id -u) swayrd && pkill swayrd
@ -102,9 +103,10 @@ exec --no-startup-id {
dbus-update-activation-environment DISPLAY XAUTHORITY dbus-update-activation-environment DISPLAY XAUTHORITY
ibus-daemon -dxrt auto ibus-daemon -dxrt auto
$keyring $keyring
### Needed for xdg-desktop-portal-kde ### Needed for xdg-desktop-portal-*.
### also, current `id` needs to be a part of the dbus group on Arch as of late.
dbus-update-activation-environment --systemd --all dbus-update-activation-environment --systemd --all
/usr/lib/xdg-desktop-portal --replace /usr/lib/xdg-desktop-portal-wlr --replace
# pgrep -u $(id -u) kdeconnect-indi || kdeconnect-indicator # pgrep -u $(id -u) kdeconnect-indi || kdeconnect-indicator
pgrep -u $(id -u) mako || mako pgrep -u $(id -u) mako || mako
# XDG_SESSION_TYPE=x11 XDG_CURRENT_DESKTOP=gnome fusuma -d -c ~/.config/fusuma/config-wl.yml # XDG_SESSION_TYPE=x11 XDG_CURRENT_DESKTOP=gnome fusuma -d -c ~/.config/fusuma/config-wl.yml