diff --git a/.config/polybar/bar.ini b/.config/polybar/bar.ini index bd1d7ca..29669aa 100644 --- a/.config/polybar/bar.ini +++ b/.config/polybar/bar.ini @@ -10,7 +10,7 @@ include-file = ~/.config/polybar/modules.ini background = #263238 background-alt = #444 -foreground = #DFDFDF +foreground = #FFFFFF foreground-alt = #555 primary = #F5A70A secondary = #e60053 @@ -23,6 +23,7 @@ bd = #e53935 [bar/top] monitor = ${env:MONITOR:} +bottom = false offset-x = 0 offset-y = 0 @@ -31,14 +32,14 @@ radius-bottom = 0.0 border-bottom-size = 3 border-color = ${colors.primary} -padding = 1 +padding-right = 2 module-margin-left = 1 module-margin-right = 2 separator = dim-value = 1.0 locale = es_ES.UTF-8 -tray-position = none +tray-position = right tray-detached = false tray-maxsize = 32 tray-background = ${root.background} @@ -49,8 +50,9 @@ tray-scale = 1.0 width = 100% enable-ipc = true -dpi = 96 -height = 36 +dpi-x = 96 +dpi-y = 96 +height = 40 fixed-center = true background = ${colors.background} @@ -63,9 +65,9 @@ font-2 = "Material Icons:size=16;1" font-3 = NotoSans-Regular:size=18:weight=bold;2 font-4 = NotoSans-Regular:size=18:weight=bold;-7 -modules-left = windows spotify +modules-left = spotify modules-center = date -modules-right = updates cpu_bar memory_bar network_manager vpn wireless wired alsa_bar +modules-right = updates cpu_bar memory_bar vpn wireless wired alsa_bar cursor-click = pointer cursor-scroll = ns-resize diff --git a/.config/polybar/modules.ini b/.config/polybar/modules.ini index 1b9cd0e..5505440 100644 --- a/.config/polybar/modules.ini +++ b/.config/polybar/modules.ini @@ -49,14 +49,6 @@ bar-used-foreground-8 = ${colors.bd} bar-used-empty = "%{A1:$TERMINAL_CMD 'top -o RES' &:}%{T5}_%{T-}%{A-}" bar-used-empty-foreground = ${colors.foreground-alt} - -[module/network_manager] -type = custom/text -content = "" -content-font = 2 -; since I'm in zsh, bash invocation is necessary even if the shebang is set -click-left = /usr/bin/bash ~/.config/polybar/scripts/nmcli_manager - [module/wireless] type = internal/network interface = wlp4s0 @@ -81,11 +73,12 @@ accumulate-stats = true unknown-as-up = true format-connected = -format-connected-prefix = +format-connected-prefix = "" format-disconnected = label-connected = "%{A1:/usr/bin/bash ~/.config/polybar/scripts/nmcli_manager:}%downspeed:8%  %upspeed:8% %{A-}" -label-disconnected = "%{A1:/usr/bin/bash ~/.config/polybar/scripts/nmcli_manager:}Not connected%{A-}" +# keep speed meter for other devices +label-disconnected = "%{A1:/usr/bin/bash ~/.config/polybar/scripts/nmcli_manager:}%downspeed:8%  %upspeed:8% %{A-}" [module/vpn]