I didn't like that if I pressed SUPER accidentally, I had to press
ESC which is somewhere compleatly different on the keyboard. This
way it's much easier to close tofi.
Sometimes I don't want the computer to go to sleep bacause I'm
running something in the background. for that I always used
systemd-inhibit sleep 999999 manually on the terminal, but I want
it to be easy to use without remembering the whole command every
time.
Therefor I added a custom button to waybar which does that for me.
Also to start it, for some reason it needs to be killed and
there needs to be a sleep, etc. to avoid some race conditions.
Therefor I added this weird shell script to start it.