aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-06-08 21:40:02 +0200
committerMateja <mail@matejamaric.com>2021-06-08 21:40:02 +0200
commit68c0c3eb36359af1cca560829c6a5a39abc51345 (patch)
tree8b775965ec73ac47370efd34d9329aa8a1f372a3
parent3858306acd6ebf93ee826a1c161d3096f6b0bf35 (diff)
downloaddotfiles-68c0c3eb36359af1cca560829c6a5a39abc51345.tar.gz
dotfiles-68c0c3eb36359af1cca560829c6a5a39abc51345.zip
Add status bar test script.
-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"