10 lines
172 B
Bash
Executable file
10 lines
172 B
Bash
Executable file
#!/bin/env bash
|
|
|
|
PIPE="/tmp/email_refresh_pipe"
|
|
|
|
# Create pipe if doesn't exist
|
|
[ -p "$PIPE" ] || mkfifo "$PIPE"
|
|
|
|
echo "new" > "$PIPE"
|
|
|
|
notify-send "New mail in $1 inbox!"
|