aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2024-02-06 17:43:09 +0100
committerPatrick Spek <p.spek@tyil.nl>2024-02-06 17:43:09 +0100
commitf42c633ee5f265d533a27827cf1ed0d2c4f95907 (patch)
treed73ce9fab3314c85b32f735866d9bac1f9e42712 /.config/systemd
parente71f428318e6b3cc4569570208b2e34243ea7914 (diff)
Update services for desktop use
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/irc-client.service14
-rw-r--r--.config/systemd/user/mumble.service11
-rw-r--r--.config/systemd/user/ntfy@.service5
3 files changed, 29 insertions, 1 deletions
diff --git a/.config/systemd/user/irc-client.service b/.config/systemd/user/irc-client.service
new file mode 100644
index 0000000..b1d0544
--- /dev/null
+++ b/.config/systemd/user/irc-client.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Start preferred IRC client
+PartOf=graphical-session.target
+
+[Service]
+Type=exec
+ExecSearchPath=%h/.local/bin
+ExecSearchPath=/usr/local/bin
+ExecSearchPath=/usr/bin
+ExecStart=alacritty --class irc -e mosh oolah .local/bin/ta irc
+Restart=on-failure
+
+[Install]
+WantedBy=desktop.target
diff --git a/.config/systemd/user/mumble.service b/.config/systemd/user/mumble.service
new file mode 100644
index 0000000..ad127ca
--- /dev/null
+++ b/.config/systemd/user/mumble.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Start the Mumble
+PartOf=graphical-session.target
+
+[Service]
+Type=exec
+ExecStart=/usr/bin/mumble
+Restart=on-failure
+
+[Install]
+WantedBy=desktop.target
diff --git a/.config/systemd/user/ntfy@.service b/.config/systemd/user/ntfy@.service
index 22a7c3a..6f2587b 100644
--- a/.config/systemd/user/ntfy@.service
+++ b/.config/systemd/user/ntfy@.service
@@ -5,7 +5,10 @@ After=network.target
[Service]
Type=exec
-ExecStart=/usr/bin/ntfy subscribe "%i" 'notify-send "$t" "$m"'
+ExecSearchPath=%h/.local/bin
+ExecSearchPath=/usr/local/bin
+ExecSearchPath=/usr/bin
+ExecStart=ntfy subscribe "%i" 'notify-send "$t" "$m"'
Restart=on-failure
[Install]