add scripts

This commit is contained in:
pim-wtf
2022-05-31 08:59:51 +02:00
parent 9084b7b763
commit d26f58c221
4 changed files with 15 additions and 0 deletions

3
cover_to_flac Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
metaflac --import-picture-from front.jpg *.flac

5
m4a_to_flac Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
for file in *.m4a ; do
ffmpeg -i "$file" -f flac "$( basename "$file" .m4a ).flac"
done

6
picom_toggle Executable file
View File

@ -0,0 +1,6 @@
if pgrep -x "picom" > /dev/null
then
pkill picom
else
picom -b
fi

1
setkb Executable file
View File

@ -0,0 +1 @@
setxkbmap -layout us -variant altgr-intl -option nodeadkeys