aboutsummaryrefslogtreecommitdiff
path: root/sway/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sway/init.sh')
-rwxr-xr-xsway/init.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/init.sh b/sway/init.sh
index 95d2063..d0c5e49 100755
--- a/sway/init.sh
+++ b/sway/init.sh
@@ -22,6 +22,12 @@ if command -v systemctl > /dev/null; then
systemctl --user restart xdg-desktop-portal
systemctl --user restart xdg-desktop-portal-wlr
systemctl --user restart plasma-kactivitymanagerd
+else
+ dbus-update-activation-environment WAYLAND_DISPLAY \
+ XDG_CURRENT_DESKTOP
+
+ /usr/libexec/pipewire-launcher &
+ /usr/libexec/xdg-desktop-portal-wlr &
fi
~/.config/sway/swayidle.sh &