commit 3d031e4a8fdacaaf458921f5def44bdb4bc26abd
parent 6a08105290f47ded1549a3abc89d10ee18bdc908
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date: Sat, 15 Mar 2025 15:40:50 +0000
Wayland redirection is corrected on all platforms
Diffstat:
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/platform-freebsd.sh b/src/platform-freebsd.sh
@@ -50,7 +50,7 @@ platform_clip() {
# Copy standard input into clipboard
platform_clip_copy() {
if [ -n "${WAYLAND_DISPLAY-}" ] && type wl-copy >/dev/null 2>&1; then
- checked wl-copy 2>/deb/null
+ checked wl-copy 2>/dev/null
elif [ -n "${DISPLAY-}" ] && type xclip >/dev/null 2>&1; then
checked xclip -selection "${X_SELECTION}"
else
@@ -61,7 +61,7 @@ platform_clip_copy() {
# Paste clipboard into standard output, ignoring failures
platform_clip_paste() {
if [ -n "${WAYLAND_DISPLAY-}" ] && type wl-paste >/dev/null 2>&1; then
- wl-paste -n 2>/deb/null || true
+ wl-paste -n 2>/dev/null || true
elif [ -n "${DISPLAY-}" ] && type xclip >/dev/null 2>&1; then
xclip -o -selection "${X_SELECTION}" || true
else
diff --git a/src/platform-linux.sh b/src/platform-linux.sh
@@ -50,7 +50,7 @@ platform_clip() {
# Copy standard input into clipboard
platform_clip_copy() {
if [ -n "${WAYLAND_DISPLAY-}" ] && type wl-copy >/dev/null 2>&1; then
- checked wl-copy 2>/deb/null
+ checked wl-copy 2>/dev/null
elif [ -n "${DISPLAY-}" ] && type xclip >/dev/null 2>&1; then
checked xclip -selection "${X_SELECTION}"
else
@@ -61,7 +61,7 @@ platform_clip_copy() {
# Paste clipboard into standard output, ignoring failures
platform_clip_paste() {
if [ -n "${WAYLAND_DISPLAY-}" ] && type wl-paste >/dev/null 2>&1; then
- wl-paste -n 2>/deb/null || true
+ wl-paste -n 2>/dev/null || true
elif [ -n "${DISPLAY-}" ] && type xclip >/dev/null 2>&1; then
xclip -o -selection "${X_SELECTION}" || true
else
diff --git a/src/platform-openbsd.sh b/src/platform-openbsd.sh
@@ -50,7 +50,7 @@ platform_clip() {
# Copy standard input into clipboard
platform_clip_copy() {
if [ -n "${WAYLAND_DISPLAY-}" ] && type wl-copy >/dev/null 2>&1; then
- checked wl-copy 2>/deb/null
+ checked wl-copy 2>/dev/null
elif [ -n "${DISPLAY-}" ] && type xclip >/dev/null 2>&1; then
checked xclip -selection "${X_SELECTION}"
else
@@ -61,7 +61,7 @@ platform_clip_copy() {
# Paste clipboard into standard output, ignoring failures
platform_clip_paste() {
if [ -n "${WAYLAND_DISPLAY-}" ] && type wl-paste >/dev/null 2>&1; then
- wl-paste -n 2>/deb/null || true
+ wl-paste -n 2>/dev/null || true
elif [ -n "${DISPLAY-}" ] && type xclip >/dev/null 2>&1; then
xclip -o -selection "${X_SELECTION}" || true
else