Noobish mistake (#906)
This commit is contained in:
parent
82c9b46697
commit
73b174cedf
1 changed files with 1 additions and 1 deletions
|
@ -13,6 +13,6 @@ chosen=$(cut -d ';' -f1 ~/.local/share/larbs/emoji | dmenu -i -l 30 | sed "s/ .*
|
||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
xdotool type "$chosen"
|
xdotool type "$chosen"
|
||||||
else
|
else
|
||||||
echo "$chosen" | tr -d '\n' | xclip -selection clipboard
|
printf "$chosen" | xclip -selection clipboard
|
||||||
notify-send "'$chosen' copied to clipboard." &
|
notify-send "'$chosen' copied to clipboard." &
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue