feat(focused): ability to truncate label text

This commit is contained in:
Jake Stanger
2023-01-28 23:01:44 +00:00
parent 97502559b3
commit 07dbf78010
6 changed files with 77 additions and 61 deletions

View File

@@ -1,4 +1,5 @@
mod r#impl;
mod truncate;
use crate::modules::clock::ClockModule;
use crate::modules::custom::CustomModule;
@@ -13,6 +14,8 @@ use crate::script::ScriptInput;
use serde::Deserialize;
use std::collections::HashMap;
pub use self::truncate::{EllipsizeMode, TruncateMode};
#[derive(Debug, Deserialize, Clone)]
pub struct CommonConfig {
pub show_if: Option<ScriptInput>,