12 lines
337 B
Bash
12 lines
337 B
Bash
#!/usr/bin/env bash
|
|
WALLS=("${HOME}/Wallpapers"/*)
|
|
NUM_WALLS=${#WALLS[@]}
|
|
|
|
# Get workspace IDs
|
|
WS_IDS=($(hyprctl workspaces -j | jq -r '.[].id'))
|
|
|
|
for i in "${!WS_IDS[@]}"; do
|
|
WALL="${WALLS[$((i % NUM_WALLS))]}"
|
|
swww img "$WALL" --workspace "${WS_IDS[$i]}" --transition-type fade slide blend zoom wipe cube fade-zoom slide-zoom
|
|
done
|