Add wayland support ot pbc and pbp
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
xsel --clipboard --input
|
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
|
||||||
|
wl-copy
|
||||||
|
else
|
||||||
|
xsel --clipboard --input
|
||||||
|
fi
|
||||||
|
|
||||||
|
|||||||
@ -1,2 +1,6 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
xsel --clipboard --output
|
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
|
||||||
|
wl-paste -n
|
||||||
|
else
|
||||||
|
xsel --clipboard --output
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user