blob: c754cc0f2f0513a38f9cddd06c7fada6280f616b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"
|