diff --git a/sway/config b/sway/config index dbaa10b..aa5200a 100644 --- a/sway/config +++ b/sway/config @@ -48,21 +48,17 @@ output DP-3 { # Enable XWayland xwayland enable +# Pass all variables to dbus & systemd to run graphical user services +exec dbus-update-activation-environment --all --systemd # Enable screencast support exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway # Night color (red shift) exec wlsunset -l 40 -L -83 -# Bluetooth -exec blueman-applet - # Screen sharing selection exec bash -c "/usr/lib/xdg-desktop-portal -r & /usr/lib/xdg-desktop-portal-wlr" -# kdeconnect -exec bash -c "nohup /usr/lib/kdeconnectd >/dev/null &" - # # Example configuration: # diff --git a/systemd/user/blueman-applet.service b/systemd/user/blueman-applet.service new file mode 100644 index 0000000..4b73a41 --- /dev/null +++ b/systemd/user/blueman-applet.service @@ -0,0 +1,10 @@ +[Unit] +Description=Run blueman applet. +After=graphical-session.target + +[Service] +type=basic +ExecStart=/usr/bin/blueman-applet + +[Install] +WantedBy=graphical-session.target diff --git a/systemd/user/kdeconnectd.service b/systemd/user/kdeconnectd.service new file mode 100644 index 0000000..da8f118 --- /dev/null +++ b/systemd/user/kdeconnectd.service @@ -0,0 +1,10 @@ +[Unit] +Description=Run kdeconnectd. +After=graphical-session.target + +[Service] +type=basic +ExecStart=/usr/lib/kdeconnectd + +[Install] +WantedBy=graphical-session.target