Created
June 8, 2021 11:58
-
-
Save arnabsen1729/7496c8e1935874ca0dce88b9dac7837e to your computer and use it in GitHub Desktop.
Scrip to assign shortcut keys to my H950P Huion tablet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PAD_NAME=$(xsetwacom --list devices | grep pad | cut -f 1 | awk '{$1=$1;print}') | |
xsetwacom --set "${PAD_NAME}" Button 1 "key +ctrl +c -c -ctrl" | |
xsetwacom --set "${PAD_NAME}" Button 2 "key +ctrl +v -v -ctrl" | |
xsetwacom --set "${PAD_NAME}" Button 3 "key +ctrl +z -z -ctrl" | |
xsetwacom --set "${PAD_NAME}" Button 8 "key +ctrl +a -a -ctrl" | |
xsetwacom --set "${PAD_NAME}" Button 9 "key +BackSpace -BackSpace" | |
xsetwacom --set "${PAD_NAME}" Button 11 "key +ctrl + -ctrl" | |
xsetwacom --set "${PAD_NAME}" Button 12 "key +ctrl - -ctrl" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment