Create waybar-config.jsonc

This commit is contained in:
2026-09-02 13:09:22 +02:00
parent ef4eca198e
commit baa1b30b4d
+19
View File
@@ -0,0 +1,19 @@
{
// Add "custom/timetrack" to whichever module list you use, e.g.:
"modules-center": ["custom/timetrack"],
"custom/timetrack": {
// Update this path to wherever you placed time_track.py
"exec": "/home/fegger/Code/projects/time_track/time_track.py status",
"interval": 5,
// IMPORTANT: do not leave this empty. "{}" is replaced by the
// "text" field from the JSON emitted by the script.
"format": "{}",
"return-type": "json",
"on-click": "/home/fegger/Code/projects/time_track/time_track.py toggle",
"on-click-right": "/home/fegger/Code/projects/time_track/time_track.py timesheet week",
"tooltip": true
}
}