polybar-status-indicators

Freedesktop's StatusNotifierHost for polybar
git clone https://git.ce9e.org/polybar-status-indicators.git

commit
04507ae0bb1f6d0d2da4b5bedfad41995aecfffb
parent
119645a48f227c3e69900007a38559b82942ff9f
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2022-06-19 09:22
flush manually

Diffstat

M README.md 2 +-
M host.py 2 +-

2 files changed, 2 insertions, 2 deletions


diff --git a/README.md b/README.md

@@ -25,7 +25,7 @@ an example, not a turn-key solution.
   25    25 ```ini
   26    26 [module/indicators]
   27    27 type = custom/script
   28    -1 exec = python3 -u ~/polybar-status-indicators/host.py
   -1    28 exec = python3 ~/polybar-status-indicators/host.py
   29    29 tail = true
   30    30 ```
   31    31 

diff --git a/host.py b/host.py

@@ -51,7 +51,7 @@ def render():
   51    51 
   52    52         labels.append(label)
   53    53 
   54    -1     print(' '.join(labels))
   -1    54     print(' '.join(labels), flush=True)
   55    55 
   56    56 
   57    57 def get_item_data(conn, sender, path):