fix: annoying clipboard behaviour where it'd paste a newline along with it
This commit is contained in:
parent
821d57afe3
commit
c089af45ef
|
@ -46,7 +46,7 @@ kdeconnect-cli --refresh &
|
||||||
wl-paste -w cliphist store &
|
wl-paste -w cliphist store &
|
||||||
|
|
||||||
# Need this to be able to paste in xwayland applications.
|
# 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
|
# Start xwaylandvideobridge
|
||||||
|
|
Loading…
Reference in a new issue