mirror of https://github.com/polybar/polybar.git
Added xkeyboard
parent
ac2096effc
commit
1c6be8d754
|
@ -0,0 +1,36 @@
|
||||||
|
This module shows the current layout and active indicators.
|
||||||
|
|
||||||
|
### Basic settings
|
||||||
|
~~~ ini
|
||||||
|
[module/keyboard]
|
||||||
|
type = internal/xkeyboard
|
||||||
|
|
||||||
|
; List of indicators to ignore
|
||||||
|
blacklist-0 = num lock
|
||||||
|
blacklist-1 = scroll lock
|
||||||
|
~~~
|
||||||
|
|
||||||
|
### Additional formatting
|
||||||
|
~~~ ini
|
||||||
|
; Available tags:
|
||||||
|
; <label-layout> (default)
|
||||||
|
; <label-indicator> (default)
|
||||||
|
format = <label-layout> <label-indicator>
|
||||||
|
format-spacing = 0
|
||||||
|
|
||||||
|
; Available tokens:
|
||||||
|
; %layout%
|
||||||
|
; %name%
|
||||||
|
; Default: %layout%
|
||||||
|
label-layout = %name%
|
||||||
|
label-layout-padding = 2
|
||||||
|
label-layout-background = #bc99ed
|
||||||
|
label-layout-foreground = #000
|
||||||
|
|
||||||
|
; Available tokens:
|
||||||
|
; %name%
|
||||||
|
; Default: %name%
|
||||||
|
label-indicator = %name%
|
||||||
|
label-indicator-padding = 2
|
||||||
|
label-indicator-background = #8139e8
|
||||||
|
~~~
|
Loading…
Reference in New Issue