agsdotfilesdotshyprlandhyprland-configricerofirofi-configshell-scriptsswwwwallustwaybarwaybar-modulewaybar-themes
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
402 B
12 lines
402 B
#!/bin/bash |
|
|
|
DIR=$HOME/Pictures/wallpapers/ |
|
PICS=($(find ${DIR} -type f \( -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -o -name "*.gif" \))) |
|
RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]} ]} |
|
|
|
swww query || swww init |
|
swww img ${RANDOMPICS} --transition-fps 30 --transition-type any --transition-duration 3 |
|
|
|
exec $HOME/.config/hypr/scripts/PywalSwww.sh & |
|
sleep 1 |
|
exec $HOME/.config/hypr/scripts/Refresh.sh |