aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/sb_test.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/.local/bin/sb_test.sh b/.local/bin/sb_test.sh
new file mode 100755
index 0000000..726c618
--- /dev/null
+++ b/.local/bin/sb_test.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+case $BUTTON in
+ # Left mouse click
+ 1) notify-send "$BUTTON" ;;
+
+ # Middle mouse click
+ 2) notify-send "$BUTTON" ;;
+
+ # Right mouse click
+ 3) notify-send "$BUTTON" ;;
+
+ # Mouse wheel up
+ 4) notify-send "$BUTTON" ;;
+
+ # Mouse wheel down
+ 5) notify-send "$BUTTON" ;;
+esac
+
+echo "Test"