diff options
Diffstat (limited to '.config/polybar/config')
-rw-r--r-- | .config/polybar/config | 103 |
1 files changed, 59 insertions, 44 deletions
diff --git a/.config/polybar/config b/.config/polybar/config index 3f8c502..fe1cb96 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -17,7 +17,7 @@ ;========================================================== [colors] -background = #171520 +background = #232530 background-alt = #130f23 foreground = #dfdfdf foreground-alt = #555 @@ -42,25 +42,28 @@ ws-empty-fg = #02fc45 ws-empty-bg = ${colors.background} ws-empty-ul = ${colors.background} -time-bg = #9aedfe +module-color-0 = #9b35e8 +module-color-1 = #f516a4 + +time-bg = ${colors.module-color-0} time-fg = #232627 -ethernet-bg = #ff92d0 +ethernet-bg = ${colors.module-color-1} ethernet-fg = #232627 -wifi-bg = #caa9fa -wifi-fg = #232627 - -temp-bg = #f4f99d -temp-fg = #232627 +wifi-bg = ${colors.ethernet-bg} +wifi-fg = #ffffff -cpu-bg = ${colors.temp-bg} +cpu-bg = ${colors.module-color-0} cpu-fg = ${colors.temp-fg} -mem-bg = #5af78e +temp-bg = ${colors.module-color-1} +temp-fg = #232627 + +mem-bg = ${colors.module-color-0} mem-fg = #232627 -vol-bg = #ff6e67 +vol-bg = ${colors.module-color-1} vol-fg = #232627 vol-fg-alt = ${colors.foreground-alt} @@ -97,8 +100,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 = ewmh xwindow -modules-right = vol-arrow pulseaudio mem-arrow memory cpu-arrow cpu temperature wifi-arrow wlan ethernet-arrow eth date-arrow date systray-arrow +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-right = ewmh xwindow tray-position = right tray-padding = 2 @@ -181,17 +184,21 @@ label-indicator-margin = 1 label-indicator-background = ${colors.secondary} label-indicator-underline = ${colors.secondary} -[module/filesystem] +[module/filesystem-root] type = internal/fs interval = 25 mount-0 = / -mount-1 = /home -;mount-2 = /mnt -label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% -label-unmounted = %mountpoint% not mounted -label-unmounted-foreground = ${colors.foreground-alt} +label-mounted = " %mountpoint% %percentage_used%%" + +[module/filesystem-home] +type = internal/fs +interval = 25 + +mount-0 = /home + +label-mounted = " %mountpoint% %percentage_used%%" [module/mpd] type = internal/mpd @@ -220,14 +227,15 @@ bar-empty-foreground = ${colors.foreground-alt} [module/cpu] type = internal/cpu interval = 2 -label = "CPU: %percentage:2%%" +label = " CPU: %percentage:2%%" label-background = ${colors.cpu-bg} label-foreground = ${colors.cpu-fg} [module/cpu-arrow] type = custom/text -content = "" -content-foreground = ${colors.cpu-bg} +;content = "" +content = "" +content-foreground = ${colors.temp-bg} content-background = ${colors.mem-bg} [module/memory] @@ -236,25 +244,27 @@ interval = 2 label-background = ${colors.mem-bg} label-foreground = ${colors.mem-fg} -label = "MEM: %percentage_used%% " +label = " MEM: %percentage_used%%" [module/mem-arrow] type = custom/text -content = "" +;content = "" +content = "" content-foreground = ${colors.mem-bg} content-background = ${colors.vol-bg} [module/wlan] type = internal/network -interface = wlo1 +interface = wlan0 interval = 3.0 format-connected = <ramp-signal> <label-connected> format-connected-background = ${colors.wifi-bg} format-connected-foreground = ${colors.wifi-fg} -label-connected = "%essid% " +label-connected = "%essid% (%local_ip%)" +;label-connected = "%local_ip%" -label-disconnected = "WiFi Disconnected " +label-disconnected = "" label-disconnected-foreground = ${colors.foreground-alt} label-disconnected-background = ${colors.wifi-bg} @@ -267,7 +277,8 @@ ramp-signal-foreground = ${colors.foreground-alt} [module/wifi-arrow] type = custom/text -content = "" +;content = "" +content = "" content-foreground = ${colors.wifi-bg} content-background = ${colors.cpu-bg} @@ -282,7 +293,7 @@ label-connected-foreground = ${colors.ethernet-fg} format-connected-underline = #55aa55 format-connected-prefix = "" format-connected-prefix-foreground = ${colors.foreground-alt} -label-connected = "%local_ip% " +label-connected = " %local_ip%" format-disconnected = ;format-disconnected = <label-disconnected> @@ -290,21 +301,15 @@ format-disconnected = ;label-disconnected = %ifname% disconnected ;label-disconnected-foreground = ${colors.foreground-alt} -[module/ethernet-arrow] -type = custom/text -content = "" -content-foreground = ${colors.ethernet-bg} -content-background = ${colors.wifi-bg} - [module/date] type = internal/date interval = 5 ;date = -;date-alt = " %d-%m-%Y" +;date-alt = "%d-%m-%Y " -time = "%I:%M %p " -time-alt = "%d %B %Y (%A) %H:%M:%S " +time = " %I:%M %p" +time-alt = " %d %B %Y (%A) %H:%M:%S" format-foreground = ${colors.time-fg} format-background = ${colors.time-bg} @@ -313,31 +318,34 @@ label = %time% [module/date-arrow] type = custom/text -content = "" +;content = "" +content = "" ;content-font = 2 content-foreground = ${colors.time-bg} content-background = ${colors.ethernet-bg} [module/systray-arrow] type = custom/text -content = "" +;content = "" +content = "" content-foreground = ${colors.systray-bg} content-background = ${colors.time-bg} [module/pulseaudio] type = internal/pulseaudio format-volume = <label-volume> -label-volume = "VOL %percentage%% " +label-volume = " VOL: %percentage%%" label-volume-background = ${colors.vol-bg} label-volume-foreground = ${colors.vol-fg} -label-muted = "muted " +label-muted = " muted" label-muted-foreground = ${colors.vol-fg-alt} label-muted-background = ${colors.vol-bg} [module/vol-arrow] type = custom/text -content = "" +;content = "" +content = "" content-foreground = ${colors.vol-bg} content-background = ${colors.background} @@ -374,12 +382,19 @@ type = internal/temperature thermal-zone = 0 warn-temperature = 65 -label = " / %temperature-c% " +label = "%temperature-c%" label-warn-foreground = ${colors.secondary} label-background = ${colors.temp-bg} label-foreground = ${colors.temp-fg} +[module/temp-arrow] +type = custom/text +;content = "" +content = "" +content-foreground = ${colors.temp-bg} +content-background = ${colors.cpu-bg} + [settings] screenchange-reload = true ;compositing-background = xor |