polybar: df ersetzt
This commit is contained in:
parent
e673b6a1b2
commit
8f06f02793
3 changed files with 8 additions and 8 deletions
|
@ -1,4 +1,7 @@
|
||||||
[module/df]
|
[module/filesystem]
|
||||||
inherit = module/defaults
|
type = internal/fs
|
||||||
exec = ~/dotfiles/scripts/polybar/df.sh
|
mount-0 = /
|
||||||
format-prefix = "DU "
|
label-mounted = %percentage_used%%
|
||||||
|
format-mounted = <label-mounted>
|
||||||
|
format-mounted-prefix = "DU "
|
||||||
|
format-mounted-prefix-foreground =${colors.foreground-alt}
|
||||||
|
|
|
@ -25,7 +25,7 @@ margin-bottom = 5
|
||||||
inherit = bar/defaults
|
inherit = bar/defaults
|
||||||
modules-left = i3
|
modules-left = i3
|
||||||
modules-center =
|
modules-center =
|
||||||
modules-right = backlight cpu system-cpu-loadavg memory df battery
|
modules-right = backlight cpu system-cpu-loadavg memory filesystem battery
|
||||||
tray-position = right
|
tray-position = right
|
||||||
tray-padding = 2
|
tray-padding = 2
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
df -h / | awk '{print $5}' | tail -n1
|
|
Loading…
Reference in a new issue