From e8e33898bed3bef39146a9e4a6ab15d1d3c5c9fc Mon Sep 17 00:00:00 2001 From: "SilverAg.L" Date: Sat, 28 Mar 2026 03:03:16 +0800 Subject: [PATCH] swww -> awww --- .config/niri/config.kdl | 6 +++--- bin/chbg | 8 ++++---- readme.md | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index 79496c6..891b41d 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -126,7 +126,7 @@ overview { } layer-rule { - match namespace="^swww-daemonblur$" + match namespace="^awww-daemonblur$" place-within-backdrop true } @@ -181,8 +181,8 @@ include "config-keyboard.kdl" // spawn-at-startup "waybar" // 建议交给 systemctl --user,它自己没法热重载。 // spawn-sh-at-startup "wl-paste --watch cliphist store" -spawn-at-startup "swww-daemon" -spawn-at-startup "swww-daemon" "--namespace" "blur" +spawn-at-startup "awww-daemon" +spawn-at-startup "awww-daemon" "--namespace" "blur" spawn-at-startup "xwayland-satellite" spawn-at-startup "/usr/lib/pam_kwallet_init" diff --git a/bin/chbg b/bin/chbg index 98f43d3..1e049bb 100755 --- a/bin/chbg +++ b/bin/chbg @@ -36,8 +36,8 @@ while [[ $# -gt 0 ]]; do esac done -if ! command -v swww >/dev/null 2>&1; then - echo "!) 'swww' command not found. Unable to comply." >&2 +if ! command -v awww >/dev/null 2>&1; then + echo "!) 'awww' command not found. Unable to comply." >&2 exit 2 fi @@ -74,8 +74,8 @@ set_wallpaper() { $IMG_MAGICK $WP_DIR/.wallpaper -filter Gaussian -blur 0x30 $WP_DIR/.wallpaper_blur echo "Done." - swww img $WP_DIR/.wallpaper - swww img $WP_DIR/.wallpaper_blur --namespace blur + awww img $WP_DIR/.wallpaper + awww img $WP_DIR/.wallpaper_blur --namespace blur } imagepool=() diff --git a/readme.md b/readme.md index dade0bf..ebb3cb5 100644 --- a/readme.md +++ b/readme.md @@ -21,7 +21,7 @@ |niri|`.config/niri/config*.kdl`|只拆分了`window-rule`和`binds`,拆太碎有些视觉效果会失效。| |`fuzzel`|`.config/fuzzel/*`| |`mako`|`.config/mako/*`|Chrome 的消息推送都是无脑标 CRITICAL 级,没有办法调持续时间,量一多还会卡在那里,只能`makoctl reload`强制重载。| -|`swww`|`bin/chbg` (bash 脚本)|依赖`imagemagick`。另,可以配合图床等实现定期换壁纸。| +|`awww`|`bin/chbg` (bash 脚本)|依赖`imagemagick`。另,可以配合图床等实现定期换壁纸。| |`gtklock`|`.config/gtklock/*`|现阶段无法跟`swayidle`合用,尽管其 Wiki 鼓励这么做。| |`xdg-desktop-portal-(gtk\|gnome)`|`.config/xdg-desktop-portal/*-portals.conf`|GNOME 支持最全,但称不上好看(| |`kwallet`|VSCode 试图登录时会弹出向导让你配的。|替代`gnome-keyring`。建议加装`kwallet-pam`,免得 VSCode 自己尝试解锁结果闪退。|