mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Add icon for gh-notification script notifications
This commit is contained in:
parent
cf68e7a4e2
commit
948bb3be6b
|
@ -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
|
||||
}
|
||||
|
||||
|
|
BIN
home/.local/share/icons/hicolor/64x64/github-notification.png
Normal file
BIN
home/.local/share/icons/hicolor/64x64/github-notification.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
Loading…
Reference in a new issue