From 59d1d3ebd78cb17d443877179c5fc9d74383a9d5 Mon Sep 17 00:00:00 2001 From: epoch Date: Sat, 2 Nov 2019 05:44:17 -0500 Subject: commented out weird derp+merp scheme code. added urilaunch which is meant to be done similar to how dmenu_run gets launched. I use alt+u --- urilaunch | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 urilaunch (limited to 'urilaunch') diff --git a/urilaunch b/urilaunch new file mode 100644 index 0000000..a349502 --- /dev/null +++ b/urilaunch @@ -0,0 +1,3 @@ +#!/bin/sh +#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) -- cgit v1.2.3 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(-) (limited to 'urilaunch') 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