summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-test
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dwmbar/dwmb-test')
-rwxr-xr-x.local/bin/dwmbar/dwmb-test3
1 files changed, 3 insertions, 0 deletions
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