show keyboard layout

This commit is contained in:
Aaron Bieber 2022-05-01 07:46:47 -06:00
parent 6d1ddbb396
commit 4b8fef2e5a
1 changed files with 15 additions and 1 deletions

View File

@ -31,10 +31,11 @@ font-0 = GoMono:pixelsize=10;0
font-1 = :fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
font-3 = "Noto Sans Symbols2:style=Regular"
font-4 = "FontAwesome:style=Regular"
modules-left = weather
modules-right = tailscale cpu temperature date
modules-right = keyboard tailscale cpu temperature date
tray-position = center
tray-padding = 2
@ -42,6 +43,19 @@ tray-padding = 2
cursor-click = pointer
cursor-scroll = ns-resize
[module/keyboard]
type = internal/xkeyboard
#format-prefix = " "
format = <label-layout> <label-indicator>
format-underline = #000
label-layout = %name%
layout-icon-default = " "
layout-icon-0 = us;colemak
layout-icon-1 = us;workman
[module/tailscale]
type = custom/script
exec = echo TS