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, pkgs,
username, username,
... ...
@ -50,6 +48,7 @@
// "wireplumber", // "wireplumber",
"group/audio", "group/audio",
"group/battery", "group/battery",
"custom/pomodoro",
"group/clock" "group/clock"
], ],
@ -367,6 +366,15 @@
"interval": 60, "interval": 60,
"format": "CEST: <span color='#aaaaaa'>{}</span> ", "format": "CEST: <span color='#aaaaaa'>{}</span> ",
"exec": "~/.local/bin/waybar-minutes" "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"
} }
} }
] ]