diff options
Diffstat (limited to 'wallpaper/pkmWpSelector.sh')
-rwxr-xr-x | wallpaper/pkmWpSelector.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/wallpaper/pkmWpSelector.sh b/wallpaper/pkmWpSelector.sh new file mode 100755 index 0000000..7fea1b9 --- /dev/null +++ b/wallpaper/pkmWpSelector.sh @@ -0,0 +1,11 @@ +#!/bin/bash +hour=$(date +%H) +if [ $hour -gt 4 -a $hour -lt 7 ]; then + feh --bg-scale ~/images/wallpapers/pkmduskbg.png +elif [ $hour -gt 6 -a $hour -lt 15 ]; then + feh --bg-scale ~/images/wallpapers/pkmdaybg.png +elif [ $hour -gt 14 -a $hour -lt 17 ]; then + feh --bg-scale ~/images/wallpapers/pkmduskbg.png +else + feh --bg-scale ~/images/wallpapers/pkmnightbg.jpg +fi |