mirror of
https://github.com/Ascyii/scripts.git
synced 2026-01-01 04:44:24 -05:00
Init
This commit is contained in:
12
shell/rnote_mapper.sh
Executable file
12
shell/rnote_mapper.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "okay"
|
||||
|
||||
libinput debug-events | while read -r line; do
|
||||
if echo "$line" | grep -q 'TABLET_PAD_BUTTON.*10 pressed'; then
|
||||
echo "Tablet Button 6 pressed. Launching Rnote..."
|
||||
rnote &
|
||||
# optional: add `disown` if you don't want it tied to terminal
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user