From 68c0c3eb36359af1cca560829c6a5a39abc51345 Mon Sep 17 00:00:00 2001 From: Mateja Date: Tue, 8 Jun 2021 21:40:02 +0200 Subject: Add status bar test script. --- .local/bin/sb_test.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 .local/bin/sb_test.sh (limited to '.local/bin') 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" -- cgit v1.2.3