fix: annoying clipboard behaviour where it'd paste a newline along with it

This commit is contained in:
Alexandre Cavalheiro 2024-01-15 17:31:47 -03:00
parent 821d57afe3
commit c089af45ef
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -46,7 +46,7 @@ kdeconnect-cli --refresh &
wl-paste -w cliphist store &
# Need this to be able to paste in xwayland applications.
wl-paste -t text -w sh -c 'v=$(cat); cmp -s <(xclip -selection clipboard -o) <<< "$v" || xclip -selection clipboard <<< "$v"' &
wl-paste -t text -w sh -c 'xclip -selection clipboard -o > /dev/null 2> /dev/null || xclip -selection clipboard'
#
# Start xwaylandvideobridge