From 6e55544c4228ba9288ff1a2680599244cfe6f9eb Mon Sep 17 00:00:00 2001 From: Matthias Puchstein Date: Thu, 26 Mar 2026 14:40:30 +0100 Subject: [PATCH] =?UTF-8?q?awww:=20rename=20swww=20=E2=86=92=20awww=20acro?= =?UTF-8?q?ss=20services=20and=20scripts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace swww-daemon with awww-daemon in the systemd unit, update awww-manager-random.service dependency, and update the default backend in config.toml.tmpl and awww-manager.py. Co-Authored-By: Claude Sonnet 4.6 --- dot_config/awww-manager/config.toml.tmpl | 4 ++-- dot_config/mimeapps.list | 1 + dot_config/systemd/user/awww-manager-random.service | 4 ++-- dot_config/systemd/user/{swww.service => awww.service} | 4 ++-- dot_local/bin/executable_awww-manager.py | 4 ++-- 5 files changed, 9 insertions(+), 8 deletions(-) rename dot_config/systemd/user/{swww.service => awww.service} (77%) diff --git a/dot_config/awww-manager/config.toml.tmpl b/dot_config/awww-manager/config.toml.tmpl index c46d763..389f74e 100644 --- a/dot_config/awww-manager/config.toml.tmpl +++ b/dot_config/awww-manager/config.toml.tmpl @@ -1,6 +1,6 @@ [general] -backend = "swww" -# backend_cmd = "/usr/bin/swww" +backend = "awww" +# backend_cmd = "/usr/bin/awww" # resize = "crop" # filter = "Lanczos3" # transition_type = "simple" diff --git a/dot_config/mimeapps.list b/dot_config/mimeapps.list index 0fdf73a..20243d4 100644 --- a/dot_config/mimeapps.list +++ b/dot_config/mimeapps.list @@ -18,6 +18,7 @@ image/jpeg=org.pwmt.zathura-pdf-mupdf.desktop x-scheme-handler/spotify=spotify-launcher.desktop x-scheme-handler/about=xdg-https-handler.desktop x-scheme-handler/unknown=xdg-https-handler.desktop +x-scheme-handler/claude-cli=claude-code-url-handler.desktop [Added Associations] x-scheme-handler/http=firefox.desktop; diff --git a/dot_config/systemd/user/awww-manager-random.service b/dot_config/systemd/user/awww-manager-random.service index 5ab9c4e..ab7e657 100644 --- a/dot_config/systemd/user/awww-manager-random.service +++ b/dot_config/systemd/user/awww-manager-random.service @@ -1,7 +1,7 @@ [Unit] Description=Randomize wallpapers via awww-manager -After=graphical-session.target swww.service -Wants=swww.service +After=graphical-session.target awww.service +Wants=awww.service [Service] Type=oneshot diff --git a/dot_config/systemd/user/swww.service b/dot_config/systemd/user/awww.service similarity index 77% rename from dot_config/systemd/user/swww.service rename to dot_config/systemd/user/awww.service index 728c802..9d28215 100644 --- a/dot_config/systemd/user/swww.service +++ b/dot_config/systemd/user/awww.service @@ -1,11 +1,11 @@ [Unit] -Description=swww wallpaper daemon +Description=awww wallpaper daemon PartOf=graphical-session.target After=graphical-session.target [Service] Type=simple -ExecStart=/usr/bin/swww-daemon +ExecStart=/usr/bin/awww-daemon ExecStartPost=%h/.local/bin/awww-manager.py apply Restart=on-failure RestartSec=1 diff --git a/dot_local/bin/executable_awww-manager.py b/dot_local/bin/executable_awww-manager.py index fb01294..ec77384 100644 --- a/dot_local/bin/executable_awww-manager.py +++ b/dot_local/bin/executable_awww-manager.py @@ -232,7 +232,7 @@ def _resolve_wallpaper(output, key, command, state): def cmd_apply_like(config, dry_run, wait_seconds, command): general = config.get("general", {}) - base_cmd = general.get("backend_cmd", general.get("backend", "swww")) + base_cmd = general.get("backend_cmd", general.get("backend", "awww")) outputs = config.get("output", []) if not outputs: @@ -288,7 +288,7 @@ def cmd_list(config): def main(): - parser = argparse.ArgumentParser(description="Apply wallpapers via swww/awww using a TOML config.") + parser = argparse.ArgumentParser(description="Apply wallpapers via awww using a TOML config.") parser.add_argument("--config", help="Path to config.toml (default: XDG config)") parser.add_argument("--dry-run", action="store_true", help="Print commands without executing them") parser.add_argument("--print-config", action="store_true", help="Print the config file and exit")