Polybar: Add layout indicator

This commit is contained in:
Salt 2020-06-23 03:54:40 -05:00
parent a0372e616c
commit 5afa97a6e7

View File

@ -65,7 +65,7 @@ bottom = false
inherit = template/bar inherit = template/bar
border-bottom-size = ${res/config.border-size} border-bottom-size = ${res/config.border-size}
tray-position = right tray-position = right
modules-left = i3 bspwm modules-left = i3 bspwm | xkeyboard
modules-center = xwindow modules-center = xwindow
modules-right = fshome | wlan-laptop wlan-desktop modules-right = fshome | wlan-laptop wlan-desktop
@ -274,6 +274,11 @@ format-disconnected-prefix-foreground = ${res/colors.green}
label-connected = %essid% label-connected = %essid%
label-disconnected = Disconnected label-disconnected = Disconnected
[module/xkeyboard]
type = internal/xkeyboard
format = <label-layout>
label-layout = %name%
[module/xwindow] [module/xwindow]
type = internal/xwindow type = internal/xwindow
label = %title% label = %title%