Skip to content

Instantly share code, notes, and snippets.

View johansson's full-sized avatar

Will Johansson johansson

View GitHub Profile
#!/usr/bin/env runhaskell
import System.Process (callCommand)
runcmd args =
putStrLn ("+ " ++ cmd) >> callCommand cmd
where cmd = unwords args
-- (Name of your laptop's internal display, x res, y res)
(internalOutput, intX, intY) = ("eDP1", 3840, 2160)