]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commit
Allow 40autorandr to handle any order fields from loginctl
authorAustin Glaser <austin@boulderes.com>
Tue, 30 Aug 2016 04:48:32 +0000 (22:48 -0600)
committerAustin Glaser <austin@boulderes.com>
Tue, 30 Aug 2016 04:48:32 +0000 (22:48 -0600)
commit8467e92bd5d04acbfc263e25bf55a71082df7b15
tree884ff674cf2e744b8f7689bd708fc47fd87b0823
parent756bf74c1301378f15cbe94b1a3ae2d5cf071a9d
Allow 40autorandr to handle any order fields from loginctl

This could be done a great deal more cleanly using bash regex matching;
however, as is stated elsewhere, the script will not always be executed
with bash.

There may be some merit to causing the script to always be executed with
bash (`#! /bin/bash` or even `#! /usr/bin/env bash`), but I'll admit I
don't know how widely installed bash is. I've certainly never found a
modern Linux install without bash, but my experience isn't the widest.
contrib/pm-utils/40autorandr