diff options
| author | tslil clingman <> | 2023-12-04 21:56:47 +0100 |
|---|---|---|
| committer | tslil clingman <> | 2023-12-04 21:56:47 +0100 |
| commit | ab5143152997770d1bd4419419aa839dc57c43f5 (patch) | |
| tree | 118af2e940baa8e7e2fd53093d6882e31e36aeb4 | |
| parent | 84c9d8411cf1f50ef50caf0c15136534937ac12b (diff) | |
[river] magical systemd/dbus incantation
this fixes the irritating failure of
xdg-desktop-portal which would otherwise delay
the starting of certain gtk programmes by around
20sec
| -rwxr-xr-x | river/init | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -11,8 +11,9 @@ export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 export VDPAU_DRIVER=radeonsi export LIBVA_DRIVER_NAME=radeonsi -dbus-update-activation-environment XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE -systemctl --user import-environment XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE +systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE +hash dbus-update-activation-environment 2>/dev/null && \ + dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE # Input methods riverctl keyboard-layout -model pc105awide -options ctrl:nocaps,ctrl:swap_lalt_lctl_lwin,ctrl:swap_rwin_rctl vlom |
