aboutsummaryrefslogtreecommitdiff
path: root/mail-checknow
diff options
context:
space:
mode:
Diffstat (limited to 'mail-checknow')
-rwxr-xr-xmail-checknow5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail-checknow b/mail-checknow
index 3363173..188042b 100755
--- a/mail-checknow
+++ b/mail-checknow
@@ -1,10 +1,11 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# Check for new email, save result to file. 3# Check for new email, save result to file.
4# Requires: mpop, notify-send 4# Requires: mpop, notify-send or similar
5 5
6file="$XDG_DATA_HOME/newmail" 6file="$XDG_DATA_HOME/newmail"
7notify="notify-send" 7#notify="notify-send"
8notify=herbe
8 9
9l=$(cat "$file") 10l=$(cat "$file")
10n=$(mpop -s | awk '/new*./{print $2}') 11n=$(mpop -s | awk '/new*./{print $2}')

Generated with cgit - Back to sebastiano.tronto.net