commit 68da64c0a2d73461b4e7dae9d2dba7234b854f42
parent 2136010f74d5b9b99514fbd5ad244b107f76fd2d
Author: regexghost <dev@regexghost.com>
Date: Sun, 26 Jul 2026 14:48:49 +0100
kshrc updates, no 60fps youtube in download-vids.sh
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dotfiles/.kshrc b/dotfiles/.kshrc
@@ -61,14 +61,16 @@ alias wl='feh --bg-fill --no-fehbg ~/.config/regexghost/wallpaper.jpg'
alias capture-window='echo "Focus window to capture" && sleep 1 && id="$(xdotool getactivewindow)" && echo "Got id" && sleep 1 && import -frame -window "$id"'
alias da='download-vids && download-pods'
alias sshr='ssh racknerd'
+alias sshp='ssh piserver'
alias qv='~/.config/newsraft/queue-vid.sh'
alias dns='dig A +short'
alias vp='vid-play'
alias vps='vid-play -s'
alias pve='pipe-viewer'
-alias trash-size='du ~/.local/share/Trash/files/ -s -h | cut -f 1'
+alias trash-size='du -s -h ~/.local/share/Trash/files/ | cut -f 1'
alias sync='echo "Syncing"; sync; echo "Done"; lsblk'
alias man='MANWIDTH=$(($(stty size | cut -d " " -f 2)-20)) man'
+alias dff='df -h | grep -e Filesystem -e "^/dev" | grep -v efi'
web () {
case "$1" in
diff --git a/terminal-scripts/download-vids.sh b/terminal-scripts/download-vids.sh
@@ -5,7 +5,7 @@ targetDir="${LOC}/toDownload"
[ -d "$targetDir/done" ] || mkdir "$targetDir/done"
-quality_options_videos="bestvideo[height<=720][vcodec*=avc]+bestaudio[ext=m4a]"
+quality_options_videos="bestvideo[height<=720][fps<=30][vcodec*=avc]+bestaudio[ext=m4a]"
quality_options_shorts="bestvideo[width<=720][vcodec*=avc]+bestaudio[ext=m4a]"
filename_options="%(channel)s - %(title)s.%(ext)s"
sub_options="--embed-subs --all-subs"