From 447ad9dc6afc9d3efb733f4f0a8688acae54f6a6 Mon Sep 17 00:00:00 2001 From: RanXom Date: Sat, 13 Jun 2026 00:51:47 +0530 Subject: include session info in exported status --- src/pomo/mod.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/pomo') diff --git a/src/pomo/mod.rs b/src/pomo/mod.rs index 22deb4a..bff80a9 100644 --- a/src/pomo/mod.rs +++ b/src/pomo/mod.rs @@ -28,8 +28,14 @@ impl Pomo { SessionMode::Work => "Work", }; + let icon = match self.mode { + SessionMode::Work => "󰄉", + SessionMode::ShortBreak => "󰾅", + SessionMode::LongBreak => "󰒲", + }; + CurrentStatus { - text: format_duration(self.time_remaining), + text: format!("{icon} {tooltip} {}", format_duration(self.time_remaining)), tooltip: tooltip.to_string(), class: class.to_string(), } -- cgit v1.2.3