HokieGeek / snotify

Displays to the user when events occur
0 stars 0 forks source link

Low battery level #4

Open HokieGeek opened 9 years ago

HokieGeek commented 9 years ago

See https://github.com/HokieGeek/dotfiles/issues/99#issuecomment-89267633

HokieGeek commented 9 years ago
echo "BATTERY IS ALMOST DEAD" | dzen2 -p -title-name 'osdnotifier_deadbatt' -fn 
'-*-*-*-*-*-*-50-*-*-*-*-*-*-*' -fg "red" -bg "#1A1A1A" -h 80 -e 'raise' & sleep
 .05s && transset-df --name 'osdnotifier_deadbatt' .5
HokieGeek commented 9 years ago

acpi returns:

Battery 0: Charging, 60%, 00:39:10 until charged

HokieGeek commented 9 years ago

So I have one thing going, but I might want to have something like above as well

HokieGeek commented 9 years ago

The current udev rule is not working at all