Commit | Line | Data |
---|---|---|
6db09847 SK |
1 | #! /bin/bash |
2 | ||
3 | set -e | |
4 | ||
5 | sleep 3 # wait for dunst to hopefully restart | |
6 | sudo dmesg --follow --level=emerg,alert,crit,err --since=now \ | |
7 | | while read line | |
8 | do | |
9 | notify-send -u critical 'dmesg error' "$line" | |
10 | done |