-
-
Notifications
You must be signed in to change notification settings - Fork 717
Closed
Labels
Description
Given that %variant%
is implemented now in internal/xkeyboard
- it would be nice to be able to configure layout-icon-N
, not only on layout-str but also on variant-str.
Usecase:
setxkbmap -rules evdev -model evdev -layout us,us -variant altgr-intl,colemak_dh
2 x us
layout - how would one configure the icon?
https://github.com/polybar/polybar/wiki/Module:-xkeyboard mentions that icons for layouts
are "found" by str-search, how about extending to variant
search: (see last line)
Configuration idea:
; 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
layout-icon-2 = us;colemak;U2 <------ new
polkacode