mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-07-04 05:19:26 +00:00
[polybar] Update tags to polybar 3.6.0
This commit is contained in:
@ -20,14 +20,14 @@ label-song-ellipsis = true
|
||||
[module/cpu_bar]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/cpu_usage.py
|
||||
format-prefix = "%{A1:$TERMINAL_CMD 'top -o %CPU' &:}CPU %{A-}"
|
||||
format-prefix = "%{A1:$TERMINAL_CMD 'top -o %CPU' &:}CPU %{A}"
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
interval = 5
|
||||
|
||||
[module/memory_bar]
|
||||
type = internal/memory
|
||||
format = <bar-used>
|
||||
format-prefix = "%{A1:$TERMINAL_CMD 'top -o RES' &:} %{A-}"
|
||||
format-prefix = "%{A1} %{A}"
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
|
||||
bar-used-width = 10
|
||||
@ -35,7 +35,7 @@ bar-used-gradient = false
|
||||
bar-used-indicator =
|
||||
bar-used-indicator-foreground = ${colors.foreground}
|
||||
bar-used-indicator-font = 0
|
||||
bar-used-fill = "%{A1:$TERMINAL_CMD 'top -o RES' &:}%{T5}_%{T-}%{A-}"
|
||||
bar-used-fill = "%{A1}%{T5}_%{T-}%{A}"
|
||||
bar-used-foreground-0 = ${colors.bn}
|
||||
bar-used-foreground-1 = ${colors.bn}
|
||||
bar-used-foreground-2 = ${colors.bn}
|
||||
@ -45,7 +45,7 @@ bar-used-foreground-5 = ${colors.bm}
|
||||
bar-used-foreground-6 = ${colors.bd}
|
||||
bar-used-foreground-7 = ${colors.bd}
|
||||
bar-used-foreground-8 = ${colors.bd}
|
||||
bar-used-empty = "%{A1:$TERMINAL_CMD 'top -o RES' &:}%{T5}_%{T-}%{A-}"
|
||||
bar-used-empty = "%{A1}%{T5}_%{T-}%{A}"
|
||||
bar-used-empty-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/wireless]
|
||||
@ -54,7 +54,7 @@ interface = wlp4s0
|
||||
interval = 3.0
|
||||
|
||||
format-connected = <ramp-signal> <label-connected>
|
||||
label-connected = "%{A1:/usr/bin/bash ~/.config/polybar/scripts/nmcli_manager:}%essid%%{A-}"
|
||||
label-connected = "%{A1:/usr/bin/bash ~/.config/polybar/scripts/nmcli_manager:}%essid%%{A}"
|
||||
format-disconnected =
|
||||
|
||||
ramp-signal-0 =
|
||||
@ -75,9 +75,9 @@ format-connected = <label-connected>
|
||||
format-connected-prefix = ""
|
||||
format-disconnected = <label-disconnected>
|
||||
|
||||
label-connected = "%{A1:/usr/bin/bash ~/.config/polybar/scripts/nmcli_manager:}%downspeed:8% %upspeed:8% %{A-}"
|
||||
label-connected = "%{A1:/usr/bin/bash ~/.config/polybar/scripts/nmcli_manager:}%downspeed:8% %upspeed:8% %{A}"
|
||||
# keep speed meter for other devices
|
||||
label-disconnected = "%{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:}%downspeed:8% %upspeed:8% %{A}"
|
||||
|
||||
[module/network_usage]
|
||||
type = custom/script
|
||||
@ -127,7 +127,7 @@ click-left = gnome-calendar
|
||||
type = internal/alsa
|
||||
|
||||
format-volume = <label-volume> <bar-volume>
|
||||
label-volume = "%{A3:$TERMINAL_CMD 'pulsemixer' &:}%{A-}"
|
||||
label-volume = "%{A3:$TERMINAL_CMD 'pulsemixer' &:}%{A}"
|
||||
label-volume-foreground = ${root.foreground}
|
||||
|
||||
format-muted-prefix = ""
|
||||
@ -147,8 +147,8 @@ bar-volume-foreground-7 = ${colors.bm}
|
||||
|
||||
bar-volume-gradient = false
|
||||
bar-volume-indicator =
|
||||
bar-volume-fill = "%{A3:$TERMINAL_CMD 'pulsemixer' &:}%{T5}_%{T-}%{A-}"
|
||||
bar-volume-empty = "%{A3:$TERMINAL_CMD 'pulsemixer' &:}%{T5}_%{T-}%{A-}"
|
||||
bar-volume-fill = "%{A3:$TERMINAL_CMD 'pulsemixer' &:}%{T5}_%{T-}%{A}"
|
||||
bar-volume-empty = "%{A3:$TERMINAL_CMD 'pulsemixer' &:}%{T5}_%{T-}%{A}"
|
||||
bar-volume-empty-foreground = ${colors.foreground-alt}
|
||||
|
||||
click-right = $TERMINAL_CMD 'pulsemixer'
|
||||
|
Reference in New Issue
Block a user