configuration form the arch linux stored

This commit is contained in:
filipriec
2025-09-22 08:27:51 +02:00
commit 3e6d1a0d61
166 changed files with 807076 additions and 0 deletions

21
scripts/wallpaper-time.sh Normal file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
EVENING_THRESH=15
NIGHT_THRESH=18
while true
do
HOUR=$(date +%k)
if [[ $HOUR > $NIGHT_THRESH ]];
then
WALLPAPER=night
elif [[ $HOUR > $EVENING_THRESH ]];
then
WALLPAPER=evening
else
WALLPAPER=day
fi
printf "Setting wallpaper to %s" $WALLPAPER
feh --bg-fill ~/wallpaper/$WALLPAPER.png
sleep 900
done