From c91aa0ac9f6c177d4b8079c052f2d88b74c55956 Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 17 Nov 2019 02:12:25 -0600 Subject: changed urilaunch to use bash because I like <() and I wanted to include default clipboard' as first choice in dmenu --- urilaunch | 4 ++-- 1 file 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) -- cgit v1.2.3