Skip to content

Instantly share code, notes, and snippets.

will go here
### Keybase proof
I hereby claim:
* I am bagrounds on github.
* I am bagrounds (https://keybase.io/bagrounds) on keybase.
* I have a public key ASA8aUC6N8Z4aPvrgayFWXC6rkYsRgojHhwY3HCn7CK3-wo
To claim this, I am signing this object:
@bagrounds
bagrounds / remap-caps-to-control.hs
Last active May 19, 2019 19:29
Stack script that remaps the caps lock key to control
#!/usr/bin/env stack
--stack --resolver lts-13.21 script --package process --package optparse-applicative
import Options.Applicative
import System.Process (callProcess)
main :: IO ()
main = execParser options >>= run
run :: Options -> IO ()