Rename pipeable notify-send

This commit is contained in:
hektor committed 2022-05-11 14:24:20 +02:00
1 parent 57ee1bf2fb
commit f554791668
3 files changed
+9 -5

No files matched your search

Executable
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Pipe into notify-send
#
# e.g. `echo "Hello world" | notify`
read -r msg
notify-send "$msg" "$@"
-4
View File
@@ -1,4 +0,0 @@
#!/usr/bin/env bash
read -r msg
notify-send "$msg" "$@"
+1 -1
View File
@@ -2,4 +2,4 @@
# Only allow stremio when I have finished my Anki reviews
get-anki-reviews-status && stremio || $(echo "Do your reviews first" | notify-pipe)
get-anki-reviews-status && stremio || $(echo "Do your reviews first" | notify)