Rename pipeable notify-send
parent
57ee1bf2fb
commit
f554791668
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Pipe into notify-send
|
||||||
|
#
|
||||||
|
# e.g. `echo "Hello world" | notify`
|
||||||
|
|
||||||
|
read -r msg
|
||||||
|
notify-send "$msg" "$@"
|
|
@ -1,4 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
read -r msg
|
|
||||||
notify-send "$msg" "$@"
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
# Only allow stremio when I have finished my Anki reviews
|
# 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)
|
||||||
|
|
Loading…
Reference in New Issue