Commit 5b663f46 authored by Nico Schottelius's avatar Nico Schottelius

Detect primary automatically

parent 7cb93260
......@@ -5,7 +5,7 @@ if [ "$#" -lt 1 ]; then
set -- "$@" above
fi
primary=eDP1
primary=$(xrandr | awk '/primary/ { print $1}')
# position: something xrandr understands
position=$1; shift
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment