diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 4f9d13a..4df8bb5 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -41,7 +41,7 @@ offset-y = 0.5% modules-left = i3 sep title modules-center = date dot time -modules-right = cpu dot gpu dot memory dot backlight dot pulseaudio sep filesystem sep battery +modules-right = xkeyboard dot cpu dot gpu dot memory dot backlight dot pulseaudio sep filesystem sep battery background = ${colors.base} foreground = ${colors.text} diff --git a/.config/polybar/modules.ini b/.config/polybar/modules.ini index 7381e44..b862372 100644 --- a/.config/polybar/modules.ini +++ b/.config/polybar/modules.ini @@ -39,6 +39,21 @@ label-urgent-padding = 1 label-empty = %name% label-empty-padding = 1 +[module/xkeyboard] +type = internal/xkeyboard + +format = +format-prefix = 󰌌 +format-prefix-foreground = ${colors.mauve} +format-prefix-padding-right = 1 +format-spacing = 0 + +label-layout = %layout% +label-layout-padding = 0 +label-layout-background = ${colors.base} +label-layout-foreground = ${colors.text} + + [module/title] type = internal/xwindow format =