summaryrefslogtreecommitdiff
path: root/urilaunch
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2019-11-17 02:12:25 -0600
committerepoch <epoch@hacking.allowed.org>2019-11-17 02:12:25 -0600
commitc91aa0ac9f6c177d4b8079c052f2d88b74c55956 (patch)
treef4c2d90e9686afcd6f995b0a7be493963701dc10 /urilaunch
parentf884100bed6e37c25c57294f20a6182677fafbce (diff)
downloaduritools-c91aa0ac9f6c177d4b8079c052f2d88b74c55956.tar.gz
uritools-c91aa0ac9f6c177d4b8079c052f2d88b74c55956.zip
changed urilaunch to use bash because I like <() and I wanted to include default clipboard' as first choice in dmenu
Diffstat (limited to 'urilaunch')
-rw-r--r--urilaunch4
1 files changed, 2 insertions, 2 deletions
diff --git a/urilaunch b/urilaunch
index a349502..772cf93 100644
--- a/urilaunch
+++ b/urilaunch
@@ -1,3 +1,3 @@
-#!/bin/sh
+#!/bin/bash
#uristart.log /should/ already be uniq'd because of uristart's code now, but might as well not rely on it.
-uristart $(cat ~/.cache/uristart.log | sort | uniq | dmenu -p url\> | cut '-d ' -f1)
+uristart $(cat <(printf "%s\n" $(xclip -o | head -n1)) <(cat ~/.cache/uristart.log | sort | uniq) | dmenu -p url\> | cut '-d ' -f1)