From 51c373b3cb889ed5e3e62898911a342875dcf28e Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 3 Dec 2024 14:08:13 +0000 Subject: Cannot be bothered to explain - just read the changes if you want --- Scripts/.local/scripts/localstream | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Scripts/.local/scripts') 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 -- cgit v1.2.3-13-gbd6f