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