Merged old and new scripts folder + minor changes
This commit is contained in:
21
connect_wacom.sh
Executable file
21
connect_wacom.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Connecting Inutuos BT M.."
|
||||
bluetoothctl connect $(bluetoothctl devices | grep Intuos | awk '{ print $2 }')
|
||||
|
||||
sleep 2
|
||||
|
||||
echo "Setting up single monitor setup.."
|
||||
xinput_out=$(xinput | grep Wacom | awk '{ print $9 }')
|
||||
|
||||
wacoms=$(echo $xinput_out | tr " " "\n")
|
||||
|
||||
wacoms=${wacoms/id=/}
|
||||
wacoms=${wacoms/id=/}
|
||||
|
||||
for w in $wacoms
|
||||
do
|
||||
xinput map-to-output $w DisplayPort-0
|
||||
done
|
||||
|
||||
echo "done."
|
Reference in New Issue
Block a user