diff --git a/files/systemd/user/swww.service b/files/systemd/user/swww.service new file mode 100644 index 0000000..1993560 --- /dev/null +++ b/files/systemd/user/swww.service @@ -0,0 +1,15 @@ +[Unit] +Description=Background service +# order startup after WM +After=graphical-session.target + +[Service] +Type=exec +# Repurpose XDG Autostart filtering +ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" "" +ExecStart=/usr/bin/swww-daemon +Restart=on-failure +Slice=app-graphical.slice + +[Install] +WantedBy=graphical-session.target \ No newline at end of file diff --git a/recipes/components/base-module.yml b/recipes/components/base-module.yml index fbac760..c74bbae 100644 --- a/recipes/components/base-module.yml +++ b/recipes/components/base-module.yml @@ -20,6 +20,7 @@ modules: - flatpak-user-update.timer - unlock-kwallet.service - notify-update.service + - swww.service - type: dnf install: