From e8c64f46d9a8e79afb13874813fa6a739025d28c Mon Sep 17 00:00:00 2001 From: MaxVerevkin Date: Tue, 31 Jan 2023 23:39:16 +0200 Subject: abstract over tag and layout name provider --- src/shared_state.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/shared_state.rs') diff --git a/src/shared_state.rs b/src/shared_state.rs index dd18606..fd4084e 100644 --- a/src/shared_state.rs +++ b/src/shared_state.rs @@ -1,4 +1,7 @@ -use crate::{config::Config, i3bar_protocol::Block, state::ComputedBlock, status_cmd::StatusCmd}; +use crate::{ + config::Config, i3bar_protocol::Block, state::ComputedBlock, status_cmd::StatusCmd, + wm_info_provider::WmInfoProvider, +}; use wayrs_shm_alloc::ShmAlloc; pub struct SharedState { @@ -7,4 +10,5 @@ pub struct SharedState { pub status_cmd: Option, pub blocks: Vec, pub blocks_cache: Vec, + pub wm_info_provider: Option>, } -- cgit v1.3.1