Some of my scripts for daily use on a linux desktop

Sunday, January 3, 2010

Photo Album Stack


Hi,

This is my first attempt to use lua bindings in conky (> 1.7.2).
This script is based on londonali's Photo Album Script but it can display than more one image at a time and in a more messy way (if configured to).

In the conkyrc, don't forget the blank line after TEXT
To start with an empty photo album, delete the file created by the script :

rm /tmp/img.png & conky -c ~/scripts/conkyrc-album-stack &

Some improvments made in version 1.1 :
- little images are no more enlarged
- the filename of the image can be written in the frame or/and elsewhere in the conky.
- gray shadow on the bottom right side of each image can be added
(this is optional but has to be improved : the shadow has to be "blur" and shadows don't work for big pictures)
It can be used with the script get_deviation.sh (see this post) or any other script that get a random image from the web.


The scripts can be downloaded from ubuntu forums.

Another screenshot :



En français, soyons fous! Ce script affiche des images de son disque dur sur votre conky dans une façon un peu bordélique. Les dernières modifications sont :
- les petites images ne sont plus agrandies
- le nom de l'image peut être affiché dans le cadre ou n'importe où dans la fenêtre du conky
- une sorte d'ombre peut être ajoutée mais ceci devra être amélioré (il n'y a pas d'effet de flou et ça ne fonctionne pas bien pour les grandes images)
- le script peut être utilisé avec un autre script qui génère des images aléatoires comme get_deviation.sh que j'ai posté il y a quelques jours


Happy conkying!

No comments:

Post a Comment