From 5afa97a6e70b7fa4915192a80874ad702436f0bb Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 23 Jun 2020 03:54:40 -0500 Subject: [PATCH] Polybar: Add layout indicator --- .config/polybar/config | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/polybar/config b/.config/polybar/config index 6c049d4d..346546d5 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -65,7 +65,7 @@ bottom = false inherit = template/bar border-bottom-size = ${res/config.border-size} tray-position = right -modules-left = i3 bspwm +modules-left = i3 bspwm | xkeyboard modules-center = xwindow modules-right = fshome | wlan-laptop wlan-desktop @@ -274,6 +274,11 @@ format-disconnected-prefix-foreground = ${res/colors.green} label-connected = %essid% label-disconnected = Disconnected +[module/xkeyboard] +type = internal/xkeyboard +format = +label-layout = %name% + [module/xwindow] type = internal/xwindow label = %title%