diff options
Diffstat (limited to 'browser-tofi')
-rwxr-xr-x | browser-tofi | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/browser-tofi b/browser-tofi deleted file mode 100755 index e2c5d32..0000000 --- a/browser-tofi +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/sh -[ -z "$BROWSER" ] && BROWSER="qbc" -BROWSERS="qbc -fdc -bsc -ffc -lwc -brave" -if [ `echo "$@" | cut -d'/' -f3` == "yewtu.be" ]; then - BROWSERS=`printf "mpv\n%s" "$BROWSERS"` -fi -brow=`printf "xclip\n%s" "$BROWSERS" | tofi` -[ -z "$brow" ] && exit -if [ "$brow" = "xclip" ]; then - echo -n $@ | tr -d "\n" | xclip -selection clipboard -else - $brow $@ -fi |