aboutsummaryrefslogtreecommitdiff
path: root/sway/init.sh
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2024-02-25 23:40:42 +0100
committerbozo.kopic <bozo@kopic.xyz>2024-02-25 23:40:42 +0100
commit2718a4de5389cfe5287f2289b0e46d8509e2aeab (patch)
treec1e1f4682986c387653be655be545bc8525a18a5 /sway/init.sh
parent39abd6b00a427ac4d33564d9a00cde35abe90be8 (diff)
.
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 &