On Wednesday 28 October 2009 08:06:37 am Teruel de Campo MD wrote:
On Wed, 2009-10-28 at 01:37 -0500, David C. Rankin wrote:
Here is a fun little script that actually serves a purpose.
Thxs David I'm using it.
-=terry=-
HeHeHey... Terry, I had a few minutes tonight so I made the little script a bit more flexible and able to handle as many icon names as you would like to compare. If you want a different size icon instead of the default 48, you now must proceed the size with either a -s or --size. It doesn't matter what order the files or the '-s size' specification are in on the command line. The loop that parses the cli array takes care of that. Basically, you can now do this: 03:15 alchemy:~> showicon krita -s 64 kolotpaint kview ${NARRAY[0]}: krita ${NARRAY[1]}: kolotpaint ${NARRAY[2]}: kview $ISIZE: 64 The search for 'krita.png' (64x64) found: 10 icons The following icons matched your search criteria: [1] /home/david/arch/dt/icons/oxygen/64x64/apps/krita.png [2] /home/david/arch/dt/icons/oxygen/64x64/mimetypes/application-x-krita.png [3] /home/david/arch/dt/kde/icons/KDEmod-Icons-Tango/64x64/apps/krita.png [4] /opt/kde3/share/icons/hicolor/64x64/apps/krita.png [5] /usr/share/icons/hicolor/64x64/apps/krita.png [6] /usr/share/icons/nuvola/64x64/apps/krita.png [7] /usr/share/icons/oxygen/64x64/apps/krita.png [8] /usr/share/icons/oxygen/64x64/mimetypes/application-x-krita.png [9] /usr/share/icons/Tango/64x64/apps/krita.png [10] /usr/share/icons/nuvola/64x64/apps/kview.png And you get back the list above and the feh graphical index containing all krita, kolorpaint and kview icons that are 64 pixels. I like it :p Of course doing the following would have had the same result: 03:15 alchemy:~> showicon -s 64 krita kolotpaint kview or 03:15 alchemy:~> showicon krita kolotpaint kview -s 64 The updated script is here: http://www.3111skyline.com/download/linux/scripts/utils/showicon And just remember -- the cooler the window decorations are, the better the icon indexes will look :) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org