Dotfiles de mon PC
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
379 B

  1. #!/bin/bash
  2. feh --no-fehbg --bg-fill /tmp/output.png
  3. cd ~/Images/clocks/Traveler/
  4. date="date -d now+1minute"
  5. month=$($date +%-m)
  6. day=$($date +%-d)
  7. hour=$(( ($($date +%-H)%12)*5 + $($date +%-M)/12))
  8. minute=$($date +%-M)
  9. convert "bg.jpg" "month${month}.png" -composite "day${day}.png" -composite "hour${hour}.png" -composite "minute${minute}.png" -composite "/tmp/output.png"