Преглед изворни кода

Script to disable touchscreen

Viktor Grahn пре 2 година
родитељ
комит
a9035b0726
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      disableTouchScreen

+ 4 - 0
disableTouchScreen

@@ -0,0 +1,4 @@
+#!/bin/bash
+
+INPUT_ID=$(xinput list | grep "Wacom HID 4943 Finger" | sed 's/.*id=\([[:digit:]]\+\).*$/\1/')
+xinput disable ${INPUT_ID}