From 69087e43c58a8055805243e0972688a37ffdd759 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sat, 5 Aug 2023 00:27:55 +0200 Subject: [PATCH] Update polybar --- .config/polybar/config | 51 +++++++++++++----------------------------- 1 file changed, 15 insertions(+), 36 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index de2aa75..850ec91 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -27,7 +27,7 @@ primary = #0D47A1 secondary = #e60053 alert = #bd2c40 -[bar/example] +[bar/dwm] ;monitor = ${env:MONITOR:HDMI-1} width = 100% height = 27 @@ -58,7 +58,7 @@ font-2 = siji:pixelsize=10;1 modules-left = dwm modules-center = -modules-right = filesystem pulseaudio cpu memory eth temperature date powermenu +modules-right = xkeyboard filesystem pulseaudio cpu memory eth temperature date powermenu tray-position = right tray-padding = 5 @@ -84,19 +84,20 @@ label = %title:0:30:...% [module/xkeyboard] type = internal/xkeyboard -blacklist-0 = num lock +blacklist-0 = +blacklist-1 = -format-prefix = " " +format-prefix = " " format-prefix-foreground = ${colors.foreground-alt} -format-prefix-underline = ${colors.secondary} +format-prefix-underline = ${colors.primary} label-layout = %layout% -label-layout-underline = ${colors.secondary} +label-layout-underline = ${colors.primary} label-indicator-padding = 2 label-indicator-margin = 1 -label-indicator-background = ${colors.secondary} -label-indicator-underline = ${colors.secondary} +label-indicator-background = ${colors.background} +label-indicator-underline = ${colors.primary} [module/filesystem] type = internal/fs @@ -189,32 +190,10 @@ label-empty = %name% label-empty-background = ${colors.background} label-empty-padding = 2 -[module/xbacklight] -type = internal/xbacklight - -format =