12 lines
218 B
Bash
12 lines
218 B
Bash
|
|
#!/usr/bin/env bash
|
||
|
|
#
|
||
|
|
# Send notifications to mako
|
||
|
|
# Priorities: low, normal, critical
|
||
|
|
# FIXME: this totally ignores escaping strings
|
||
|
|
app=script
|
||
|
|
prio=$1
|
||
|
|
title=$2
|
||
|
|
msg=$3
|
||
|
|
|
||
|
|
notify-send -a $app -u "$prio" "$title" "$msg"
|
||
|
|
|