aboutsummaryrefslogtreecommitdiffstats
path: root/services/.config
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-11-20 11:48:35 +0000
committerYann Herklotz <git@yannherklotz.com>2022-11-20 11:48:35 +0000
commite0b20ae403486e45a2a0ce60e3f167bb6393292b (patch)
tree6c4016998851e524105dabf9aad0a642bdb78bc5 /services/.config
parent2e6d47155914079429484b70f2c426d7959766e5 (diff)
downloaddotfiles-e0b20ae403486e45a2a0ce60e3f167bb6393292b.tar.gz
dotfiles-e0b20ae403486e45a2a0ce60e3f167bb6393292b.zip
Fix services, desktop and bspwm
Diffstat (limited to 'services/.config')
-rw-r--r--services/.config/systemd/user/clipboard.service9
-rw-r--r--services/.config/systemd/user/mailnotify.service9
-rw-r--r--services/.config/systemd/user/mbsync.service7
-rw-r--r--services/.config/systemd/user/mbsync.timer10
4 files changed, 35 insertions, 0 deletions
diff --git a/services/.config/systemd/user/clipboard.service b/services/.config/systemd/user/clipboard.service
new file mode 100644
index 0000000..b34df49
--- /dev/null
+++ b/services/.config/systemd/user/clipboard.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Clipboard management through Syncthing.
+
+[Service]
+Type=simple
+ExecStart=/home/ymherklotz/.local/bin/clipboard.sh
+
+[Install]
+WantedBy=default.target
diff --git a/services/.config/systemd/user/mailnotify.service b/services/.config/systemd/user/mailnotify.service
new file mode 100644
index 0000000..cf0b39f
--- /dev/null
+++ b/services/.config/systemd/user/mailnotify.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Mailbox notification service
+
+[Service]
+Type=simple
+ExecStart=/home/ymherklotz/.local/bin/mailnotify.sh
+
+[Install]
+WantedBy=default.target
diff --git a/services/.config/systemd/user/mbsync.service b/services/.config/systemd/user/mbsync.service
new file mode 100644
index 0000000..c5047ec
--- /dev/null
+++ b/services/.config/systemd/user/mbsync.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Mailbox synchronization service
+After=network.target network-online.target dbus.socket
+
+[Service]
+Type=oneshot
+ExecStart=/home/ymherklotz/.local/bin/mail.sh
diff --git a/services/.config/systemd/user/mbsync.timer b/services/.config/systemd/user/mbsync.timer
new file mode 100644
index 0000000..bd6ba12
--- /dev/null
+++ b/services/.config/systemd/user/mbsync.timer
@@ -0,0 +1,10 @@
+[Unit]
+Description=Mailbox synchronization timer
+
+[Timer]
+OnBootSec=2m
+OnUnitActiveSec=2m
+Unit=mbsync.service
+
+[Install]
+WantedBy=timers.target