12 lines
722 B
Bash
Executable File

#!/bin/bash
cd $HOME/Pictures/GWallpapers/
#swww img -o DP-1 --transition-type random --transition-step 30 $(find $wallpaperDir -name '*' | awk '!/.git/' | tail -n +2 | shuf -n 1)
swww img -o DP-1 --transition-type random --transition-step 16 --transition-fps 255 $(find $wallpaperDir -name '*' | awk '!/.git/' | tail -n +2 | shuf -n 1)
swww img -o HDMI-A-1 --transition-type random --transition-step 16 --transition-fps 255 $(find $wallpaperDir -name '*' | awk '!/.git/' | tail -n +2 | shuf -n 1)
#/usr/bin/swww img -o DP-1 --transition-type random --transition-step 16 --transition-fps 255 "$WALLPAPER"
#/usr/bin/swww img -o HDMI-A-1 --transition-type random --transition-step 16 --transition-fps 255 "$WALLPAPER2"