From 402e9f503886af7caba3e0ddb1820c3f4e64b411 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Fri, 16 Feb 2024 11:49:25 +0100 Subject: Add more background services --- .config/systemd/user/dapp-bg-.service.d/00-Restart.conf | 2 +- .config/systemd/user/dapp-bg-chwp.service | 12 ++++++++++++ .config/systemd/user/dapp-bg-redshift.service | 11 +++++++++++ .config/systemd/user/dapp-bg-xcompmgr.service | 11 +++++++++++ 4 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .config/systemd/user/dapp-bg-chwp.service create mode 100644 .config/systemd/user/dapp-bg-redshift.service create mode 100644 .config/systemd/user/dapp-bg-xcompmgr.service (limited to '.config') diff --git a/.config/systemd/user/dapp-bg-.service.d/00-Restart.conf b/.config/systemd/user/dapp-bg-.service.d/00-Restart.conf index 8a764e3..eedb19c 100644 --- a/.config/systemd/user/dapp-bg-.service.d/00-Restart.conf +++ b/.config/systemd/user/dapp-bg-.service.d/00-Restart.conf @@ -1,2 +1,2 @@ [Service] -Restart=always +Restart=on-failure diff --git a/.config/systemd/user/dapp-bg-chwp.service b/.config/systemd/user/dapp-bg-chwp.service new file mode 100644 index 0000000..65299d2 --- /dev/null +++ b/.config/systemd/user/dapp-bg-chwp.service @@ -0,0 +1,12 @@ +[Unit] +Description=Change the wallpaper used in Xorg +PartOf=graphical-session.target +After=wman.target + +[Service] +Type=oneshot +ExecStart=chwp +Restart=on-failure + +[Install] +WantedBy=wman.target diff --git a/.config/systemd/user/dapp-bg-redshift.service b/.config/systemd/user/dapp-bg-redshift.service new file mode 100644 index 0000000..19dc3f7 --- /dev/null +++ b/.config/systemd/user/dapp-bg-redshift.service @@ -0,0 +1,11 @@ +[Unit] +Description=Run redshift +PartOf=graphical-session.target +After=wman.target + +[Service] +Type=exec +ExecStart=redshift -l 51.50:4.59 -t 6500:3500 + +[Install] +WantedBy=wman.target diff --git a/.config/systemd/user/dapp-bg-xcompmgr.service b/.config/systemd/user/dapp-bg-xcompmgr.service new file mode 100644 index 0000000..a55bbb5 --- /dev/null +++ b/.config/systemd/user/dapp-bg-xcompmgr.service @@ -0,0 +1,11 @@ +[Unit] +Description=Run the X Compositing Manager +PartOf=graphical-session.target +After=wman.target + +[Service] +Type=exec +ExecStart=xcompmgr + +[Install] +WantedBy=wman.target -- cgit v1.1