aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pomo/state.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pomo/state.rs b/src/pomo/state.rs
index e0faa70..83e2038 100644
--- a/src/pomo/state.rs
+++ b/src/pomo/state.rs
@@ -100,6 +100,13 @@ fn default_auto_switch() -> bool {
true
}
+#[derive(Serialize)]
+pub struct CurrentStatus {
+ pub text: String,
+ pub tooltip: String,
+ pub class: String,
+}
+
#[derive(Serialize, Deserialize, Clone)]
pub struct Task {
pub title: String,