From 3ebaf41978402c7bc4378e9b6e27e1d64e61522d Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 30 Nov 2021 23:35:27 +0530 Subject: themed ewmh module --- .config/polybar/config | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 9adf361..659f5ef 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -30,20 +30,21 @@ alert = #bd2c40 ;systray-bg = #ff79c6 systray-bg = #282a36 +module-color-0 = #9b35e8 +module-color-1 = #f516a4 + ws-active-fg = #ffffff -ws-active-bg = #d33682 +ws-active-bg = ${colors.module-color-1} ws-active-ul = #d33682 -ws-occupied-fg = #268bd2 -ws-occupied-bg = #130f23 +ws-occupied-fg = #FFFFFF +ws-occupied-bg = ${colors.module-color-0} ws-occupied-ul = #130f23 -ws-empty-fg = #02fc45 +ws-empty-fg = #0fe9b0 ws-empty-bg = ${colors.background} ws-empty-ul = ${colors.background} -module-color-0 = #9b35e8 -module-color-1 = #f516a4 time-bg = ${colors.module-color-0} time-fg = #232627 @@ -106,8 +107,8 @@ font-3 = fixed:pixelsize=10;1 font-4 = unifont:fontformat=truetype:size=8:antialias=false;0 font-5 = siji:pixelsize=10;1 -modules-left = systray-arrow date date-arrow wlan eth wifi-arrow filesystem-root fs-root-arrow filesystem-home fs-home-arrow cpu temp-arrow temperature cpu-arrow memory mem-arrow pulseaudio vol-arrow -modules-right = ewmh xwindow +modules-left = systray-arrow date date-arrow wlan eth wifi-arrow filesystem-root fs-root-arrow filesystem-home fs-home-arrow cpu temp-arrow temperature cpu-arrow memory mem-arrow pulseaudio vol-arrow xwindow +modules-right = ewmh tray-position = right tray-padding = 2 @@ -443,6 +444,7 @@ format = label-monitor = %name% +;label-active = "%{F#f516a4}%{B#232327}%{F#FFFFFF}%{B#f516a4} %name% %{B#f516a4}%{F#232327}%{B-}%{F-}" label-active = %name% label-active-foreground = ${colors.ws-active-fg} label-active-background = ${colors.ws-active-bg} @@ -461,11 +463,13 @@ label-empty-background = ${colors.ws-empty-bg} label-empty-underline = ${colors.ws-empty-ul} label-empty-padding = 2 +label-background = #FFFFFF + label-urgent = %name% label-urgent-foreground = #000000 label-urgent-background = #bd2c40 label-urgent-underline = #9b0a20 -label-urgent-padding = 4 +label-urgent-padding = 0 [module/bspwm] type = internal/bspwm -- cgit v1.2.3