diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-17 02:01:11 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-17 02:01:11 -0400 |
commit | d427693f43ba211e35f18adc877f5df48e4724db (patch) | |
tree | 51d25a2b70c14644c1c07a366d5b75740d4017e7 /.local/bin/dwmbar/dwmb-test | |
parent | eec12916e3b113825420c3e6731f87b770487245 (diff) |
Add clickable elements to dwmblocks scripts
Diffstat (limited to '.local/bin/dwmbar/dwmb-test')
-rwxr-xr-x | .local/bin/dwmbar/dwmb-test | 3 |
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 |