Rework polybar filesystem module

This commit is contained in:
Tanguy Herbron 2021-04-26 17:22:25 +02:00
parent d4bac3c344
commit e28e04e114

View File

@ -460,8 +460,6 @@ type = internal/fs
; Mountpoints to display ; Mountpoints to display
mount-0 = / mount-0 = /
mount-1 = /home
mount-2 = /media/blade
; Seconds to sleep between updates ; Seconds to sleep between updates
; Default: 30 ; Default: 30
@ -473,7 +471,7 @@ fixed-values = true
; Spacing between entries ; Spacing between entries
; Default: 2 ; Default: 2
spacing = 4 spacing = 2
; Available tags: ; Available tags:
; <label-mounted> (default) ; <label-mounted> (default)
@ -481,9 +479,9 @@ spacing = 4
; <bar-used> ; <bar-used>
; <ramp-capacity> ; <ramp-capacity>
; This is bugged for the moment, a big space is printed between the label and the value ; This is bugged for the moment, a big space is printed between the label and the value
;format-mounted = <label-mounted> format-mounted = <label-mounted>
;format-mounted-prefix =  format-mounted-prefix = " "
format-mounted-prefix-foreground = ${color.dblue}
; Available tags: ; Available tags:
; <label-unmounted> (default) ; <label-unmounted> (default)
; This is bugged for the moment, a big space is printed between the label and the value ; This is bugged for the moment, a big space is printed between the label and the value
@ -500,12 +498,12 @@ spacing = 4
; %free% ; %free%
; %used% ; %used%
; Default: %mountpoint% %percentage_free%% ; Default: %mountpoint% %percentage_free%%
label-mounted = " %free%/%total% " label-mounted = %free%/%total%
; Available tokens: ; Available tokens:
; %mountpoint% ; %mountpoint%
; Default: %mountpoint% is not mounted ; Default: %mountpoint% is not mounted
label-unmounted = %mountpoint%: not mounted label-unmounted = %mountpoint%: not mounted
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_