Create waybar-config.jsonc
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user