summaryrefslogtreecommitdiff
path: root/scripts/.local/bin/tab-buttons
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/.local/bin/tab-buttons')
-rwxr-xr-xscripts/.local/bin/tab-buttons10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/.local/bin/tab-buttons b/scripts/.local/bin/tab-buttons
new file mode 100755
index 0000000..a056d19
--- /dev/null
+++ b/scripts/.local/bin/tab-buttons
@@ -0,0 +1,10 @@
+pad=$(xsetwacom list | grep pad | cut -f 1 | xargs)
+
+xsetwacom --set "$pad" Button 1 "key +shift +alt p -alt -shift"
+xsetwacom --set "$pad" Button 2 "key +shift +alt a -alt -shift"
+xsetwacom --set "$pad" Button 3 12
+xsetwacom --set "$pad" Button 8 13
+xsetwacom --set "$pad" Button 9 14
+xsetwacom --set "$pad" Button 10 "key +shift +alt l -alt -shift"
+xsetwacom --set "$pad" Button 11 "key +shift +alt s -alt -shift"
+xsetwacom --set "$pad" Button 12 "key +ctrl z -ctrl"