mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
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:
parent
3edf145fe8
commit
090e5b1d6e
@ -11,8 +11,8 @@ chosen=$(grep -v "#" ~/.local/share/larbs/emoji | dmenu -i -l 20 -fn Monospace-1
|
|||||||
|
|
||||||
c=$(echo "$chosen" | sed "s/ .*//")
|
c=$(echo "$chosen" | sed "s/ .*//")
|
||||||
echo "$c" | tr -d '\n' | xclip -selection clipboard
|
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}')
|
s=$(echo "$chosen" | sed "s/.*; //" | awk '{print $1}')
|
||||||
echo "$s" | tr -d '\n' | xclip
|
echo "$s" | tr -d '\n' | xclip
|
||||||
notify-send "'$s' copied to primary." &
|
notify-send -a `basename "$0"` "'$s' copied to primary." &
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user