Get primary display automatically
This commit is contained in:
parent
85003c7c36
commit
b2d4605c58
1 changed files with 1 additions and 2 deletions
|
@ -10,11 +10,10 @@ fi
|
||||||
if [ $# -eq 1 ]; then
|
if [ $# -eq 1 ]; then
|
||||||
display=$1
|
display=$1
|
||||||
else
|
else
|
||||||
display=eDP1
|
display="$(xrandr | awk '/primary/ { print $1 }')"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if xinput list | grep -q Bamboo; then
|
if xinput list | grep -q Bamboo; then
|
||||||
devfinger="Wacom Bamboo 16FG 4x5 Finger touch"
|
devfinger="Wacom Bamboo 16FG 4x5 Finger touch"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue