feat: adds pomodoro module

This commit is contained in:
Ahwx 2026-01-01 14:39:51 +01:00
parent e20f6fdff2
commit dd39fb6fac

View file

@ -1,6 +1,4 @@
{
config,
lib,
pkgs,
username,
...
@ -50,6 +48,7 @@
// "wireplumber",
"group/audio",
"group/battery",
"custom/pomodoro",
"group/clock"
],
@ -367,6 +366,15 @@
"interval": 60,
"format": "CEST: <span color='#aaaaaa'>{}</span> ",
"exec": "~/.local/bin/waybar-minutes"
},
"custom/pomodoro": {
"interval": 1,
"format": "{}",
"return-type": "json",
"exec": "waybar-module-pomodoro --no-work-icons",
"on-click": "waybar-module-pomodoro toggle",
"on-click-right": "waybar-module-pomodoro reset"
}
}
]