Content-Type: text/shitpost


Subject: Software Archaeology
Path: you​!your-host​!wintermute​!wikipedia​!twirlip​!glados​!extro​!goatrectum​!plovergw​!shitpost​!mjd
Date: 2018-12-09T13:30:27
Newsgroup: alt.sex.shuffle
Message-ID: <3b22e875a2d4421a@shitpost.plover.com>
Content-Type: text/shitpost

In a previous article I described how I discovered that the utility I needed was already available in my bin, because I had written in twelve years previously, but then forgotten.

Another episode in this series: I save screen and monitor configurations in files under ~/.screenlayout; each is a shell script which, when run, resets the display to use its particular layout. So for example home.sh is for the two-monitor setup I use at home and work.sh is for the two-monitor setup I use at work, where the second monitor is vertically oriented and the primary monitor is farther from my eyes.

Yesterday I wanted a home setup where both monitors had the same resolution and the same display. I opened arandr and set it up the way I wanted, and then prepared to save it to .screenlayout/home-merged.sh.

Except that file already existed, and guess what was in it?