aboutsummaryrefslogtreecommitdiff
path: root/.config
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
parente71f428318e6b3cc4569570208b2e34243ea7914 (diff)
Update services for desktop use
Diffstat (limited to '.config')
-rw-r--r--.config/awesome/rc.lua13
-rw-r--r--.config/sxhkd/sxhkdrc2
-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
5 files changed, 43 insertions, 2 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 4d07024..42f93b7 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -502,6 +502,17 @@ awful.rules.rules = {
},
},
+ { -- Tag rules for social
+ rule_any = {
+ class = {
+ "irc",
+ },
+ },
+ properties = {
+ tag = "social",
+ },
+ },
+
{ -- Tag rules for www
rule_any = {
class = {
@@ -519,6 +530,7 @@ awful.rules.rules = {
{ -- Tag rules for email
rule_any = {
class = {
+ "evolution",
"thunderbird",
"kmail",
},
@@ -536,6 +548,7 @@ awful.rules.rules = {
"tsmapplication.exe",
"lutris",
"pathofexile.exe",
+ "mumble"
},
},
properties = {
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
index 0c5035c..d00104b 100644
--- a/.config/sxhkd/sxhkdrc
+++ b/.config/sxhkd/sxhkdrc
@@ -1,6 +1,6 @@
# spawn applications
super + Return
- term
+ ~/.local/bin/term
super + alt + Return
term -c
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]