You're welcome, Ian.

About the error on first time run: you're right, it was my fault. Only a line 
of code in the wrong place.
Here it goes the fixed version of the script. Note that it's no problem to 
"touch" the cache file if it already exists.

Regards,

Delta


On Tue, 30 Dec 2008 10:08:14
"Ian Daniher" <it.dani...@gmail.com> wrote:

> Thanks!
> This tool is almost exactly what I've been looking for - a low-overhead
> clipboard manager that could be used with non-gtk software.
> One edit which I made to the code is I added an
> 
> if [ -a $HOME/.dclip_cache ]
> then
>     touch $HOME/.dclip_cache
> fi
> 
> to the beginning of the script, allowing for me to wantonly remove the
> .dclip_cache file to clear my clipboard.
> Upon running the script the first time, I got an error complaining of the
> cache file not existing. That edit would fix that error.
> 
> Best,

Attachment: dclip
Description: Binary data

Reply via email to