diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2023-04-13 14:34:38 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2023-04-13 14:34:38 +0800 |
| commit | 604aaffcf82ab3af0812eaf4b3027a5ddeda7cb2 (patch) | |
| tree | f35133923ef29f165a8eb86dc87480642cf27aa8 /X11/mail | |
| parent | 4ae36ba00e2116fd771916d265035f4eb1c6f6c5 (diff) | |
Update
Diffstat (limited to 'X11/mail')
| -rwxr-xr-x | X11/mail/check_mail.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/X11/mail/check_mail.sh b/X11/mail/check_mail.sh index b6cca10..ae10bd8 100755 --- a/X11/mail/check_mail.sh +++ b/X11/mail/check_mail.sh | |||
| @@ -12,7 +12,7 @@ NUMBER=$( | |||
| 12 | if [[ -n "$NUMBER" && $NUMBER -gt 0 ]]; then | 12 | if [[ -n "$NUMBER" && $NUMBER -gt 0 ]]; then |
| 13 | DISPLAY=:0 \ | 13 | DISPLAY=:0 \ |
| 14 | DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/`id -u`/bus \ | 14 | DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/`id -u`/bus \ |
| 15 | notify-send "New Mail: $NUMBER" | 15 | notify-send "New Mail: $NUMBER" --expire-time=20000 |
| 16 | else | 16 | else |
| 17 | date | 17 | date |
| 18 | fi | 18 | fi |