diff options
author | epoch <epoch@hacking.allowed.org> | 2019-11-17 02:12:25 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2019-11-17 02:12:25 -0600 |
commit | c91aa0ac9f6c177d4b8079c052f2d88b74c55956 (patch) | |
tree | f4c2d90e9686afcd6f995b0a7be493963701dc10 /urilaunch | |
parent | f884100bed6e37c25c57294f20a6182677fafbce (diff) | |
download | uritools-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-- | urilaunch | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |