diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-09-12 14:30:10 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-09-12 14:30:10 +0800 |
| commit | f8a2391314432a9e9f0f5f7b79c40dba841420f2 (patch) | |
| tree | 07daf40bd4beba2978746165eb927e23f99f06c1 /walls | |
| parent | 28f5b02e1e7b6a27408fbb06e4e1abe3b280f79d (diff) | |
bump
Diffstat (limited to 'walls')
| -rwxr-xr-x | walls/awww.sh (renamed from walls/swww.sh) | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/walls/swww.sh b/walls/awww.sh index 29d00d7..64f4edd 100755 --- a/walls/swww.sh +++ b/walls/awww.sh @@ -4,7 +4,7 @@ XDG_PICTURES_DIR="${XDG_PICTURES_DIR:-$HOME/Pictures}" XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}" XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" WALLPAPERS="$XDG_PICTURES_DIR/wallpapers/" -swwwarg="--transition-type any --transition-duration 0.85 --transition-fps 160 --transition-bezier 1,0.33,0.3,1" +awwwarg="--transition-type any --transition-duration 0.85 --transition-fps 160 --transition-bezier 1,0.33,0.3,1" # colors RED='\033[0;31m' @@ -14,7 +14,7 @@ NC='\033[0m' DELAY=1800 while true; do - (while ! swww query; do swww-daemon; done) & + (while ! awww query; do awww-daemon; done) & wallpappath=$(find "$WALLPAPERS" | shuf -n 1) if ! [ $current_bg ]; then echo -e "${RED}current.bg not set, setting it to $wallpappath${NC}" @@ -26,7 +26,7 @@ while true; do # wallust run --skip-sequences $(cat $XDG_CACHE_HOME/current.bg) # wallust run --backend kmeans --skip-sequences $(cat $XDG_CACHE_HOME/current.bg) & # using cache now - swww img $current_bg $swwwarg + awww img $current_bg $awwwarg wallust run --backend full --skip-sequences $(cat $XDG_CACHE_HOME/current.bg) # (sleep 0.1; pgrep -f wallust && wallust run --backend kmeans --skip-sequences $(cat $XDG_CACHE_HOME/current.bg)) & @@ -50,13 +50,17 @@ while true; do echo $wallpappath > $XDG_CACHE_HOME/current.bg # update hyprlock killall -SIGUSR2 hyprlock + + pywalfox update + + fcitx5-remote -r nice -n 20 wallust run --backend full --skip-templates --skip-sequences $wallpappath - if swww query; then + if awww query; then sleep $DELAY else - echo -e "${RED}swww not running, skipping sleep - END${NC}" - swww-daemon & + echo -e "${RED}awww not running, skipping sleep - END${NC}" + awww-daemon & fi done |
