Files
2026-09-02 13:09:22 +02:00

20 lines
660 B
JSON

{
// 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
}
}