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/systemd-module.yml b/recipes/components/systemd-module.yml index 7df2973..d703e66 100644 --- a/recipes/components/systemd-module.yml +++ b/recipes/components/systemd-module.yml @@ -8,4 +8,5 @@ modules: enabled: - flatpak-user-update.timer - quickshell.service - - hyprpolkitagent.service \ No newline at end of file + - hyprpolkitagent.service + - swww.service \ No newline at end of file diff --git a/recipes/dnf/hyprland.yml b/recipes/dnf/hyprland.yml index 2542364..b603664 100644 --- a/recipes/dnf/hyprland.yml +++ b/recipes/dnf/hyprland.yml @@ -13,6 +13,7 @@ modules: - hyprland-qt-support - hyprland-qtutils - xdg-desktop-portal-hyprland + - swww - matugen - wlogout