diff --git a/README.md b/README.md index d882d30..fd470fd 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ sources on [GitHub](https://github.com/vincentbernat/vbeterm). ## Requirements Required Debian packages to make everything work can be found in my -[Puppet configuration][]. +[Puppet configuration][]. Also, some daemons may be compiled from git +HEAD (`dunst` and `polybar`) to get access to some features. [Puppet configuration]: https://github.com/vincentbernat/puppet-workstation/blob/master/local-modules/desktop/manifests/i3.pp diff --git a/dotfiles/polybar.conf b/dotfiles/polybar.conf index 39b3ee1..f2c45ad 100644 --- a/dotfiles/polybar.conf +++ b/dotfiles/polybar.conf @@ -31,11 +31,11 @@ modules-center = date [bar/alone] inherit = bar/common -modules-right = cpu memory brightness battery ethernet wlan pulseaudio +modules-right = cpu memory brightness battery ethernet wlan disk pulseaudio [bar/primary] inherit = bar/common -modules-right = cpu memory brightness battery ethernet wlan pulseaudio +modules-right = cpu memory brightness battery ethernet wlan disk pulseaudio [bar/secondary] inherit = bar/common @@ -63,23 +63,23 @@ label-urgent = %name% label-urgent-background = #a00000 label-urgent-padding = 1 -# Not supported yet. Wait for 3.6.0 to get the warn stuff. -# [module/disk] -# type = internal/fs -# mount-0 = / -# mount-1 = /home -# mount-2 = /var -# mount-3 = /tmp -# mount-4 = /var/lib/systems -# mount-5 = /boot -# warn-percentage = 80 -# fixed-values = true -# interval = 15 -# format-unmounted = -# format-mounted = -# format-warn = -# format-warn-foreground = #ff0000 -# label-warn =  %mountpoint%: %percentage_used%% +# This needs 3.6+ +[module/disk] +type = internal/fs +mount-0 = / +mount-1 = /home +mount-2 = /var +mount-3 = /tmp +mount-4 = /var/lib/systems +mount-5 = /boot +warn-percentage = 94 +fixed-values = true +interval = 30 +format-unmounted = +format-mounted = +format-warn = +format-warn-foreground = #ff0000 +label-warn =  %mountpoint%: %percentage_used%% [module/brightness] type = internal/backlight diff --git a/dotfiles/systemd/polybar.service b/dotfiles/systemd/polybar.service index 867e282..f6a7d57 100644 --- a/dotfiles/systemd/polybar.service +++ b/dotfiles/systemd/polybar.service @@ -4,5 +4,5 @@ PartOf=graphical-session.target [Service] ExecStart=%h/.config/i3/bin/polybar -ExecStop=/usr/bin/polybar-msg cmd quit +ExecStop=%h/.local/bin/polybar-msg cmd quit Restart=on-failure