aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-12-03 14:08:13 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-12-03 14:08:59 +0000
commit51c373b3cb889ed5e3e62898911a342875dcf28e (patch)
treec055a3b57c03c877180b228cd345c03dd1a668b9 /Scripts/.local
parentc4c7563ea54f137a2ba394cec1b02231de8efb10 (diff)
downloaddotfiles-51c373b3cb889ed5e3e62898911a342875dcf28e.tar.gz
dotfiles-51c373b3cb889ed5e3e62898911a342875dcf28e.tar.bz2
dotfiles-51c373b3cb889ed5e3e62898911a342875dcf28e.zip
Cannot be bothered to explain - just read the changes if you want
Diffstat (limited to 'Scripts/.local')
-rwxr-xr-xScripts/.local/scripts/localstream12
1 files changed, 6 insertions, 6 deletions
diff --git a/Scripts/.local/scripts/localstream b/Scripts/.local/scripts/localstream
index fece208..aa6b46f 100755
--- a/Scripts/.local/scripts/localstream
+++ b/Scripts/.local/scripts/localstream
@@ -13,19 +13,19 @@ fi
case $1 in
"-f")
- filtering="-name '*.mp4' -or -name '*.mkv' -or -name '*.webm'" &&
- selection="\(.*\)";;
+ filtering="-name '*.mp4' -or -name '*.mkv' -or -name '*.webm' -or -name '*.opus'";
+ selection="\(.*\)";;
"-p")
- filtering="-name 'playlist'" &&
- selection="\(.*\)\/playlist" &&
- ending="/playlist";;
+ filtering="-name 'playlist'";
+ selection="\(.*\)\/playlist";
+ ending="/playlist";;
*)
usage && exit 1;;
esac
choice=$(ssh oreo@oldboy "find /media/hdd/content/ -type 'f' $filtering" |\
sed "s/\/media\/hdd\/content\/$selection/\1/g" |\
- dmenu -i -p "Choose file: ")
+ dmenu -i -l 5 -p "Choose file: ")
if [ $1 == "-f" ]
then