From d427693f43ba211e35f18adc877f5df48e4724db Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 17 Oct 2020 02:01:11 -0400 Subject: Add clickable elements to dwmblocks scripts --- .local/bin/dwmbar/dwmb-test | 3 +++ 1 file changed, 3 insertions(+) (limited to '.local/bin/dwmbar/dwmb-test') diff --git a/.local/bin/dwmbar/dwmb-test b/.local/bin/dwmbar/dwmb-test index 485614e..7508072 100755 --- a/.local/bin/dwmbar/dwmb-test +++ b/.local/bin/dwmbar/dwmb-test @@ -1,3 +1,6 @@ #!/bin/sh cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 99 | head -n 1 +case $BLOCK_BUTTON in + 6) "$TERMINAL" -e "$EDITOR" "$0" ;; +esac \ No newline at end of file -- cgit v1.2.3