From 1851c56e407cac72ca104cc5e75692cd9c648986 Mon Sep 17 00:00:00 2001 From: MaxVerevkin Date: Mon, 8 Aug 2022 23:12:23 +0300 Subject: rewrite using latest walayd libs & implement HiDPI --- src/shared_state.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/shared_state.rs (limited to 'src/shared_state.rs') diff --git a/src/shared_state.rs b/src/shared_state.rs new file mode 100644 index 0000000..c4ec9d6 --- /dev/null +++ b/src/shared_state.rs @@ -0,0 +1,18 @@ +use smithay_client_toolkit::{reexports::client::QueueHandle, shm::slot::SlotPool}; + +use crate::{ + config::Config, + i3bar_protocol::Block, + state::{ComputedBlock, State}, + status_cmd::StatusCmd, +}; + +#[derive(Debug)] +pub struct SharedState { + pub qh: QueueHandle, + pub pool: SlotPool, + pub config: Config, + pub status_cmd: Option, + pub blocks: Vec, + pub blocks_cache: Vec, +} -- cgit v1.3.1