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