aboutsummaryrefslogtreecommitdiff
path: root/config/newsboat/opener.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/newsboat/opener.sh')
-rwxr-xr-xconfig/newsboat/opener.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/config/newsboat/opener.sh b/config/newsboat/opener.sh
deleted file mode 100755
index 772b35c..0000000
--- a/config/newsboat/opener.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env bash
-
-type="$1"; shift;
-
-video() { mpv --player-operation-mode=pseudo-gui "$@"; }
-image() { feh -x -F --image-bg "#0f0c19" "$@"; }
-
-case "$type" in
- image) image "$@" ;;
- video|audio) video "$@" ;;
- *)
- case "$1" in
- https://*youtube.com/watch*) video "$@" ;;
- https://youtu.be/*) video "$@" ;;
- *) sensible-browser "$@" 2>&1 >/dev/null & disown ;;
- esac
- ;;
-esac;