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-layout | 3 +++ 1 file changed, 3 insertions(+) (limited to '.local/bin/dwmbar/dwmb-layout') diff --git a/.local/bin/dwmbar/dwmb-layout b/.local/bin/dwmbar/dwmb-layout index 3cd1132..47e2dec 100755 --- a/.local/bin/dwmbar/dwmb-layout +++ b/.local/bin/dwmbar/dwmb-layout @@ -1,3 +1,6 @@ #!/bin/sh echo "  $(cat $HOME/.cache/layout) " +case $BLOCK_BUTTON in + 6) "$TERMINAL" -e "$EDITOR" "$0" ;; +esac \ No newline at end of file -- cgit v1.2.3