Configurable tray padding.

This commit is contained in:
Michael Hofmann
2015-06-09 10:06:45 +02:00
parent dfe2c9c310
commit bad4203755
11 changed files with 60 additions and 12 deletions

View File

@ -413,6 +413,7 @@ state BAR:
'position' -> BAR_POSITION
'output' -> BAR_OUTPUT
'tray_output' -> BAR_TRAY_OUTPUT
'tray_padding' -> BAR_TRAY_PADDING
'font' -> BAR_FONT
'separator_symbol' -> BAR_SEPARATOR_SYMBOL
'binding_mode_indicator' -> BAR_BINDING_MODE_INDICATOR
@ -484,6 +485,16 @@ state BAR_TRAY_OUTPUT:
output = word
-> call cfg_bar_tray_output($output); BAR
state BAR_TRAY_PADDING:
padding_px = number
-> BAR_TRAY_PADDING_PX
state BAR_TRAY_PADDING_PX:
'px'
->
end
-> call cfg_bar_tray_padding(&padding_px); BAR
state BAR_FONT:
font = string
-> call cfg_bar_font($font); BAR