Super hacky shell wrapper around lemonbar that aims to poll as little as possible, minimising bar updates to the screen and reduce resource usage.
git clone https://mcol.xyz/code/lemontools
Log | Files | Refs | README | LICENSE

commit f65ee0175dec9d56a3d1a83371db593e8b7cc9dd
parent 4f59f2d84e9167fc728e982a8ddc7903f67d349c
Author: mcol <mcol@posteo.net>
Date:   Sun, 20 Jan 2019 13:43:00 +0000

added shutdown module

Diffstat:
Amodules/shutdown | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/modules/shutdown b/modules/shutdown @@ -0,0 +1,12 @@ +#---------------------------------------------------------------------------------- +# shutdown module +#---------------------------------------------------------------------------------- + +_shutdown() { + get_clicks shutdown + echo "shutdown=${shutdown_pre}${pad}${pad}${shutdown_post}" \ + > $fifo 2>> $log & +} + + +# vim: ft=sh