Wallpaper clock

This commit is contained in:
Breizh 2023-04-14 18:17:25 +02:00
parent 9a54e9ffb2
commit 603a0536c9
3 changed files with 6 additions and 5 deletions

View file

@ -96,8 +96,8 @@ ${color2}${font2}Sylvexplorer $hr$font$color${voffset 2}
${texeci 3600 /home/breizh/.config/conky/sylv.sh}
${color2}${font2}MPD $hr$font$color${voffset 2}
$alignc${scroll wait 48 1 5 ${mpd_smart}}
$alignc${if_match "$mpd_album"!=""}${scroll wait 48 1 5 ${mpd_album}}$endif
$alignc${scroll wait 43 1 2 ${mpd_smart}}
$alignc${if_match "$mpd_album"!=""}${scroll wait 48 1 2 ${mpd_album}}$endif
$alignr$mpd_elapsed / $mpd_length ${goto 140}${if_match "${mpd_status}"=="Playing"}${color 99CC99}$endif${if_match "${mpd_status}"=="Paused"}${color FFCC66}$endif${if_match "${mpd_status}"=="Stopped"}${color F2777A}$endif$mpd_bar$color
Piste: $mpd_track${goto 140}Date : $mpd_date

View file

@ -374,7 +374,7 @@ exec --no-startup-id steam-native -silent -noverifyfiles -language french
#exec --no-startup-id SVPManager
#exec --no-startup-id hp-systray -x
exec --no-startup-id sleep 5 && play "$HOME/Musique/WELCOME BACK.wav"
exec --no-startup-id variety
#exec --no-startup-id variety
exec --no-startup-id sleep 5m && qbittorrent
# Start i3bar to display a workspace bar (plus the system information i3status if available)

View file

@ -5,13 +5,14 @@ then
feh --no-fehbg --bg-center /tmp/output.png
fi
cd ~/Images/clocks/Traveler/
cd ~/Images/clocks/Current/
date="date -d now+1minute"
month=$($date +%-m)
day=$($date +%-d)
weekday=$($date +%-u)
hour=$(( ($($date +%-H)%12)*5 + $($date +%-M)/12))
minute=$($date +%-M)
convert "bg.jpg" "month${month}.png" -composite "day${day}.png" -composite "hour${hour}.png" -composite "minute${minute}.png" -composite "/tmp/output.png"
convert "bg.jpg" "month${month}.png" -composite "day${day}.png" -composite "weekday${weekday}.png" -composite "hour${hour}.png" -composite "minute${minute}.png" -composite "/tmp/output.png"