From 63ba3ffba1bd94f671d4e711f8f610509c6a7c95 Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Sat, 1 Dec 2018 14:25:05 -0500 Subject: [PATCH] Add wal services --- lain/.config/systemd/user/wallpaper.service | 9 +++++++++ lain/.config/systemd/user/wallpaper.timer | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 lain/.config/systemd/user/wallpaper.service create mode 100644 lain/.config/systemd/user/wallpaper.timer diff --git a/lain/.config/systemd/user/wallpaper.service b/lain/.config/systemd/user/wallpaper.service new file mode 100644 index 0000000..00d6924 --- /dev/null +++ b/lain/.config/systemd/user/wallpaper.service @@ -0,0 +1,9 @@ +[Unit] +Description=Load a random wallpaper and colorscheme + +[Service] +Type=forking +ExecStart=/usr/bin/wal -q -i "/home/lain/Pictures/wallpapers" -a "85" + +[Install] +WantedBy=multi-user.target diff --git a/lain/.config/systemd/user/wallpaper.timer b/lain/.config/systemd/user/wallpaper.timer new file mode 100644 index 0000000..14f8a7d --- /dev/null +++ b/lain/.config/systemd/user/wallpaper.timer @@ -0,0 +1,8 @@ +[Unit] +Description=Periodically run wallpaper service + +[Timer] +OnUnitActiveSec=30min + +[Install] +WantedBy=timers.target