# # == Screen # # Generally subtle comes with two panels per screen, one on the top and one at # the bottom. Each panel can be configured with different panel items and # sublets screen wise. The default config uses top panel on the first screen # only, it's up to the user to enable the bottom panel or disable either one # or both. # === Properties # # [*stipple*] This property adds a stipple pattern to both screen panels. # # Example: stipple "~/stipple.xbm" # stipple Subtlext::Icon.new("~/stipple.xbm") # # [*top*] This property adds a top panel to the screen. # # Example: top [ :views, :title ] # # [*bottom*] This property adds a bottom panel to the screen. # # Example: bottom [ :views, :title ] # # Following items are available for the panels: # # [*:views*] List of views with buttons # [*:title*] Title of the current active window # [*:tray*] Systray icons (Can be used only once) # [*:keychain*] Display current chain (Can be used only once) # [*:sublets*] Catch-all for installed sublets # [*:sublet*] Name of a sublet for direct placement # [*:spacer*] Variable spacer (free width / count of spacers) # [*:center*] Enclose items with :center to center them on the panel # [*:separator*] Insert separator # # Empty panels are hidden. # # === Links # # http://subforge.org/projects/subtle/wiki/Multihead # http://subforge.org/projects/subtle/wiki/Panel # screen 1 do top [ :views, :spacer, :title ] bottom [ :mpd, :spacer, :wifi, :ipaddr, :battery, :spacer, :fuzzytime, :tray ] end # Example for a second screen: #screen 2 do # top [ :views, :title, :spacer ] # bottom [ ] #end