Added df to polybar.

This commit is contained in:
Joachim Nielandt 2021-11-15 09:50:52 +01:00
parent b90822c651
commit 4ec9e26228

View File

@ -205,13 +205,22 @@ format-prefix-foreground = ${colors.light0}
[module/filesystem]
type = internal/fs
interval = 25
; mounts differ depending on the machine
; need to include comments in each of the options: template swallows newlines
{{- if eq .chezmoi.hostname "dome" }}
; mount root
mount-0 = /
{{ else if eq .chezmoi.hostname "carbonraptor" -}}
; mount root
mount-0 = /
; mount ext4 partition for non-btrfs files
mount-1 = /mnt/ext4
{{ else if eq .chezmoi.hostname "jnielandt" -}}
; only root
mount-0 = /
{{- end }}
;label-mounted = %{F#0a81f5}%mountpoint%%{F-} %percentage_used%%
;#b8bb26
label-mounted = %{F#b8bb26}%mountpoint%%{F-} %percentage_used%%
@ -389,14 +398,14 @@ label = %percentage_used%%
[module/updates-pacman]
type = custom/script
format-prefix=" "
format-prefix-foreground = ${colors.bright_orange}
format-prefix-foreground = ${colors.bright_yellow}
exec = ~/.dotfiles/polybar/polybar-scripts/updates-pacman/updates-pacman.sh
interval = 600
[module/updates-aurhelper]
type = custom/script
format-prefix=" "
format-prefix-foreground = ${colors.bright_orange}
format-prefix-foreground = ${colors.bright_yellow}
exec = ~/.dotfiles/polybar/polybar-scripts/updates-aurhelper/updates-aurhelper.sh
interval = 600