Browse Source

[systemd] Add syncmail timer and changepaper timer

Colin Powell 2 years ago
parent
commit
39e7b3b45f

+ 8 - 0
systemd/.config/systemd/user/changepaper.service

@@ -0,0 +1,8 @@
+[Unit]
+Description=Change wallpaper
+
+[Service]
+ExecStart=/home/powellc/.bin/changepaper
+
+[Install]
+WantedBy=default.target

+ 9 - 0
systemd/.config/systemd/user/changepaper.timer

@@ -0,0 +1,9 @@
+[Unit]
+Description=Change wallpaper
+
+[Timer]
+OnCalendar=hourly
+Unit=changepaper.service
+
+[Install]
+WantedBy=default.target

+ 1 - 0
systemd/.config/systemd/user/default.target.wants/changepaper.timer

@@ -0,0 +1 @@
+/home/powellc/.dotfiles/systemd/.config/systemd/user/changepaper.timer

+ 0 - 1
systemd/.config/systemd/user/default.target.wants/emacs.service

@@ -1 +0,0 @@
-/home/powellc/.config/systemd/user/emacs.service

+ 1 - 0
systemd/.config/systemd/user/default.target.wants/syncmail.timer

@@ -0,0 +1 @@
+/home/powellc/.dotfiles/systemd/.config/systemd/user/syncmail.timer

+ 8 - 0
systemd/.config/systemd/user/syncmail.service

@@ -0,0 +1,8 @@
+[Unit]
+Description=Sync mail
+
+[Service]
+ExecStart=/home/powellc/.bin/syncmail
+
+[Install]
+WantedBy=default.target

+ 9 - 0
systemd/.config/systemd/user/syncmail.timer

@@ -0,0 +1,9 @@
+[Unit]
+Description=Sync mail timer
+
+[Timer]
+OnCalendar=*:0/15
+Unit=syncmail.service
+
+[Install]
+WantedBy=default.target