mirror of
https://github.com/SeriousBug/dotfiles
synced 2024-12-22 10:59:56 -06:00
move blueman & kdeconnectd to systemd user services
This commit is contained in:
parent
324e2df4a9
commit
1480aec7b5
|
@ -48,21 +48,17 @@ output DP-3 {
|
||||||
# Enable XWayland
|
# Enable XWayland
|
||||||
xwayland enable
|
xwayland enable
|
||||||
|
|
||||||
|
# Pass all variables to dbus & systemd to run graphical user services
|
||||||
|
exec dbus-update-activation-environment --all --systemd
|
||||||
# Enable screencast support
|
# Enable screencast support
|
||||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||||
|
|
||||||
# Night color (red shift)
|
# Night color (red shift)
|
||||||
exec wlsunset -l 40 -L -83
|
exec wlsunset -l 40 -L -83
|
||||||
|
|
||||||
# Bluetooth
|
|
||||||
exec blueman-applet
|
|
||||||
|
|
||||||
# Screen sharing selection
|
# Screen sharing selection
|
||||||
exec bash -c "/usr/lib/xdg-desktop-portal -r & /usr/lib/xdg-desktop-portal-wlr"
|
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:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
|
|
10
systemd/user/blueman-applet.service
Normal file
10
systemd/user/blueman-applet.service
Normal 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
|
10
systemd/user/kdeconnectd.service
Normal file
10
systemd/user/kdeconnectd.service
Normal 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
|
Loading…
Reference in a new issue