add README

This commit is contained in:
Thomas Ruoff
2014-07-28 17:02:59 +02:00
parent 03f3025317
commit 89d147d6e6

View File

@@ -1,2 +1,14 @@
switchmon # SWM - Switch Monitors
=========
Simple helper for turning on/off connected/disconnected monitors with `xrandr`.
It uses `xrandr` to detect on which connectors there are monitors connected. It
then runs `xrandr` and sets all disconnected monitors to `off` and all connected
monitors to `on`.
Monitors will be turned on with xrandr `--auto` option which tries to detect
the optimal video setting.
If there are multiple monitors connected, each monitor is placed to the right
of the previous monitor. This order is currently driven as xrandr lists the
connectors.