summaryrefslogtreecommitdiffstats
path: root/hyprpaper.service
diff options
context:
space:
mode:
authorAndrew <admonty1@protonmail.com>2025-08-21 15:53:29 -0400
committerAndrew <admonty1@protonmail.com>2025-08-21 15:53:29 -0400
commit574d3681522ce5c21b153cfb3e8f1a923d14aa46 (patch)
treebf102f3add5022ae14a749724227aa334d3783d5 /hyprpaper.service
parentfreetube configured (diff)
downloadnixos-574d3681522ce5c21b153cfb3e8f1a923d14aa46.tar.gz
nixos-574d3681522ce5c21b153cfb3e8f1a923d14aa46.tar.bz2
nixos-574d3681522ce5c21b153cfb3e8f1a923d14aa46.zip
switch to hyprpaper
Diffstat (limited to '')
-rw-r--r--hyprpaper.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/hyprpaper.service b/hyprpaper.service
new file mode 100644
index 0000000..2d85a72
--- /dev/null
+++ b/hyprpaper.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=Hyprpaper wallpaper utility for Hyprland
+Documentation=man:hyprpaper(1)
+# order startup after WM
+After=graphical-session.target
+
+[Service]
+Type=exec
+# Repurpose XDG Autostart filtering
+ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "Hyprland" ""
+ExecStart=hyprpaper
+Restart=on-failure
+Slice=background-graphical.slice
+
+[Install]
+WantedBy=graphical-session.target
+# Alternatively can be wanted by specific WMs' targets
+# Should also be duplicated in 'After=' to avoid ordering loop
+#WantedBy=wayland-session@hyprland.desktop.target