User:Xterminus/Perl Background Rotation/Extensions
These features are disabled by default. You will need to spend time carefully reading through your .wallrc file to ensure that these perform correctly.
- Introduction : What this does
- Installation : Getting the basics handled.
- Using Extensions : Optional feature setup.
- Script Extras : Related Software
- Tips and Tricks : Fun for the whole family!
- Hacking : How to create your own extensions
- Code : Code Walkthrough and some design notes
- FAQ : Frequently Asked Questions
- ScreenShot Gallery : If you use these scripts, show off!
- Resources : A comprehensive wallpaper list.
Image Mangling, cropping, etc
Setting this up should be pretty straightforward if you read through the configuration file. You should be aware however, that this particular feature above all others can push your cpu hard. You WILL want to run this script at nice priority 10 or above in order to limit the effect this script may have on your performance.
Here is an example showing two radically different auto-generated themes which use the "image mangling" function above.
If you'd like to be able to theme conky like you see above...
Everyone has a favorite conky configuration. If you would like to modify your own to act as a template, it's not brain surgery. However, you might want to look at my conky template as a reference.
This perl script will read up template and transform it into a new one. Said in other words. Do not point conky to use the template file, point conky to the output conky file.
The following keywords in the template represent actual color values that have been generated based on the photo color.
The possible keywords are:
- BRIGHTCOLOR - Used for section "titles"
- DIMCOLOR - Used for section "text"
- SHADOWCOLOR - Text Shadows
- SHADECOLOR - Graph outline shadows
- OUTLINECOLOR - Graph outlines and HR bars
- BARSTART - Graph start color
- BAREND - Graph end color
All other text it the configuration file should be left as-is by the script. Once the changes have been made by the script, a SIGUSR1 signal is sent to all running conky processses. This signal tells conky that it's configuration has changed and that it needs to reload. This is fairly painless process, although while conky is reloading it may "stick" or flicker.
Note: If you make other major changes to your conky config, those changes may not take with only a SIGUSR1 signal. I noticed that while colors change just fine on a SIGUSR1, other aspects of conky do not. For example: when adding brand new text or variables, conky does not seem to add them to the output text.
urxvt Blurry Terminals
Blurring the backgrounds of your transparent terminals can improve the readability of text. Take a look at these two (nearly) identical terminals.
In addition to improving the readability, it looks kinda neat. I stumbled across this this effect while playing with the automove-background urxvt perl extension. I loved the look so much I decided to incorporate it into the main script as an option.
To get started, you will need to copy urxvt-theme into either a private bin folder or /usr/lib/urxvt/perl, you will need probably want to modify your .Xdefaults file to make use of this extension too.
These settings seem to work well for me.
urxvt*inheritPixmap: false urxvt*fading: 20 urxvt*fadeColor: black urxvt*tintColor: #EFEFEF urxvt*foreground: #EFEFEF urxvt*background: black urxvt*internalBorder: 0 urxvt*perl-lib: /home/cpm/bin/perl urxvt*perl-ext-common: automove-background,urxvt-theme
the perl-lib is the path to your personal urxvt library. You can ommit this if you copy urxvt-theme into /usr/lib/urxvt/perl.
Alternately, you can execute the urxvt extension with the following urxvt commandline:
urxvt -pe automove-background,urxvt-theme
Please note that this has not been throughly tested with urxvtc and urxvtd.