aboutsummaryrefslogtreecommitdiffstats
path: root/.config/systemd
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2025-01-06 17:18:04 +0100
committerDavid Runge <dave@sleepmap.de>2025-01-06 17:18:04 +0100
commitd7aee58b20f135a22f82b2f8c742e21401c8bc65 (patch)
tree887d2ca9bd176d6dbf3b1d83fb1ae6ccf1f48697 /.config/systemd
parent396ee0415785db44b5b541cf3cd2345a811902d7 (diff)
downloaddotfiles-d7aee58b20f135a22f82b2f8c742e21401c8bc65.tar.gz
dotfiles-d7aee58b20f135a22f82b2f8c742e21401c8bc65.tar.bz2
dotfiles-d7aee58b20f135a22f82b2f8c742e21401c8bc65.tar.xz
dotfiles-d7aee58b20f135a22f82b2f8c742e21401c8bc65.zip
feat(sway): Add systemd user service for using swaybg
Signed-off-by: David Runge <dave@sleepmap.de>
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/swaybg.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/systemd/user/swaybg.service b/.config/systemd/user/swaybg.service
new file mode 100644
index 0000000..211fa63
--- /dev/null
+++ b/.config/systemd/user/swaybg.service
@@ -0,0 +1,9 @@
+[Unit]
+PartOf=graphical-session.target
+After=graphical-session.target
+Requisite=graphical-session.target
+
+[Service]
+ExecStart=/usr/bin/swaybg -m fill -i /usr/share/backgrounds/gnome/adwaita-d.jxl
+Restart=on-failure
+RestartSec=500ms