systemd: enable kdeconnect on arch

This commit is contained in:
lelgenio 2022-04-16 20:01:03 -03:00
parent 85a3cc0601
commit 8be7323bba
6 changed files with 34 additions and 15 deletions

View File

@ -496,7 +496,6 @@ dotfiles: # Just a bunch of paths and action mappings
dst: ~/.config/systemd/user
actions:
- enable_systemd_sv caffeinated.service
- enable_systemd_sv firefox.service
- enable_systemd_sv gammastep.service
- enable_systemd_sv kanshi.service
- enable_systemd_sv mako.service
@ -504,6 +503,8 @@ dotfiles: # Just a bunch of paths and action mappings
- enable_systemd_sv mpDris2.service
- enable_systemd_sv notify-mail.service
- enable_systemd_sv pipewire.service
- enable_systemd_sv kdeconnectd.service
- enable_systemd_sv kdeconnect-indicator.service
- enable_systemd_sv pulseaudio.service
- enable_systemd_sv sway-idle.service
- enable_systemd_sv syncthing.service

View File

@ -1,5 +1,3 @@
#!/bin/sh
PATH="$PATH:/usr/lib:/usr/libexec:/usr/lib/libexec"
exec kdeconnectd --replace
exec _kdeconnectd

5
dotfiles/scripts/_kdeconnectd Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
PATH="$PATH:/usr/lib:/usr/libexec:/usr/lib/libexec"
exec kdeconnectd --replace

View File

@ -1,11 +0,0 @@
# {{ header() }}
[Unit]
PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=/usr/bin/firefox
[Install]
WantedBy=sway-session.target

View File

@ -0,0 +1,13 @@
# {{ header() }}
[Unit]
Description=Wayland equivalent of autorandr.
Documentation=https://sr.ht/~emersion/kanshi/
PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=/bin/env kdeconnect-indicator
[Install]
WantedBy=sway-session.target

View File

@ -0,0 +1,13 @@
# {{ header() }}
[Unit]
Description=Wayland equivalent of autorandr.
Documentation=https://sr.ht/~emersion/kanshi/
PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=/bin/env _kdeconnectd
[Install]
WantedBy=sway-session.target