.PP
\fB\-d\fR, \fB\-\-default\fR <profile>
.RS 4
-make profile <profile> the default profile
+use profile <profile> if no other profile matches. [Most useful if set
+in ~/.config/autorandr/settings.ini].
.RE
.PP
\fB\-\-skip\-options\fR <option>
vertical
Stack all connected outputs vertically at their largest resolution
.SH "EXAMPLES"
-# save the current setup and make it the default
+# save the current setup and set default
.RE
autorandr \-\-save mysetup
.RE
-autorandr \-\-default mysetup
+echo -e '[config]\\ndefault=mysetup' > ~/.config/autorandr/settings.ini
.RE
# put laptop in dock (or plug in additional monitors)
.RE
--- /dev/null
+[Unit]
+Description=autorandr execution hook
+After=sleep.target
+# Note: StartLimitInterval was renamed to StartLimitIntervalSec in systemd-230.
+# See autorandr bug #69. Do not rename for now, as the old name is kept for
+# compatibility.
+StartLimitInterval=5
+StartLimitBurst=1
+
+[Service]
+ExecStart=/usr/bin/autorandr --batch --change
+Type=oneshot
+RemainAfterExit=false
+
+[Install]
+WantedBy=sleep.target
* New upstream release
- Use stdout for state output (Closes: #891054)
- Provide --current and --detected (Closes: #891055)
+ * Remove --default from service; this should now be specified in a
+ configuration file.
+ * Document how --default works better (Closes: #891061)
-- Don Armstrong <don@debian.org> Tue, 03 Apr 2018 13:56:17 -0700