Switch from xsel to xclip.

This commit is contained in:
Bartek Stalewski 2022-04-25 02:02:51 +02:00
parent 7946b48a11
commit aa716bcd71

View File

@ -6,6 +6,6 @@ chosen=$(cut -d ';' -f1 ~/.local/share/emoji | dmenu -l 30 -i | sed "s/ .*//")
if [ -n "$1" ]; then
xdotool type "$chosen"
else
printf "$chosen" | xsel -l /dev/null
printf "$chosen" | xclip -rmlastnl
dunstify "'$chosen' copied to clipboard" &
fi