From: Amin Bandali Date: Thu, 27 Apr 2017 21:36:37 +0000 (-0400) Subject: Add mail module for polybar (uses notmuch) X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/e0dcd28c0d4e24351e54ec34d7a25fe233ba6b68?hp=3e303e20740e2b1ec0328fbfeca60e4b2244781c Add mail module for polybar (uses notmuch) also depends: pacaur -S ttf-font-awesome --- diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index de905a7..e90c6f4 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -2,7 +2,7 @@ sxhkd & sh ~/.fehbg & -launch-polybar +polybar-launch connman-gtk & pnmixer & compton & diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 15799aa..2e5855f 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -45,10 +45,11 @@ module-margin-right = 2 font-0 = Ubuntu:fontformat=truetype:antialias=true:pixelsize=9;1 font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 font-2 = Wuncon Siji:pixelsize=10;1 +font-3 = FontAwesome:pixelsize=10;1 modules-left = bspwm modules-center = xwindow -modules-right = volume filesystem xkeyboard memory cpu battery temperature date powermenu +modules-right = volume filesystem mail xkeyboard memory cpu battery temperature date powermenu tray-position = right ;tray-padding = 2 @@ -353,6 +354,15 @@ menu-2-0-exec = sudo poweroff menu-2-1 = cancel menu-2-1-exec = menu-open-0 +[module/mail] +type = custom/script +interval = 300 +format =