From 26f0f46c7172519c650dffde0b6df7d727e23da0 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sat, 26 Mar 2022 18:07:34 +0000 Subject: [PATCH] README: delete outdated example --- blinkenlicht/README.md | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/blinkenlicht/README.md b/blinkenlicht/README.md index f2ea646..5487e65 100644 --- 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") - }) - ]}) -```