aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-03-20 16:30:02 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-03-20 16:30:02 +0100
commit040e5f08d217456feebf8039e25e0d3a5fc8803f (patch)
treee4e3020e764b227adea8bda017043096fcc69900
parent186d6435c9a5b5831dd1b1a522107cb96b2910e5 (diff)
downloadscripts-040e5f08d217456feebf8039e25e0d3a5fc8803f.tar.gz
scripts-040e5f08d217456feebf8039e25e0d3a5fc8803f.zip
Created script to look for making dunstify IDs work as an enumerator.
-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}'