xkeyboard: Add new features

patrick96 2019-02-24 22:35:44 +01:00
parent 7d0980e881
commit c2b7ab7b62
No known key found for this signature in database
GPG Key ID: 521E5E03AEBCA1A7
1 changed files with 42 additions and 0 deletions

@ -24,6 +24,7 @@ format-spacing = 0
; %layout% ; %layout%
; %name% ; %name%
; %number% ; %number%
; %icon% (unreleased)
; Default: %layout% ; Default: %layout%
label-layout = %name% label-layout = %name%
label-layout-padding = 2 label-layout-padding = 2
@ -36,4 +37,45 @@ label-layout-foreground = #000
label-indicator = %name% label-indicator = %name%
label-indicator-padding = 2 label-indicator-padding = 2
label-indicator-background = #8139e8 label-indicator-background = #8139e8
; ------------------------------------------------
; The following features are currently unreleased:
; layout-icon-[0-9]+ = layout;icon
; Assign each layout an icon that will be available as %icon% token for the
; <label-layout> tag. The part before ';' will try to match %layout% value.
layout-icon-default = some-icon
layout-icon-0 = ch;C
layout-icon-1 = us;U
; indicator-icon-[0-9]+ = indicator;off icon;on icon
; Provides the content of the %icon% token in label-indicator-*
indicator-icon-default =
indicator-icon-0 = caps lock;-CL;+CL
indicator-icon-1 = scroll lock;;+SL
indicator-icon-2 = num lock;-NL;+NL
; Replaces label-indicator
; Available tokens:
; %name%
; %icon%
; Default: %name%
label-indicator-on = +%name%
; Available tokens:
; %name%
; %icon%
; Default: (none)
label-indicator-off = -%name%
; Replaces label-indicator-* if for specific indicators
; Available tokens:
; %name%
; %icon%
label-indicator-on-capslock =
label-indicator-off-capslock =
label-indicator-on-numlock =
label-indicator-off-numlock =
label-indicator-on-scrolllock =
label-indicator-off-scrolllock =
~~~ ~~~