From 2718a4de5389cfe5287f2289b0e46d8509e2aeab Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Sun, 25 Feb 2024 23:40:42 +0100 Subject: . --- sway/init.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sway/init.sh') 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 & -- cgit v1.2.3-70-g09d2