

I mostly write utilities/tools like this. Some examples from my ~/bin/ folder:
- A script that turns caps lock off and numlock on, and remaps caps lock to compose. I have this run by cron every minute.
- A script that saves the current buffer of my continously running screen recorder to a file. Bound to the Lenovo coilot key.
- A half-finished script that downloads and installs the latest version of discord, as Discord and ants me to manually upgrade it every time I start it.
Edit: OH, and on my work laptop I have a script named Fnkeyfuckery. The keyboard layout is annoying in that I have to choose between Function keys or have Home+End.
I want my function keys AND I want home+end. Luckily I don’t need F11 and F12 very often, so I’swapped around those two with their alternate function. That way I have F1 through F10, Home and End by default, and if I hold Fn I can have F11 and F12 too. It runs on startup.
Why: I case I want to show something unplanned to someone. Freak accident in a game, for example.
Disk: It’s only keeping the latest 30 minutes in a buffer. Saving basically means copying that buffer to a different file.