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