i3bar colors/config tweaks

telega desktop entry
m4atowav sh function
This commit is contained in:
2024-10-19 09:22:16 +03:00
parent 7a195bfda8
commit 2a3bb40fb6
6 changed files with 107 additions and 3 deletions

View File

@@ -207,3 +207,7 @@ mp3towav(){
[[ -f "$i" ]] && { echo -n "Processing ${i}..."; mpg123 -w "${out}" "$i" &>/dev/null && echo "done." || echo "failed."; }
done
}
m4atowav(){
local out="${1%.*}.wav"
ffmpeg -i ${1} -f wav ${1%.*}.wav
}