From be7c37a639bc02a94189430d25e0cf1ad4ee96cd Mon Sep 17 00:00:00 2001 From: juan Date: Sun, 31 Oct 2021 10:33:28 +0800 Subject: [PATCH] uwu --- .config/mpv/scripts/autosub.lua | 8 ++++---- .zshrc | 9 ++++----- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.config/mpv/scripts/autosub.lua b/.config/mpv/scripts/autosub.lua index c800b7b..1866725 100644 --- a/.config/mpv/scripts/autosub.lua +++ b/.config/mpv/scripts/autosub.lua @@ -173,10 +173,10 @@ function autosub_allowed() if not bools.auto then mp.msg.warn('Automatic downloading disabled!') return false - -- elseif duration < 900 then - -- mp.msg.warn('Video is less than 15 minutes\n' .. - -- '=> NOT auto-downloading subtitles') - -- return false + elseif duration < 900 then + mp.msg.warn('Video is less than 15 minutes\n' .. + '=> NOT auto-downloading subtitles') + return false elseif directory:find('^http') then mp.msg.warn('Automatic subtitle downloading is disabled for web streaming') return false diff --git a/.zshrc b/.zshrc index f121319..36a782c 100644 --- a/.zshrc +++ b/.zshrc @@ -1,8 +1,7 @@ -echo '\033[0;36m _ ' -echo '\033[0;36m (_)_ _____ ____ ' -echo '\033[0;36m / / // / _ `/ _ \' -echo '\033[0;36m __/ /\_,_/\_,_/_//_/' -echo '\033[0;36m|___/ ' +echo '\033[0;36m _ ___ ___ _ ' +echo '\033[0;36m| | | \ \ /\ / / | | |' +echo '\033[0;36m| |_| |\ V V /| |_| |' +echo '\033[0;36m \__,_| \_/\_/ \__,_|' echo echo '\033[0;35m /w '$(awk -F "=" '/^NAME/ {print $2}' < /etc/os-release ) echo '\033[0;34m @ '$HOST