Compare commits

...

2 Commits

Author SHA1 Message Date
Lukáš Kucharczyk 2e029290f9
copy_potd.sh: add TODO 2022-10-26 12:19:13 +02:00
Lukáš Kucharczyk 647c207091
convert_to_flac.sh: add 2022-10-26 12:19:03 +02:00
2 changed files with 5 additions and 0 deletions

2
convert_to_flac.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/env bash
for i in *.m4a; do ffmpeg -i "$i" -c:a flac "${i%.*}.flac"; done

View File

@ -21,3 +21,6 @@ else
echo "$ORIGINAL does not exist."
exit 1
fi
# TODO: use below to create "copy all wallpapers" function
# for file in $HOME/.cache/plasma_engine_potd/*; do bfile=$(basename $file); cp "$file" "$HOME/Pictures/wallpapers/${bfile}_${TODAY}.jpg"; done