mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 23:01:04 +02:00
feat(focused): ability to truncate label text
This commit is contained in:
parent
97502559b3
commit
07dbf78010
6 changed files with 77 additions and 61 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue