aboutsummaryrefslogtreecommitdiff
path: root/systemd/user/swaybg.service
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--systemd/user/swaybg.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/systemd/user/swaybg.service b/systemd/user/swaybg.service
new file mode 100644
index 0000000..b298cac
--- /dev/null
+++ b/systemd/user/swaybg.service
@@ -0,0 +1,9 @@
+[Unit]
+PartOf=graphical-session.target
+After=graphical-session.target
+Requisite=graphical-session.target
+
+[Service]
+EnvironmentFile=%h/.config/scripts/IMG.env
+ExecStart=/usr/bin/swaybg -m fill -i "$IMG"
+Restart=always