summaryrefslogtreecommitdiff
path: root/.config/polybar/xkeyboard.ini
blob: ce284d75d5d2d85835ebfe2af6703632817ca167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[module/xkeyboard]
type = internal/xkeyboard

# List of indicators to ignore
blacklist-0 = scroll lock
# blacklist-1 = num lock

# Available tags:
#   <label-layout> (default)
#   <label-indicator> (default)
format-prefix = " "
format = <label-layout> <label-indicator>
format-spacing = 0
# format-prefix-foreground = ${colors.foreground-alt}
# format-prefix-underline = ${colors.cyan}
format-underline = ${colors.red}

# Available tokens:
#   %layout%
#   %name%
#   %number%
#   %icon%
#   %variant% (unreleased)
# Default: %layout%
label-layout = %icon%
label-layout-padding = 0
# label-layout-background = #bc99ed
# label-layout-foreground = #000
# label-layout-underline = ${colors.cyan}

# 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-0 = latam;ES
layout-icon-1 = us;EN
layout-icon-default = X

# indicator-icon-[0-9]+ = indicator;off icon;on icon
# Provides the content of the %icon% token in label-indicator-*
indicator-icon-0 = caps lock;;
indicator-icon-1 = num lock;;
# indicator-icon-2 = scroll lock;-SL;+SL
indicator-icon-default = D

# Available tokens:
#   %name%
# Default: %name%
# @deprecated, use label-indicator-on
# label-indicator = %name%

# Replaces label-indicator
# Available tokens:
#   %name%
#   %icon%
# Default: %name%
label-indicator-on = %icon%

# Available tokens:
#   %name%
#   %icon%
# Default: (none)
label-indicator-off = %icon%

# Replaces label-indicator-* if for specific indicators
# Available tokens:
#   %name%
#   %icon%
# label-indicator-on-capslock = C
# label-indicator-off-capslock = C
# label-indicator-on-numlock = N
# label-indicator-off-numlock = N
# label-indicator-on-scrolllock = S
# label-indicator-off-scrolllock = S

# label-indicator-padding = 1
# label-indicator-margin = 1
# label-indicator-background = ${colors.cyan}
# label-indicator-underline = ${colors.cyan}