awww: rename swww → awww across services and scripts
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user