adding shell script to i3status.conf
status_command i3status -c "${HOME}"/.i3/i3status.conf
here is my i3status.conf
general {
output_format = "i3bar"
colors = true
interval = 2
color_good = "#00bfd5"
color_bad = "#cc3333"
}
order += "wireless wlan0"
wireless wlan0 {
format_up = "W: (%quality at %essid) %ip"
format_down = "W:"
}
If i add another order.. say
order+="Gmail"
Gmail {
format="Unread sh checkmail.sh"
}
It does not update my statusbar.
here is my checkmail.sh
#!/bin/bash
i3status | while:
do
gmail=`perl gmail.pl`
echo "GMAIL | $gmail" || exit 1
done