summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-03-15 01:41:34 -0500
committerzachir <zachir@librem.one>2023-03-15 01:41:34 -0500
commit23536c99c7c608376556008f44934c6e848b17ba (patch)
treed1636ee4a392cbdea0029fdc5e81f0aa5e90680f
parent3eae25925a37de4e345df8e41e8d2885d2abb3b0 (diff)
fix bm to use clipboard with xclip and not primary
-rwxr-xr-xbm2
1 files changed, 1 insertions, 1 deletions
diff --git a/bm b/bm
index 5e554b0..9b30355 100755
--- a/bm
+++ b/bm
@@ -62,7 +62,7 @@ clip () {
if [ -n "$WAYLAND_DISPLAY" -a -n "$CANCLIPB" ]; then
echo -n $URL | wl-copy ${ARG%u}
elif [ -n "$DISPLAY" -a -n "$CANCLIPB" ]; then
- echo -n $URL | xclip ${ARG%-u}
+ echo -n $URL | xclip -selection clipboard ${ARG%-u}
fi
}
#}}}