wip: dnsc-machine setup

This commit is contained in:
Dennis Schoepf 2025-11-23 18:00:59 +01:00
parent 55c17e72cf
commit 6f26ae8e1d
2 changed files with 9 additions and 3 deletions

View file

@ -11,7 +11,7 @@ if [ $# -lt 1 ] || [ ! -d "$1" ]; then
fi
# See awww-img(1)
RESIZE_TYPE="fit"
RESIZE_TYPE="crop"
export AWWW_TRANSITION_FPS="${AWWW_TRANSITION_FPS:-60}"
export AWWW_TRANSITION_STEP="${AWWW_TRANSITION_STEP:-2}"
@ -22,7 +22,7 @@ while true; do
done \
| sort -n | cut -d':' -f2- \
| while read -r img; do
awww img --resize="$RESIZE_TYPE" "$img"
swww img --resize="$RESIZE_TYPE" "$img"
sleep "${2:-$DEFAULT_INTERVAL}"
done
done