Source

shared / bin / popup-notify

Full commit
1
2
3
4
5
6
7
#!/usr/bin/zsh

TIME=$(date '+%I:%M %p %A')
DATE=$(date '+%Y-%m-%d')
BATT=$(acpi | sed 's/,\s*rate information unavailable//')

notify-send $TIME "$DATE\n\n$BATT"