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-left = i3 sep title
|
||||||
modules-center = date dot time
|
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}
|
background = ${colors.base}
|
||||||
foreground = ${colors.text}
|
foreground = ${colors.text}
|
||||||
|
|
|
@ -39,6 +39,21 @@ label-urgent-padding = 1
|
||||||
label-empty = %name%
|
label-empty = %name%
|
||||||
label-empty-padding = 1
|
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]
|
[module/title]
|
||||||
type = internal/xwindow
|
type = internal/xwindow
|
||||||
format = <label>
|
format = <label>
|
||||||
|
|
|
@ -36,4 +36,4 @@
|
||||||
flamingo = #f0c6c6
|
flamingo = #f0c6c6
|
||||||
rosewater = #f4dbd6
|
rosewater = #f4dbd6
|
||||||
|
|
||||||
transparent = #FF00000
|
transparent = #FF00000
|
||||||
|
|
Loading…
Add table
Reference in a new issue