1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-01-24 21:47:01 +00:00

Bin: remove podsync and cleanup ao3/flacr

This commit is contained in:
Phantop 2021-01-01 14:23:03 -05:00
parent 0d1fac47b9
commit 0b4c8450dd
12 changed files with 7 additions and 108 deletions

View file

@ -1,5 +0,0 @@
[Desktop Entry]
Type=Application
Name=Podsync
Description=
Exec=bash -c podsync

View file

@ -1,35 +0,0 @@
[server]
port = 2020
data_dir = "/home/glados/Videos/YouTube"
[tokens]
youtube = ""
[feeds]
[feeds.Fullsauce]
url = "https://www.youtube.com/channel/UC2_IYqb1Tc_8Azh7rByedPA"
page_size = 8
update_period = "10m"
quality = "high"
format = "video"
max_height = 480
clean = { keep_last = 6 }
filters = { not_title = "Vinesauce Art Corner"}
[feeds.CrowVOD]
url = "https://www.youtube.com/channel/UCJDDY5VgK2jN5MFK3fHIMbA"
page_size = 3
update_period = "10m"
quality = "high"
format = "video"
max_height = 480
clean = { keep_last = 3 }
[feeds.VargFull]
url = "https://www.youtube.com/channel/UCRNCUBq676nUhXyy8AJzD5w"
page_size = 3
update_period = "10m"
quality = "high"
format = "video"
max_height = 480
clean = { keep_last = 3 }

0
.config/starship.toml Executable file → Normal file
View file

View file

@ -1,33 +0,0 @@
#!/usr/bin/fish
cd ~/Music/ACMUS
#set rofi rofi -sort -
if test "$argv"
if test -d "$argv"
cd "$argv"
else
set num (ls -d */ | sed -n 's/\(.\)[^ ]* */\L\1/g;/'"$argv"'/=')
set dir (ls -d */)
cd ./$dir[$num]
end
else
cd (ls -d */ |cut -f1 -d/ | eval "$rofi"dmenu -i)
end
xargs kill (pgrep (basename (status -f)) | grep -v $fish_pid) < ../.p
if not test (dirname $PWD) = (dirname (realpath (status -f)))
exit
end
if test (basename $PWD) = Kill
exit
end
while echo
mpv --no-video --loop (date +%H)* &\
jobs -p > ../.p &\
sleep (math 3600 - (date +%s) % 3600)
xargs kill < ../.p
end

View file

@ -1,5 +1,5 @@
#!/bin/sh
for i in $(grep works/[0-9]\* $@ -o | uniq | sed 's/works\///g' | sed '/^$/d')
do
aria2c https://download.archiveofourown.org/downloads/$i/\*.epub
aria2c https://download.archiveofourown.org/downloads/$i/\*.epub -d ao3
done

View file

@ -1,5 +0,0 @@
#!/bin/sh
for i in $(lynx -dump -hiddenlinks=listonly $@ | grep '\.epub' | awk 'FNR > 2 {print$2}' | grep http)
do
aria2c $i
done

1
.local/bin/ao3dl Symbolic link
View file

@ -0,0 +1 @@
ao3

View file

@ -1,23 +1,2 @@
#!/bin/sh
compare() {
for i in *
do
if [ `du "$i" | cut -f1` -lt `du ../"$i" | cut -f1` ]
then
echo $i
mv "$i" ../"$i"
fi
done
}
mkdir out
ls *.flac | parallel ffmpeg-static -hide_banner -i {} -c:v copy -c:a flac -compression_level 12 -af aresample=resampler=soxr:precision=32:dither_method=triangular -sample_fmt s16 $@ out/{}
cd out
compare
cd ..
cp *.flac out
cd out
ls | parallel flac -f -8 -V {}
compare
cd ..
rm -r out
optiflac -af aresample=resampler=soxr:precision=32:dither_method=triangular -sample_fmt s16 $@

1
.local/bin/invid Symbolic link
View file

@ -0,0 +1 @@
invidious

View file

@ -1,3 +0,0 @@
#!/bin/sh
cd ~/Videos/YouTube/
tmux new -s 1 -d "podsync-bin --no-banner"

View file

@ -1 +0,0 @@
waifu2x-vulkan

3
.local/bin/waifu2x Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
echo Usage: file scale noise
waifu2x-ncnn-vulkan -i $1 -o "${1%.*}"[x$2][L$3].png -s $2 -n $3

View file

@ -1,3 +0,0 @@
#!/bin/sh
echo Usage: file scale noise
waifu2x-ncnn-vulkan -i $1 -o "${1%.*}"[x$2][L$3].png -s $2 -n $3