From 38c06add0756956cc380a5df99972f780f6e0c4c Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Thu, 12 Jun 2025 15:48:23 -0400 Subject: [PATCH] Use swww daemon directly and change via matugen instead of relying on hyprpanel --- files/systemd/user/swww.service | 15 +++++++++++++++ recipes/components/base-module.yml | 1 + 2 files changed, 16 insertions(+) create mode 100644 files/systemd/user/swww.service 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: