Added xkeyboard

Michael Carlberg 2016-11-30 10:14:16 +01:00
parent ac2096effc
commit 1c6be8d754
1 changed files with 36 additions and 0 deletions

36
Module:-xkeyboard.md Normal file

@ -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
~~~