Project

General

Profile

unexist.dev

subtle

Assorted tidbits and projects

Panel » History » Version 3

Version 2 (Anonymous, 10/31/2009 12:14 AM) → Version 3/21 (Anonymous, 05/23/2010 10:52 PM)

h1. Panel\015\012\015\012[[subtle]] comes with two panels, one at Panel\015\012\015\012The [[panel]] is the top and one at the bottom statusbar of [[subtle]] that can display various stuff like the screen. The location current [[view]] or the title of both panels is fix and cannot be changed, the height is determined by focus window. Generally the max. height [[panel]] consists of two bars, the font and can't also be changed directly. Per default only first is at the top panel is used, it's up to and the user to enable second at the bottom panel or disable either one or both.\015\012\015\012Using [[subtle]]'s panels is no must, foreign panels can also of the screen, on xinerama setups these bars will only be used as long as they support visible on the @WM_STRUT@ or @DOCK@ window type properties. If this is not the case, [[subtle]] can be advised to spare some parts *first* screen. \015\012\015\012The content of the screen with the *OPTION[&#58;padding]* option *&#58;top* and *&#58;bottom* field in the config.\015\012\015\012Both bars can contain different items and [[Config#Panel|PANEL]] part of the [[config]] determines what will be hidden when empty.\015\012\015\012Following displayed on this specific bar, if no items are available:\015\012\015\012* &#58;views List of views with buttons\015\012* &#58;title Title of given the current active window\015\012* &#58;tray Systray icons\015\012* &#58;sublets Catch-all for installed sublets\015\012* &#58;spacer Variable spacer\015\012* &#58;separator Insert separator\015\012\015\012All items but &#58;spacer and &#58;separator can bar will be used once only.\015\012\015\012Example:\015\012<pre><code class="ruby">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</code></pre> hidden completely.\015\012