Fix xdg-desktop-portal / dbus issues
- Added some systemd and dbus environment commands to winitrc - Running dwl via `dbus-run-session` instead of exec - Waybar works on startup now - KDE wallet works as well
This commit is contained in:
@@ -9042,7 +9042,9 @@ export XDG_CURRENT_DESKTOP=wlroots # Set XDG current desktop
|
||||
#+BEGIN_SRC shell :shebang #!/usr/bin/env bash :tangle dwl/.winitrc
|
||||
$HOME/.scripts/wayland-startup.sh --kill-startup
|
||||
|
||||
exec dwl -s 'sleep 5 && $HOME/.scripts/wayland-startup.sh --startup'
|
||||
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
dbus-run-session dwl -s '$HOME/.scripts/wayland-startup.sh --startup'
|
||||
#+END_SRC
|
||||
|
||||
*** Wayland Startup
|
||||
|
Submodule dwl/.config/dwl updated: cfd345571f...528d96221a
@@ -11,4 +11,6 @@ export XDG_CURRENT_DESKTOP=wlroots # Set XDG current desktop
|
||||
|
||||
$HOME/.scripts/wayland-startup.sh --kill-startup
|
||||
|
||||
exec dwl -s 'sleep 5 && $HOME/.scripts/wayland-startup.sh --startup'
|
||||
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
dbus-run-session dwl -s '$HOME/.scripts/wayland-startup.sh --startup'
|
||||
|
Reference in New Issue
Block a user