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