Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
January 31
Image Size
3.0 MB
Resolution
1366×768
Link
Thumb
Embed

Stats

Views
759 (2 today)
Favourites
7 (who?)
Comments
14
Downloads
12
×
conky.switch.script by LovelyBacon conky.switch.script by LovelyBacon
completely forgot to share this..

It's a simple script that searches recursively in my conky folder for files named conkyrc*    ..then presents the search result in a numbered menu where you can choose one of the files or press q to quit, like in the screenshot. If a file is chosen then the script  copies it to   ~/.conkyrc        So if conky is running it's very easy to change between the ones in my conky folder.  I also have a similar script for tint2rc's   and one for .Xdefaults.

howto:
First edit the script so it points to your conky or tint2 folder. Then put the script in your script folder, make it executable (chmod +x SCRIPT, or right click the file -> permissions).  Then call the script from a terminal with the command:   sh /path/to/script.sh        (or create an alias for it)

links dopbox:
dl.dropboxusercontent.com/u/56…;

links pastebin:
conkyswitch.sh     pastebin.com/e19j9mCV
tint2switch.sh       pastebin.com/jfab71RF

This script is also usefull anywhere you have more than one config to a file

Thanks to Hai for the guide  wuhrr.wordpress.com/2009/09/10…
Add a Comment:
 
:icondysphorian:
nice to see a bit of scripting going on
Reply
:icondysphorian:
p.s. that doesn't work for my version of bash - you need to escape the wildcard. so for me it should be: 'find /home/config/directory -name conkyrc\* -type f' and the same with '-name tint2rc\*'
Reply
:iconlovelybacon:
thanks. I'm not big on scripting but these ones makes my life so much easier..  :)

strange, works good on bash 4.2 series here.  but I guess using '' is a better practice..
Reply
:iconmydogjake:
Clean and simple - I like it! ;-)

..link to the wallpaper?  Thank you.
Reply
:iconendredolmseth:
EndreDolmseth Feb 3, 2014  Hobbyist Interface Designer
Reply
:iconmydogjake:
Most excellent!

Thank you ;-)
Reply
:iconmetaphor12:
Metaphor12 Jan 31, 2014  Hobbyist Digital Artist
This is really nice :)
Reply
:iconmartiansummer:
martiansummer Jan 31, 2014  Hobbyist Digital Artist
Mind sharing the wallpaper?
Reply
Add a Comment: