diff options
| author | silly <u65487754@gmail.com> | 2026-03-08 04:16:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-08 04:16:08 +0100 |
| commit | bbbd0a3c72187c44ee862cd77b7de29437456d14 (patch) | |
| tree | 6acddbe0dfbaea29aeeb117ba54cff076d5fda7a | |
| parent | 7b7b5c943ed42167f9e4d5a437c1fd65cf853169 (diff) | |
Update wallpaper.sh
| -rw-r--r-- | .config/scripts/wallpaper.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.config/scripts/wallpaper.sh b/.config/scripts/wallpaper.sh index 8b13789..c754cc0 100644 --- a/.config/scripts/wallpaper.sh +++ b/.config/scripts/wallpaper.sh @@ -1 +1,19 @@ +#!/bin/bash +WALL_DIR="$HOME/.config/wallpaper" + +selected=$(ls "$WALL_DIR" | fuzzel -d -p "> ") +[[ -z "$selected" ]] && exit +FULL_PATH="$WALL_DIR/$selected" + +swww img "$FULL_PATH" --transition-type grow --transition-duration 1.5 --transition-fps 120 + +wal -i "$FULL_PATH" -n -q + +kill -SIGUSR1 $(pgrep kitty) + +killall dunst +dunst & + +sleep 0.1 +notify-send "theme" "updated from $selected" |
