From 968c9cb9c75ffc43845085ecb7e56747640adeae Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 3 Aug 2025 17:50:17 -0700 Subject: Fixes and Adds new user systemd services --- dots/systemd/.config/systemd/services/wallpaper.service.j2 | 9 --------- dots/systemd/.config/systemd/user/playerctld.service | 9 +++++++++ dots/systemd/.config/systemd/user/wallpaper.service.j2 | 12 ++++++++++++ 3 files changed, 21 insertions(+), 9 deletions(-) delete mode 100644 dots/systemd/.config/systemd/services/wallpaper.service.j2 create mode 100644 dots/systemd/.config/systemd/user/playerctld.service create mode 100644 dots/systemd/.config/systemd/user/wallpaper.service.j2 (limited to 'dots/systemd/.config') diff --git a/dots/systemd/.config/systemd/services/wallpaper.service.j2 b/dots/systemd/.config/systemd/services/wallpaper.service.j2 deleted file mode 100644 index df4f595..0000000 --- a/dots/systemd/.config/systemd/services/wallpaper.service.j2 +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Sets wallpaper randomly every 30 mins - -[Service] -Restart=always -RestartSec=1800s -ExecStart=/bin/bash {{ user.home }}/scripts/wallpaper.sh -Sysloglevel=5 -LogLevelMax=5 diff --git a/dots/systemd/.config/systemd/user/playerctld.service b/dots/systemd/.config/systemd/user/playerctld.service new file mode 100644 index 0000000..f54238c --- /dev/null +++ b/dots/systemd/.config/systemd/user/playerctld.service @@ -0,0 +1,9 @@ +[Unit] +Description=MPRIS + +[Service] +Type=oneshot +ExecStart=/usr/bin/playerctld daemon + +[Install] +WantedBy=default.target diff --git a/dots/systemd/.config/systemd/user/wallpaper.service.j2 b/dots/systemd/.config/systemd/user/wallpaper.service.j2 new file mode 100644 index 0000000..511a82e --- /dev/null +++ b/dots/systemd/.config/systemd/user/wallpaper.service.j2 @@ -0,0 +1,12 @@ +[Unit] +Description=Sets wallpaper randomly every 30 mins + +[Service] +Restart=always +RestartSec=1800s +ExecStart=/bin/bash {{ user.home }}/scripts/wallpaper.sh +Sysloglevel=5 +LogLevelMax=5 + +[Install] +WantedBy=default.target -- cgit v1.2.3-70-g09d2