From 4f8d520b8fb104cc401bd2c1ff2a35b1662a4eda Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Sun, 2 Apr 2023 02:37:11 -0400 Subject: [PATCH] Update modules --- dot_config/polybar/config.ini.tmpl | 8 ++------ dot_config/polybar/modules.ini | 12 ++++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/dot_config/polybar/config.ini.tmpl b/dot_config/polybar/config.ini.tmpl index 34b66f1..eff7c68 100644 --- a/dot_config/polybar/config.ini.tmpl +++ b/dot_config/polybar/config.ini.tmpl @@ -49,11 +49,7 @@ font-3 = Font Awesome 6 Brands:style=Regular:size=12;3 modules-left = workspaces sep title modules-center = -{{- if eq .chezmoi.hostname "helix"}} -modules-right = keyboard sep pulseaudio-control sep date sep -{{- else }} -modules-right = keyboard sep pulseaudio-control sep date sep powermenu -{{- end}} +modules-right = keyboard sep pulseaudio-control sep date sep tray-position = right tray-detached = false {{- if eq .chezmoi.hostname "helix" }} @@ -124,7 +120,7 @@ font-3 = Font Awesome 6 Brands:style=Regular:size=12;3 modules-left = workspaces sep title modules-center = spotify -modules-right = cpu sep memory sep filesystem +modules-right = network sep cpu sep memory sep filesystem tray-position = none tray-detached = false diff --git a/dot_config/polybar/modules.ini b/dot_config/polybar/modules.ini index 2b01324..ac56938 100644 --- a/dot_config/polybar/modules.ini +++ b/dot_config/polybar/modules.ini @@ -492,7 +492,7 @@ format-unmounted-prefix-foreground = ${color.red} ; %free% ; %used% ; Default: %mountpoint% %percentage_free%% -label-mounted = " %mountpoint% %percentage_used%% Used " +label-mounted = " %used% / %total% " ; Available tokens: ; %mountpoint% @@ -538,7 +538,7 @@ format-prefix-foreground = ${color.blue} ; %gb_swap_free% ; %gb_swap_used% -label = " %mb_used%" +label = " %mb_used% / %gb_total%" ; Only applies if is used ;;ramp-used-0 = ${memory.used0} @@ -562,7 +562,7 @@ interface = wlp4s0 ; Normal Module [module/network] type = internal/network -interface = wlp4s0 +interface = wlan0 ; Seconds to sleep between updates ; Default: 1 @@ -582,12 +582,12 @@ interval = 1.0 ; Accumulate values from all interfaces ; when querying for up/downspeed rate ; Default: false -accumulate-stats = true +accumulate-stats = false ; Consider an `UNKNOWN` interface state as up. ; Some devices have an unknown state, even when they're running ; Default: false -unknown-as-up = true +unknown-as-up = false ; Available tags: ; (default) @@ -616,7 +616,7 @@ format-disconnected-prefix-foreground = ${color.dark-yellow} ; %downspeed% [wireless+wired] ; %linkspeed% [wired] ; Default: %ifname% %local_ip% -label-connected = " %essid% %downspeed:10%" +label-connected = " %signal%%  %upspeed%  %downspeed%" label-connected-foreground = ${color.magenta} ; Available tokens: ; %ifname% [wireless+wired]