Various Changes

modified:   .config/lf/lfrc
	modified:   .config/mpd/playlists/lofi.m3u
	deleted:    .config/mpd/playlists/lofi2.m3u
	modified:   .config/qutebrowser/autoconfig.yml
	modified:   .config/qutebrowser/bookmarks/urls
	modified:   .config/qutebrowser/qsettings/QtProject.conf
	modified:   .config/xprofile
	deleted:    .local/bin/dropdowncalc
	modified:   .local/bin/statusbar/cpu
	modified:   .local/bin/statusbar/music
	modified:   .local/bin/tools/ripper
This commit is contained in:
2020-08-29 16:54:11 +02:00
parent f75a8b0cbc
commit b232e578b1
11 changed files with 18 additions and 749 deletions

View File

@ -1,16 +0,0 @@
#!/bin/sh
ifinstalled python && python -iq -c "print('Welcome to the Calculator')
from numpy import *
import sys
import matplotlib.pyplot as plt
sys.ps1=''
def plot(a, b, f):
x = linspace(a, b, 1000)
y = eval(f)
plt.plot(x, y)
plt.xlabel('x')
plt.ylabel(f)
plt.show()
"

View File

@ -8,5 +8,4 @@ case $BLOCK_BUTTON in
esac
temp=$(sensors | awk '/Package id 0/ {print "🌡"$4}' | sed 's/\.[0-9]//; s/+//')
[ -n "$temp" ] && echo $temp > /tmp/cpu_temp
cat /tmp/cpu_temp
[ -n "$temp" ] && echo "$temp"

View File

@ -1,5 +1,6 @@
#!/bin/sh
if [ $( mpc status | grep '\[paused\]' | wc -l ) -eq 1 ]; then
printf '\n'
exit
fi

View File

@ -30,7 +30,7 @@ if [ $number -gt 0 ]; then
echo "$number new videos for download available, downloading now."
grep -vf /tmp/alreadydownloaded /tmp/todownload | sort -u | xargs -L1 youtube-dl --get-filename -o "'%(uploader)s' '%(title)s'" $1 | xargs -L1 notify-send
grep -vf /tmp/alreadydownloaded /tmp/todownload | sort -u | grep 'youtube' | xargs -r -L1 youtube-dl --hls-prefer-native -i --download-archive $DLARCHIVE --dateafter $range -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' --add-metadata -o "$DLLOC/%(uploader)s/%(upload_date)s-%(title)s.%(ext)s"
grep -vf /tmp/alreadydownloaded /tmp/todownload | sort -u | grep 'bitchute' | xargs -r -L1 youtube-dl --hls-prefer-native -i --download-archive $DLARCHIVE -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' --add-metadata -o "$DLLOC/%(uploader)s/%(title)s.%(ext)s"
grep -vf /tmp/alreadydownloaded /tmp/todownload | sort -u | grep 'bitchute' | xargs -r -L1 youtube-dl --hls-prefer-native -i --download-archive $DLARCHIVE -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' --add-metadata -o "$DLLOC/%(uploader)s/%(upload_date)s-%(title)s.%(ext)s"
notify-send "Channel Ripper" "Finished downloading"
fi