Fixed-size and textual memory module for laptop

master
Quentin Duchemin 2023-10-29 16:04:21 +01:00
parent f699973555
commit 980243881c
3 changed files with 30 additions and 22 deletions

View File

@ -7,3 +7,25 @@ top_right = system-usb-udev alsa date
bottom_left = i3
bottom_center = wired-network wireless-network updates-arch-combined
bottom_right = temperature cpu memory filesystem-custom
[module/memory]
type = internal/memory
interval = 0.2
format = <label> <bar-used>
label = %{F#fba922}
bar-used-width = 50
bar-used-gradient = true
bar-used-foreground-0 = #55aa55
bar-used-foreground-1 = #557755
bar-used-foreground-2 = #f5a70a
bar-used-foreground-3 = #ff5555
bar-used-indicator =
bar-used-indicator-font = 2
bar-used-indicator-foreground = #fff
bar-used-fill =▐
bar-used-fill-font = 2
bar-used-empty =▐
bar-used-empty-font = 2
bar-used-empty-foreground = #444444

View File

@ -7,3 +7,11 @@ top_right = system-usb-udev backlight pulseaudio date
bottom_left = i3
bottom_center = wireless-network updates-arch-combined
bottom_right = temperature cpu memory filesystem-custom
[module/memory]
type = internal/memory
interval = 0.2
format = <label>
label = %{F#fba922}%{F#77dd77} %gb_free% / %gb_total%
label-warn = %{F#fba922}%{F#ff5555} %gb_free% / %gb_total%

View File

@ -173,28 +173,6 @@ ramp-coreload-7 = █
ramp-coreload-7-font = 3
ramp-coreload-7-foreground = #ff5555
[module/memory]
type = internal/memory
interval = 0.2
format = <label> <bar-used>
label = %{F#fba922}
bar-used-width = 50
bar-used-gradient = true
bar-used-foreground-0 = #55aa55
bar-used-foreground-1 = #557755
bar-used-foreground-2 = #f5a70a
bar-used-foreground-3 = #ff5555
bar-used-indicator =
bar-used-indicator-font = 2
bar-used-indicator-foreground = #fff
bar-used-fill =▐
bar-used-fill-font = 2
bar-used-empty =▐
bar-used-empty-font = 2
bar-used-empty-foreground = #444444
[module/date]
type = internal/date
interval = 1.0