From dd39fb6facd4845e411cb21785c94fbf2cdedf68 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Thu, 1 Jan 2026 14:39:51 +0100 Subject: [PATCH] feat: adds pomodoro module --- modules/home/waybar/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/modules/home/waybar/default.nix b/modules/home/waybar/default.nix index 6f2bfbf..0778834 100644 --- a/modules/home/waybar/default.nix +++ b/modules/home/waybar/default.nix @@ -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: {} ", "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" } } ]