Get primary display automatically

This commit is contained in:
Nico Schottelius 2018-04-03 17:26:41 +02:00
parent 85003c7c36
commit b2d4605c58
1 changed files with 1 additions and 2 deletions

View File

@ -10,11 +10,10 @@ fi
if [ $# -eq 1 ]; then
display=$1
else
display=eDP1
display="$(xrandr | awk '/primary/ { print $1 }')"
fi
if xinput list | grep -q Bamboo; then
devfinger="Wacom Bamboo 16FG 4x5 Finger touch"