diff options
author | epoch <epoch@enzo.thebackupbox.net> | 2021-10-25 07:45:50 +0000 |
---|---|---|
committer | epoch <epoch@enzo.thebackupbox.net> | 2021-10-25 07:45:50 +0000 |
commit | a847f39dc51ba0bf5acd61648946e88a06a57e2c (patch) | |
tree | 007831b52e35f41b6d1d5e0e8ed4870ca37476d5 /urilaunch | |
parent | d5fd6ce0bad91b1cd2e76515e1259fa6c93665a7 (diff) | |
download | uritools-a847f39dc51ba0bf5acd61648946e88a06a57e2c.tar.gz uritools-a847f39dc51ba0bf5acd61648946e88a06a57e2c.zip |
added a program to generate a URI based on currently open X11 window data, then added it and a gopher-get, and another clipboard selection to top of list in urilaunch. switched to choose from dmenu
Diffstat (limited to 'urilaunch')
-rwxr-xr-x | urilaunch | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3,10 +3,12 @@ #you'll probably want to change my gopher-get line to be something useful to you. exec copy_start_nevermind.sh \ "$(cat \ - <(printf "%s\n" $(xclip -o | head -n1)) \ + <(printf "%s\n" "$(xclip -o | head -n1)") \ + <(printf "%s\n" "$(xclip -o -selection clipboard | head -n1)") \ + <(xdotool getwindowfocus | xargs xwindowURI) \ <(printf "\n") \ <(gopher-get gopher://batou/0/links.txt) \ <(cat ~/.cache/uristart.log | sort | uniq) \ - | dmenu -l 10 -p urilaunch\> \ + | choose 'urilaunch>' \ | cut '-d ' -f1 )" |