summaryrefslogtreecommitdiffstats
path: root/py3status/modules/glpi.py
diff options
context:
space:
mode:
Diffstat (limited to 'py3status/modules/glpi.py')
-rw-r--r--py3status/modules/glpi.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/py3status/modules/glpi.py b/py3status/modules/glpi.py
index 86922f8..db648e0 100644
--- a/py3status/modules/glpi.py
+++ b/py3status/modules/glpi.py
@@ -60,6 +60,10 @@ if __name__ == "__main__":
"""
from time import sleep
x = Py3status()
+ config = {
+ 'color_good': '#00FF00',
+ 'color_bad': '#FF0000',
+ }
while True:
- print(x.count_glpi_open_tickets([], {}))
+ print(x.count_glpi_open_tickets([], config))
sleep(1)