🐛 fix(bin): downloadMedia notify critical
This commit is contained in:
parent
752d47948e
commit
ad2d489f65
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ notify() {
|
||||||
}
|
}
|
||||||
|
|
||||||
notify_error() {
|
notify_error() {
|
||||||
notify-send "Media Download" "$1" -u=critical -i ~/.local/share/icons/Catppuccin-SE/64x64/mimetypes/application-x-partial-download.svg --app-name=gallery-dl
|
notify-send "Media Download" "$1" -u critical -i ~/.local/share/icons/Catppuccin-SE/64x64/mimetypes/application-x-partial-download.svg --app-name=gallery-dl
|
||||||
}
|
}
|
||||||
|
|
||||||
download_images() {
|
download_images() {
|
||||||
|
@ -55,7 +55,7 @@ if ! command -v gallery-dl &>/dev/null; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
url_file="$HOME/.config/gallery-dl/urls.txt"
|
url_file="$HOME/.gallery-dl/urls.txt"
|
||||||
|
|
||||||
if [ ! -f "$url_file" ]; then
|
if [ ! -f "$url_file" ]; then
|
||||||
notify_error "URl file does not exist"
|
notify_error "URl file does not exist"
|
||||||
|
|
Loading…
Add table
Reference in a new issue