polybar keyboard indicator
This commit is contained in:
parent
c34bce1a44
commit
368c357e69
3 changed files with 17 additions and 2 deletions
|
@ -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}
|
||||
|
|
|
@ -39,6 +39,21 @@ label-urgent-padding = 1
|
|||
label-empty = %name%
|
||||
label-empty-padding = 1
|
||||
|
||||
[module/xkeyboard]
|
||||
type = internal/xkeyboard
|
||||
|
||||
format = <label-layout>
|
||||
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 = <label>
|
||||
|
|
Loading…
Add table
Reference in a new issue