polybar: df ersetzt

This commit is contained in:
Michael Grote 2022-07-21 15:40:45 +02:00
parent e673b6a1b2
commit 8f06f02793
3 changed files with 8 additions and 8 deletions

View file

@ -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}

View file

@ -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

View file

@ -1,3 +0,0 @@
#!/bin/bash
df -h / | awk '{print $5}' | tail -n1