Scripts quick access edit this |
- Author: Ewan Mellor <sawfish@ewanmellor.org.uk>, Andrew Rice <andy@andyrice.net>
- Version: 1.1
- License: MIT License
- Download: Active-theming.jl (upload)
- Homepage: http://www.ewanmellor.org.uk/sawfish.html
Synopsis[]
Varies the color of your window frames according to context.
Description[]
Active Theming. This module varies the color of window frames depending upon
- the host from which the window comes,
- whether root is logged on at the window,
- whether the window is focussed,
- the window's title,
- the window's group,
- the window's position,
- the window's stickiness, or
- the workspace on which the window is placed.
This can be used to convey useful information, or simply to make your desktop more colorful.
Colors may either be varied using the RGB or the HSV color models. Any variation method from the list above may vary along any of the axes, so you could change the hue depending upon the host, the saturation if root is logged in, and the value when the window is focussed, for example. Alternatively, you could have windows becoming more red depending upon the workspace and heading towards white when the window is focussed by varying both green and blue axes when the window is focussed.
This module needs support from your current theme. In the Sawfish distribution, the mono and simple themes have this support.
Installation[]
- Install the String2 library.
- Install the Hsv module.
- Save active-theming.jl in your load-path.
- Add the following lines to your ~/.sawfishrc:
(require 'active-theming) (active-theming-initialise)
Configuration[]
This module may be configured using the Sawfish Configurator (sawfish-ui); its options will appear in the Appearance -> Active-Theming group. Make sure you are using a supporting theme too!