aboutsummaryrefslogtreecommitdiff
path: root/dunstifyIDs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dunstifyIDs.sh')
-rwxr-xr-xdunstifyIDs.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/dunstifyIDs.sh b/dunstifyIDs.sh
new file mode 100755
index 0000000..1b795e3
--- /dev/null
+++ b/dunstifyIDs.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# Obtain an id from ~/.config/dunst/dunstifyIDs by grepping a word. For using with dunstify for replaceable notifications.
+
+cat $HOME/.config/dunst/dunstifyIDs | grep $1 | awk '{print $2}'