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]
|
||||
inherit = module/defaults
|
||||
exec = ~/dotfiles/scripts/polybar/df.sh
|
||||
format-prefix = "DU "
|
||||
[module/filesystem]
|
||||
type = internal/fs
|
||||
mount-0 = /
|
||||
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
|
||||
modules-left = i3
|
||||
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-padding = 2
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
df -h / | awk '{print $5}' | tail -n1
|
Loading…
Reference in a new issue