Hello everyone. In this video I explain what I did to get a macro file running in Linux. On Windows I was heavily using Autohotkey to improve my quality of life but on Linux that is not an option since AHK doesn't run on Linux. In order to get something similar going I chose to write a macro file in python, which (for me at least, because I'm not an experienced coder) has some limitations compared to Autohotkey, but it was the closest that I could get to what I needed from it.
Chapters
--------------
00:00 Intro
01:00 Getting the macro file running
01:56 Setting the correct input device to read from
03:55 How to read keyboard input
05:18 How to setup a loop of actions
07:25 How to run terminal commands through the script
08:00 How to send keys and key combos
09:19 How to change audio output device
10:23 Outro