[polybar] Restore command in memory module

This commit is contained in:
Daniel Carrillo 2022-03-05 19:33:45 +01:00
parent 1922117cc5
commit 0fe15ee9fe
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
1 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ interval = 5
[module/memory_bar]
type = internal/memory
format = <bar-used>
format-prefix = "%{A1} %{A}"
format-prefix = "%{A1:$TERMINAL_CMD 'top -o RES' &:} %{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}%{T5}_%{T-}%{A}"
bar-used-fill = "%{A1:$TERMINAL_CMD 'top -o RES' &:}%{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}%{T5}_%{T-}%{A}"
bar-used-empty = "%{A1:$TERMINAL_CMD 'top -o RES' &:}%{T5}_%{T-}%{A}"
bar-used-empty-foreground = ${colors.foreground-alt}
[module/wireless]