Switch from xsel to xclip.
This commit is contained in:
parent
7946b48a11
commit
aa716bcd71
@ -6,6 +6,6 @@ chosen=$(cut -d ';' -f1 ~/.local/share/emoji | dmenu -l 30 -i | sed "s/ .*//")
|
|||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
xdotool type "$chosen"
|
xdotool type "$chosen"
|
||||||
else
|
else
|
||||||
printf "$chosen" | xsel -l /dev/null
|
printf "$chosen" | xclip -rmlastnl
|
||||||
dunstify "'$chosen' copied to clipboard" &
|
dunstify "'$chosen' copied to clipboard" &
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user