summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-date
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dwmbar/dwmb-date')
-rwxr-xr-x.local/bin/dwmbar/dwmb-date4
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/bin/dwmbar/dwmb-date b/.local/bin/dwmbar/dwmb-date
index 9f2d485..cb6a54b 100755
--- a/.local/bin/dwmbar/dwmb-date
+++ b/.local/bin/dwmbar/dwmb-date
@@ -1,3 +1,7 @@
#!/bin/sh
date +"  %a %b %d "
+
+case $BLOCK_BUTTON in
+ 6) "$TERMINAL" -e "$EDITOR" "$0" ;;
+esac