Conky animation with images..
07/09/2010
I was playing arround with conky and wanted to show a animation..
So I took a .gif and used this line to grap all stills from it:
1 |
gifsicle --unoptimize --explode /home/pieter/temp/foo.gif --output /home/pieter/temp/explode/temp.gif |
Then I used this conky config to show it:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
imlib_cache_size 0 template1 /home/pieter/temp/temp.gif. template2 -p 10,20 -s 135x135 TEXT Conky Animation with images ${if_updatenr 01}${image ${template1}005 ${template2}}${endif} ${if_updatenr 02}${image ${template1}010 ${template2}}${endif} ${if_updatenr 03}${image ${template1}015 ${template2}}${endif} ${if_updatenr 04}${image ${template1}020 ${template2}}${endif} ${if_updatenr 05}${image ${template1}025 ${template2}}${endif} ${if_updatenr 06}${image ${template1}030 ${template2}}${endif} ${if_updatenr 07}${image ${template1}035 ${template2}}${endif} ${if_updatenr 08}${image ${template1}040 ${template2}}${endif} ${if_updatenr 09}${image ${template1}045 ${template2}}${endif} ${if_updatenr 10}${image ${template1}050 ${template2}}${endif} ${if_updatenr 11}${image ${template1}055 ${template2}}${endif} ${if_updatenr 12}${image ${template1}060 ${template2}}${endif} ${if_updatenr 13}${image ${template1}065 ${template2}}${endif} ${if_updatenr 14}${image ${template1}070 ${template2}}${endif} ${if_updatenr 15}${image ${template1}075 ${template2}}${endif} ${if_updatenr 16}${image ${template1}080 ${template2}}${endif} ${if_updatenr 17}${image ${template1}085 ${template2}}${endif} ${if_updatenr 18}${image ${template1}090 ${template2}}${endif} ${if_updatenr 19}${image ${template1}095 ${template2}}${endif} ${if_updatenr 20}${image ${template1}100 ${template2}}${endif} ${if_updatenr 21}${image ${template1}105 ${template2}}${endif} ${if_updatenr 22}${image ${template1}110 ${template2}}${endif} ${if_updatenr 23}${image ${template1}115 ${template2}}${endif} ${if_updatenr 24}${image ${template1}120 ${template2}}${endif} ${if_updatenr 25}${image ${template1}125 ${template2}}${endif} ${if_updatenr 26}${image ${template1}130 ${template2}}${endif} ${if_updatenr 27}${image ${template1}135 ${template2}}${endif} ${if_updatenr 28}${image ${template1}140 ${template2}}${endif} ${if_updatenr 29}${image ${template1}145 ${template2}}${endif} ${if_updatenr 30}${image ${template1}150 ${template2}}${endif} ${if_updatenr 31}${image ${template1}155 ${template2}}${endif} ${if_updatenr 32}${image ${template1}160 ${template2}}${endif} ${if_updatenr 33}${image ${template1}165 ${template2}}${endif} ${if_updatenr 34}${image ${template1}170 ${template2}}${endif} ${if_updatenr 35}${image ${template1}175 ${template2}}${endif} ${if_updatenr 36}${image ${template1}180 ${template2}}${endif} ${if_updatenr 37}${image ${template1}185 ${template2}}${endif} ${if_updatenr 38}${image ${template1}190 ${template2}}${endif} ${if_updatenr 39}${image ${template1}195 ${template2}}${endif} ${if_updatenr 40}${image ${template1}200 ${template2}}${endif} ${if_updatenr 41}${image ${template1}205 ${template2}}${endif} ${if_updatenr 42}${image ${template1}210 ${template2}}${endif} ${if_updatenr 43}${image ${template1}215 ${template2}}${endif} ${if_updatenr 44}${image ${template1}220 ${template2}}${endif} ${if_updatenr 45}${image ${template1}225 ${template2}}${endif} ${if_updatenr 46}${image ${template1}230 ${template2}}${endif} ${if_updatenr 47}${image ${template1}235 ${template2}}${endif} ${if_updatenr 48}${image ${template1}239 ${template2}}${endif} ${if_updatenr 49}${image ${template1}239 ${template2}}${endif} ${if_updatenr 50}${image ${template1}239 ${template2}}${endif} |
As you see it isnt that optimized at all (although I used templates vars to make it easy for myself).
You can see it at work in this movie: conky animation with images
Share the post "Conky animation with images.."