aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/br2
-rw-r--r--bin/brxs3
2 files changed, 4 insertions, 1 deletions
diff --git a/bin/br b/bin/br
index ba593169..1d982c04 100755
--- a/bin/br
+++ b/bin/br
@@ -1,3 +1,3 @@
#!/bin/sh
# Launch $BROWSER
-exec "$BROWSER"
+exec "$BROWSER" "$@"
diff --git a/bin/brxs b/bin/brxs
new file mode 100644
index 00000000..5324885d
--- /dev/null
+++ b/bin/brxs
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Run $BROWSER with an URL retrieved from X's PRIMARY select
+exec br "$(xsel)"