Project

General

Profile

unexist.dev

subtle

Assorted tidbits and projects

Panel » History » Version 5

« Previous - Version 5/21 (diff) - Next » - Current version
Anonymous, 05/23/2010 11:03 PM


Panel\015\012\015\012subtle comes with two panels, one at the top and one at the bottom of the screen. The location of both panels is fix and cannot be changed, the height is determined by the max. height of the font and can't also be changed directly. Per default only the top panel is used, it's up to the user to enable the bottom panel or disable either one or both.\015\012\015\012Using subtle's panels is no must, foreign panels can also be used as long as they support the WM_STRUT or DOCK window type properties. If this is not the case, subtle can be advised to spare some parts of the screen with the OPTION[:padding] option in the config.\015\012\015\012Both bars can contain different items and will be hidden when empty.\015\012\015\012Following items are available:\015\012\015\012* :views List of views with buttons\015\012* :title Title of the current active window\015\012* :tray Systray icons\015\012* :sublets Catch-all for installed sublets\015\012* :spacer Variable spacer\015\012* :separator Insert separator\015\012\015\012All items but :spacer and :separator can be used once only.\015\012\015\012Example:\015\012
PANEL = {<\015\012  # Content of the top panel<\015\012  :top   => [ :views, :title, :spacer, :tray, :sublets ],<\015\012\015\012  # Content of the bottom panel<\015\012 :bottom => [ ]\015\012}\015\012