I like wavs...

This commit is contained in:
2024-09-28 11:39:48 +03:00
parent 488690f1a3
commit 7a195bfda8
2 changed files with 13 additions and 1 deletions

View File

@@ -197,3 +197,13 @@ ytclip () {
}
# vim:ft=zsh
mp3towav(){
[[ $# -eq 0 ]] && { echo "mp3wav mp3file"; exit 1; }
for i in "$@"
do
# create .wav file name
local out="${i%/*}.wav"
[[ -f "$i" ]] && { echo -n "Processing ${i}..."; mpg123 -w "${out}" "$i" &>/dev/null && echo "done." || echo "failed."; }
done
}

View File

@@ -436,4 +436,6 @@
(setq chezmoi-command "/home/linly/bin/chezmoi")
(setq auto-save-visited-mode t)
(setq alert-default-style 'libnotify)
(setq org-pomodoro-finished-sound "~/Music/yippee.mp3")
(setq org-pomodoro-finished-sound "~/Music/yippee.wav")
(setq org-pomodoro-short-break-sound "~/Music/shortbreak.wav")
(setq org-pomodoro-long-break-sound "~/Music/longbreak.wav")