This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |