• 0 Posts
  • 20 Comments
Joined 1 year ago
cake
Cake day: June 16th, 2023

help-circle















  • alias getmp4="yt-dlp -f 'bestvideo+bestaudio[ext=m4a]/best[ext=mp4]' --recode-video mp4"
    alias getmp3="yt-dlp -x --audio-format mp3"
    alias downloadwebsite="wget -mkEpnp"
    
    flushall () {
    	sudo pacman -Scc
    	sudo pacman -Rns $(pacman -Qdtq)
    	flatpak uninstall --unused
    }
    
    updateall () {
    	yay
    	flatpak update
    	while
    		read -p "Clear cache and uninstall orphans? (y/N)" answer
    	do
    		case $answer in
    			([yY][eE][sS] | [yY]) flushall;;
    			(*) break;;
    		esac
    	done
    }