From 36373b81206e5b1420b3399d9774167caae2d6af Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 30 Nov 2021 22:51:05 +0530 Subject: completed theming for left modules in polybar --- .config/polybar/config | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index fe1cb96..9adf361 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -54,6 +54,12 @@ ethernet-fg = #232627 wifi-bg = ${colors.ethernet-bg} wifi-fg = #ffffff +fs-root-bg = ${colors.module-color-0} +fs-root-fg = #232627 + +fs-home-bg = ${colors.module-color-1} +fs-home-fg = #232627 + cpu-bg = ${colors.module-color-0} cpu-fg = ${colors.temp-fg} @@ -100,7 +106,7 @@ 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 cpu temp-arrow temperature cpu-arrow memory mem-arrow pulseaudio vol-arrow filesystem-root filesystem-home +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 tray-position = right @@ -191,6 +197,15 @@ interval = 25 mount-0 = / label-mounted = " %mountpoint% %percentage_used%%" +label-mounted-background = ${colors.fs-root-bg} +label-mounted-foreground = ${colors.fs-root-fg} + +[module/fs-root-arrow] +type = custom/text +content = "" +;content = "" +content-foreground = ${colors.fs-root-bg} +content-background = ${colors.fs-home-bg} [module/filesystem-home] type = internal/fs @@ -198,7 +213,16 @@ interval = 25 mount-0 = /home -label-mounted = " %mountpoint% %percentage_used%%" +label-mounted = "%mountpoint% %percentage_used%%" +label-mounted-background = ${colors.fs-home-bg} +label-mounted-foreground = ${colors.fs-home-fg} + +[module/fs-home-arrow] +type = custom/text +;content = "" +content = "" +content-foreground = ${colors.fs-home-bg} +content-background = ${colors.cpu-bg} [module/mpd] type = internal/mpd @@ -280,7 +304,7 @@ type = custom/text ;content = "" content = "" content-foreground = ${colors.wifi-bg} -content-background = ${colors.cpu-bg} +content-background = ${colors.fs-root-bg} [module/eth] type = internal/network @@ -390,10 +414,10 @@ label-foreground = ${colors.temp-fg} [module/temp-arrow] type = custom/text -;content = "" -content = "" -content-foreground = ${colors.temp-bg} -content-background = ${colors.cpu-bg} +content = "" +;content = "" +content-foreground = ${colors.cpu-bg} +content-background = ${colors.temp-bg} [settings] screenchange-reload = true -- cgit v1.2.3