From 74cc46a2383db5538d7e0392e4b79b7287775e9b Mon Sep 17 00:00:00 2001 From: MaxVerevkin Date: Thu, 7 Sep 2023 00:47:28 +0300 Subject: hyprland again --- src/shared_state.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/shared_state.rs') diff --git a/src/shared_state.rs b/src/shared_state.rs index a4ff48f..50ab77a 100644 --- a/src/shared_state.rs +++ b/src/shared_state.rs @@ -19,4 +19,8 @@ impl SharedState { pub fn get_river(&mut self) -> Option<&mut wm_info_provider::RiverInfoProvider> { self.wm_info_provider.as_mut()?.as_any().downcast_mut() } + + pub fn get_hyprland(&mut self) -> Option<&mut wm_info_provider::Hyprland> { + self.wm_info_provider.as_mut()?.as_any().downcast_mut() + } } -- cgit v1.3.1