From c4d0e3de7ad04114797abb14368e4a6f8da04a60 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 8 May 2026 23:55:30 +0200 Subject: Updates from alpine --- scripts/old/mail-checknow | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 scripts/old/mail-checknow (limited to 'scripts/old/mail-checknow') diff --git a/scripts/old/mail-checknow b/scripts/old/mail-checknow deleted file mode 100755 index 188042b..0000000 --- a/scripts/old/mail-checknow +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# Check for new email, save result to file. -# Requires: mpop, notify-send or similar - -file="$XDG_DATA_HOME/newmail" -#notify="notify-send" -notify=herbe - -l=$(cat "$file") -n=$(mpop -s | awk '/new*./{print $2}') - -if [ -n "$n" ]; then - echo "$n" > "$file" - if [ "$n" != "no" ] && [ "$l" != "$n" ]; then - $notify "New email ($n)" - fi -fi -- cgit v1.3