From d7aee58b20f135a22f82b2f8c742e21401c8bc65 Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 6 Jan 2025 17:18:04 +0100 Subject: feat(sway): Add systemd user service for using swaybg Signed-off-by: David Runge --- .config/systemd/user/swaybg.service | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .config/systemd/user/swaybg.service 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 -- cgit v1.2.3-70-g09d2