Use script name instead of "notify-send"

Many typical graphical environments also show the app name. Having "notify-send" there looks kinda hacky.
This commit is contained in:
Linus K 2020-02-03 15:33:02 +01:00 committed by GitHub
parent 3edf145fe8
commit 090e5b1d6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,8 +11,8 @@ chosen=$(grep -v "#" ~/.local/share/larbs/emoji | dmenu -i -l 20 -fn Monospace-1
c=$(echo "$chosen" | sed "s/ .*//")
echo "$c" | tr -d '\n' | xclip -selection clipboard
notify-send "'$c' copied to clipboard." &
notify-send -a `basename "$0"` "'$c' copied to clipboard." &
s=$(echo "$chosen" | sed "s/.*; //" | awk '{print $1}')
echo "$s" | tr -d '\n' | xclip
notify-send "'$s' copied to primary." &
notify-send -a `basename "$0"` "'$s' copied to primary." &