This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- MS Teams on Linux doesn't show the window decorations, let's fix that | |
-- drop this in your devilspie2 folder, typically ~/.config/devilspie2 and start devilspie2 | |
if string.match(get_window_name(), "Microsoft Teams") then | |
decorate_window(); | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# run this in the background once you log in | |
while true; | |
do mate-screensaver-command -q|grep -wq active && amixer -q -D pulse sset Master off || amixer -q -D pulse sset Master on; sleep 10; done | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# set alpine to | |
# newmail-fifo-path=~/tmp/alpine.fifo | |
# then | |
fifofile=~/tmp/alpine.fifo | |
while true; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# drop it in ~/bin and install ffmpeg | |
# usage: convertwhatsapp.sh video.file | |
ffmpeg -i "$1" -strict -2 -c:v libx264 -c:a aac "whatsapp-$1.mp4" |