Script to get yourself some conkyrc files
Continuing from where we left, here is a script that can do all this for you 🙂
curl http://ubuntuforums.org/showthread.php?t=281865\&page=$i | sed -n '/\\/pr/ p'| sed '// d'| sed 's##\n-----------------------------------\n\n\n#' >conkyrc dos2unix conkyrc cp conkyrc .test while [ $(wc -l .test|sed 's/[^0-9]//g') != 0 ] do sed -n '1,/------------------------/ p' .test|sed '$d' >conkyrc.$count diff .test conkyrc.$count |sed 's/^<.//'|sed '1, /---------------------/ d;2d'>.test ((count++)) done
This will create couple of conkyrc.files in the current directory. Each of these is one from the web-page that I mentioned earlier. So, enjoy….
Related articles
- Get yourself some conkyrc files. (amit-agarwal.co.in)
- HTC-Like Clock / Weather Conky Configuration (putokaz.wordpress.com)
- Basic Scripting Exercise (codingexplorer.wordpress.com)
Related Articles:
- 2011/10/05 Get yourself some conkyrc files.
- 2011/09/04 debug call function() to debug a function in vim
- 2011/08/03 Installing Full Blin g theme on N900
- 2011/06/18 Installing Bling Theme on N900
- 2010/09/14 Handy one-liners for SED
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.