aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-13 17:20:18 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-13 17:20:18 +1200
commitb155b88cd3caf1f7e4126c1056a0b13228c5baa3 (patch)
tree6be7aa2617ceefd79162b523810e1d0d2f137c2d /bin
parentAdd br(1) (diff)
downloaddotfiles-b155b88cd3caf1f7e4126c1056a0b13228c5baa3.tar.gz
dotfiles-b155b88cd3caf1f7e4126c1056a0b13228c5baa3.zip
Add brxs(1)
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)"