Change dunstify to notidy-send
This commit is contained in:
@@ -65,15 +65,15 @@ on-download-error=/home/thomas/.config/aria2/download-error.sh
|
||||
|
||||
** Download Start Script
|
||||
#+begin_src bash :tangle ~/.config/aria2/download-start.sh :comments both :mkdirp yes :shebang "#!/bin/bash"
|
||||
dunstify "DL Started" "$(basename \"$3\" 2> /dev/null)"
|
||||
notify-send --hint=string:x-dunst-stack-tag:bHEPn7rW "DL Started" "$(basename \"$3\" 2> /dev/null)"
|
||||
#+end_src
|
||||
|
||||
** Download Complete Script
|
||||
#+begin_src bash :tangle ~/.config/aria2/download-complete.sh :comments both :mkdirp yes :shebang "#!/usr/bin/env bash"
|
||||
dunstify "DL Completed" "$(basename \"$3\" 2> /dev/null)"
|
||||
notify-send --hint=string:x-dunst-stack-tag:bHEPn7rW "DL Completed" "$(basename \"$3\" 2> /dev/null)"
|
||||
#+end_src
|
||||
|
||||
** Download Error Script
|
||||
#+begin_src bash :tangle ~/.config/aria2/download-error.sh :comments both :mkdirp yes :shebang "#!/usr/bin/env bash"
|
||||
dunstify --urgency=critical "DL Failed" "$(basename \"$3\" 2> /dev/null)"
|
||||
notify-send --hint=string:x-dunst-stack-tag:bHEPn7rW --urgency=critical "DL Failed" "$(basename \"$3\" 2> /dev/null)"
|
||||
#+end_src
|
||||
|
||||
Reference in New Issue
Block a user