# -*- coding: ASCII -*-
#
#
##================================================================================
## This is the configuration file for the adesklets' desklet `Modubar'.
##
## You may specify here, for each Modubar instance you use,
## what icons should be loaded (stored under `icons/' by default,
## but absolute path names are also valid), what commands they should trigger,
## what the captions should be, what font to use, how generating effects,
## etc.
##
## See `config.txt.minimal' in this directory for the configuration
## of the completely static (all effects turned off) version of the
## default bar with some explanations.
##
## There is no real need for a long explanation here, since
## a lot of Modubar/Yab configuration parameters are self explanatory.
## Let us just mention here some specific, less obvious elements:
##
## - colors are expressed as packed RGB hexadecimal on 24 bits
## (1 unsigned byte per channel), as you can use within HTML documents
## for instance: '000000' is pure black, while 'FFFFFF' is pure white.
##
## - similarily, opacities are given as unsigned one byte decimal
## integer value (hence in [0, 255])
##
## - gradient_angle is given in degree, not radians, with 0 degrees being
## vertical from top to bottom and going clockwise from there.
##
## - all parameters expressing times are in seconds. On most systems,
## resulting timing of less than 10 milliseconds are not reliable and
## should be avoided.
##
## - many parameters can be set to None, zero or similar values, resulting
## in a more frugal, less dynamic desklet - see `config.txt.minimal' for
## a more complete exemplification of this.
##
## - the 'click_effect' parameter, if not set to None, is an imlib2
## dynamic filter expression that will get applied to the icon you just
## clicked on for 'click_effect_duration' seconds before being discarded.
## See your imlib2 documentation for details.
##
## - the 'icon_maximize_threshold' specifies at what fraction of maximal
## size the icon under the pointer should be displayed as completly
## maximized (set to 90% by default). It gives a way to define a 'hot zone'
## around the icon center's x coordinate in which the pointer can move
## and the icon stay stuck on its maximum size anyway. Setting this
## to 0 would make an icon being maximized as soon as the pointer
## get over it, and setting it to 1 to never get 'pinned' on maximum
## size as long as the pointer does not reach its very center
## (thus being smoothly resized from the minimal to the maximal size).
##
## - all configuration parameters are handled the 'pythonic way', meaning
## that as few checkups as possible are performed, invalid entries leading
## to runtime exceptions being raised. For instance, building a bar
## longer than its screen width will raise a 'did not resize window' error.
##
## So, whenever you run into trouble configuring a modubar instance, you should:
##
## * Kill all adesklets instances running:
##
## killall -9 adesklets
##
## * Restart the troublemaker from the console using
## (XXX being its ID number):
##
## ADESKLETS_ID=XXX python modubar.py
##
## * Look at the error output to figure things out.
##
## Finally, please note that destroying this config file while no modubar instances
## are running will force its repopulation with valid default
## entries on yap's desklets restart.
##
## === Modules Doc ===
## Modules are configured the same way as icons. To configure two clocks in
## positions one and two, do
## 'modules': [('clock',1)('clock',2)]
## All the colors are configured the same way as the colors for the bar itself.
##
## === Special note on icons ===
##
## Only a few icons are shipped with modubar (five, actually).
## In case you are wondering, they all come from the Lila theme
## resources (
http://lila-theme.uni.cc/). If you go hunting
## for more iconographic artwork,
http://www.kde-look.org/
## is also a good start point.
##================================================================================
#
id0 = {'bar_background_1': 'AAAAAA',
'bar_background_2': None,
'bar_foreground': '000000',
'bar_gradient_angle': 0,
'bar_height': 32,
'bar_opacity_1': 0,
'bar_opacity_2': None,
'caption_above': True,
'caption_color': 'AAAAAA',
'caption_delay': 0.10000000000000001,
'caption_fade_in': True,
'caption_fade_in_duration': 0.5,
'caption_fade_in_steps': 10,
'caption_font': 'Vera',
'caption_size': 16,
'click_effect': 'tint(alpha=100,red=100,green=100,blue=100);',
'click_effect_duration': 0.10000000000000001,
'icon_max_height': 71,
'icon_max_width': 71,
'icon_maximize_threshold': 1.5,
'icon_min_height': 64,
'icon_min_width': 64,
'icon_spacing': 5,
'icons': [('terminal.png',
'Terminal',
'gnome-terminal --working-directory=%f'),
('gnome-fs-directory-docs.png', 'Home', 'nautilus /home/tonio'),
('firefox2.png', 'firefox', 'firefox'),
('amsn.png', 'gaim', 'gaim'),
('muine.png', 'amarok', 'amarok'),
('gnome-multimedia1.png', 'xine', 'xine'),
('ooffice2.png', 'open office 2', 'ooffice2'),
('gnome-dev-disc-dvdrw.png', 'k3b', 'k3b'),
('amule.png', 'amule', 'amule'),
('game.png', 'super nes', 'zsnes')],
'mod_background_1': 'AAAAAA',
'mod_background_2': None,
'mod_clock_font': 'Vera',
'mod_clock_size': 16,
'mod_font_color': '000000',
'mod_font_opacity': 'FF',
'mod_foreground_1': '000000',
'mod_foreground_2': None,
'mod_gradient_angle': 0,
'mod_opacity_1': 100,
'mod_opacity_2': None,
'module_height': 32,
'modules': [('clock', 1)],
'modules_on': True}