Fix CPU and memory indicator

This commit is contained in:
Yash Karandikar 2023-08-30 15:03:37 -05:00
parent c0feaf0fb6
commit db474fc184

View file

@ -30,16 +30,21 @@ menu-0-2-exec = i3lock -i ~/Downloads/wallpaper.png && sleep 1
type = internal/cpu type = internal/cpu
interval = 1 interval = 1
format = <ramp-load> <label> format = <ramp-coreload> <label>
label =  %percentage%%
ramp-load-0 =  warn-percentage = 50
ramp-load-0-foreground = ${colors.success} format-warn = <ramp-coreload> <label>
format-warn-foreground = ${colors.warning}
ramp-load-1 =  ramp-coreload-spacing = 1
ramp-load-1-foreground = ${colors.warning} ramp-coreload-0 = ▁
ramp-coreload-1 = ▂
ramp-load-2 =  ramp-coreload-2 = ▃
ramp-load-2-foreground = ${colors.urgent} ramp-coreload-3 = ▄
ramp-coreload-4 = ▅
ramp-coreload-5 = ▆
ramp-coreload-6 = ▇
[module/show-desktop] [module/show-desktop]
type = custom/text type = custom/text
@ -56,14 +61,18 @@ format = <ramp-used> <label>
label = %gb_used%/%gb_total% label = %gb_used%/%gb_total%
ramp-used-0 =  warn-percentage = 50
ramp-used-0-foreground = ${colors.success} format-warn = <ramp-used> <label>
format-warn-foreground = ${colors.warning}
ramp-used-1 =  ramp-used-foreground = ${colors.success}
ramp-used-1-foreground = ${colors.warning} ramp-used-0 = ▁ 
ramp-used-1 = ▂ 
ramp-used-2 =  ramp-used-2 = ▃ 
ramp-used-2-foreground = ${colors.urgent} ramp-used-3 = ▄ 
ramp-used-4 = ▅ 
ramp-used-5 = ▆ 
ramp-used-6 = ▇ 
[module/github] [module/github]
type= internal/github type= internal/github