aboutsummaryrefslogtreecommitdiff
path: root/mail-checknow
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2022-02-09 19:50:38 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2022-02-09 19:50:38 +0100
commit6f45972265b532365421658f1370742bb82b757b (patch)
treec293262456ba35ae5c1b778684527ed5c70c7ad1 /mail-checknow
parent547311be5f6d90f36022a6e5e6fdbfb26862fd75 (diff)
downloadscripts-6f45972265b532365421658f1370742bb82b757b.tar.gz
scripts-6f45972265b532365421658f1370742bb82b757b.zip
Changed default notification system to herbe
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