commit 26f0f46c7172519c650dffde0b6df7d727e23da0 parent ba54bd7e4184c2d1a1e6d4f75399aef3ccb38533 Author: Daniel Barlow <dan@telent.net> Date: Sat, 26 Mar 2022 18:07:34 +0000 README: delete outdated example Diffstat:
| M | blinkenlicht/README.md | | | 31 | ------------------------------- |
1 file changed, 0 insertions(+), 31 deletions(-)
diff --git a/blinkenlicht/README.md b/blinkenlicht/README.md @@ -46,34 +46,3 @@ Gtk will find it anyway. Magic. * [ ] set poll interval based on indicators' requested intervals * [X] set indicator background colour (use css for this?) * [ ] allow indicator to change styles based on status - -```fennel - -;; your status bar specification might look something like this - -(bar - { - :anchor [:top :right] - :orientation :horizontal - :indicators - [ - (indicator { - :interval 200 - :icon #(if (> loadavg 2) "sad-face" "happy-face") - }) - (let [f (io.open "/tmp/statuspipe" "r")] - (indicator { - :poll [f] - :text #(f:read:sub 1 10) - })) - (indicator { - :interval 5000 - :text #(.. (disk-free-percent "/") "%") - :on-click #(spawn "baobab") - }) - (indicator { - :interval 1000 - :text #(os.date "%X") - }) - ]}) -```