Add icon for gh-notification script notifications

This commit is contained in:
ItsDrike 2023-01-25 13:17:22 +01:00
parent cf68e7a4e2
commit 948bb3be6b
No known key found for this signature in database
GPG key ID: B014E761034AF742
2 changed files with 2 additions and 2 deletions

View file

@ -178,9 +178,9 @@ send_notify() {
if [ $NO_DISPLAY -eq 1 ]; then
XDG_RUNTIME_DIR="/run/user/$(id -u)" \
DISPLAY=:0 \
notify-send --app-name=github-notification --urgency="$URGENCY" "$1" "$2"
notify-send -i "$HOME/.local/share/icons/hicolor/64x64/apps/github-notification.png" --app-name=github-notification --urgency="$URGENCY" "$1" "$2"
else
notify-send --app-name=github-notification --urgency="$URGENCY" "$1" "$2"
notify-send -i "$HOME/.local/share/icons/hicolor/64x64/apps/github-notification.png" --app-name=github-notification --urgency="$URGENCY" "$1" "$2"
fi
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB