diff options
| -rw-r--r-- | src/pomo/mod.rs | 8 |
1 files changed, 7 insertions, 1 deletions
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(), } |