Skip to content

Instantly share code, notes, and snippets.

View wknapik's full-sized avatar

Wojciech Knapik wknapik

View GitHub Profile
@wknapik
wknapik / README
Last active January 28, 2019 14:54
Lenovo Thinkpad P50, dock with external monitor, udev + xrandr auto switching
This switches between the laptop monitor ($intern) when undocked and a two monitor setup when docked ($extern right of $intern).
ENV{ID_VENDOR_ID}, ENV{ID_MODEL_ID}, x_user and intern need to be set.
Based on the Arch wiki, StackExchange and Google.