From 838eeec9acdc320bbab24b69db3041e436cdc996 Mon Sep 17 00:00:00 2001 From: Luke Date: Tue, 20 Feb 2018 14:29:53 -0700 Subject: scripts folder moved to ~/.scripts --- .config/Scripts/webview | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 .config/Scripts/webview (limited to '.config/Scripts/webview') diff --git a/.config/Scripts/webview b/.config/Scripts/webview deleted file mode 100755 index 17462fc..0000000 --- a/.config/Scripts/webview +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -# Feed script a url. -# Opens the url with xdg-open unless it is an image, -# in which case it downloads in feh. - -ext="${1##*.}" -mpvFiles="mkv mp4 gif" -fehFiles="png jpg jpeg jpe" -wgetFiles="mp3 flac opus mp3?source=feed pdf" - -pgrep i3 ifi3="i3 exec" - -if echo $fehFiles | grep -w $ext > /dev/null; then - nohup feh "$1" >/dev/null & -#elif [[ "$ext" == "gif" ]]; then -elif echo $mpvFiles | grep -w $ext > /dev/null; then - nohup mpv --loop --quiet "$1" > /dev/null & -elif echo $wgetFiles | grep -w $ext > /dev/null; then - nohup wget "$1" >/dev/null & -else - nohup $BROWSER "$1" >/dev/null & -fi -- cgit v1.3.1