1
0
Fork 0
mirror of https://github.com/SeriousBug/dotfiles synced 2024-12-21 18:39:57 -06:00

move blueman & kdeconnectd to systemd user services

This commit is contained in:
Kaan Barmore-Genç 2022-03-17 14:24:48 -04:00
parent 324e2df4a9
commit 1480aec7b5
3 changed files with 22 additions and 6 deletions

View file

@ -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:
#

View file

@ -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

View file

@ -0,0 +1,10 @@
[Unit]
Description=Run kdeconnectd.
After=graphical-session.target
[Service]
type=basic
ExecStart=/usr/lib/kdeconnectd
[Install]
WantedBy=graphical-session.target