Configurable tray padding.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user