diff options
Diffstat (limited to '.config/waybar/config.jsonc')
| -rw-r--r-- | .config/waybar/config.jsonc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 4d3fdaf..7736710 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -39,7 +39,7 @@ // ------------------------------------------------------------------------ // - "modules-center": ["custom/weather", "clock#local", "clock#utc", "custom/toggl"], + "modules-center": ["custom/weather", "clock#local", "clock#utc", "custom/timetracked"], "custom/weather": { "format": "{icon} {percentage}℃", @@ -90,6 +90,13 @@ "return-type": "json" }, + "custom/timetracked": { + "format": "{}", + "exec": "$HOME/.config/waybar/modules/timetracked.sh", + "escape": true, + "return-type": "json" + }, + // ------------------------------------------------------------------------ // "modules-right": ["tray", "cpu", "memory", "disk#root", "disk#home", "temperature", "idle_inhibitor", "backlight", "custom/gamma", "pulseaudio", "network#mullvad", "network#tailscale", "network", "battery"], |