diff --git a/waybar/config.jsonc b/waybar/config.jsonc index fae05d8..ee2e132 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -27,10 +27,11 @@ "modules-right": [ // informational "custom/weather", - "sway/language", + "custom/nbfiles", + //"sway/language", "custom/github", "custom/clipboard", - "custom/zeit", + // "custom/zeit", // "cpu", // "temperature", "battery", @@ -400,5 +401,10 @@ "interval": 10, "exec": "/home/krichtof/src/watson/waybar-watson.py" + }, + "custom/nbfiles": { + "format": "{text}", + "interval": 30, + "exec": "ls /home/krichtof/secondbrain/entree | wc -l" } } diff --git a/waybar/style.css b/waybar/style.css index 743481d..6f5a432 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -2,6 +2,9 @@ #custom-uair.resumed { color: #f87171; } +#custom-watson.nothing { + color: #f87171; +} /* ============================================================================= * * Waybar configuration