A while ago I got irritated how messy my i3 config file looked, and I researched alternative hotkey managers. I tried sxhkd and it is a fine piece of code. I got a much cleaner setup of the hotkeys and I could do stuff that i wasn’t able to do with i3. But a couple of days ago, i realized that my i3 config could be just as clean as sxhkd by using variables .