[waybar] show nb files in secondbrain entree

This commit is contained in:
Christophe Robillard 2025-08-11 22:10:53 +02:00
parent 448762ff63
commit 9ef89b76d6
2 changed files with 11 additions and 2 deletions

View file

@ -27,10 +27,11 @@
"modules-right": [ "modules-right": [
// informational // informational
"custom/weather", "custom/weather",
"sway/language", "custom/nbfiles",
//"sway/language",
"custom/github", "custom/github",
"custom/clipboard", "custom/clipboard",
"custom/zeit", // "custom/zeit",
// "cpu", // "cpu",
// "temperature", // "temperature",
"battery", "battery",
@ -400,5 +401,10 @@
"interval": 10, "interval": 10,
"exec": "/home/krichtof/src/watson/waybar-watson.py" "exec": "/home/krichtof/src/watson/waybar-watson.py"
},
"custom/nbfiles": {
"format": "{text}",
"interval": 30,
"exec": "ls /home/krichtof/secondbrain/entree | wc -l"
} }
} }

View file

@ -2,6 +2,9 @@
#custom-uair.resumed { #custom-uair.resumed {
color: #f87171; color: #f87171;
} }
#custom-watson.nothing {
color: #f87171;
}
/* ============================================================================= /* =============================================================================
* *
* Waybar configuration * Waybar configuration