From 96543db93cab410c15e4b4b8b3fc589d3c7066ee Mon Sep 17 00:00:00 2001 From: MaxVerevkin Date: Sun, 3 Sep 2023 18:16:45 +0300 Subject: remove mentions of hyprland supprot from readme & some dead code --- README.md | 4 ---- src/protocol.rs | 3 --- src/shared_state.rs | 5 ----- 3 files changed, 12 deletions(-) diff --git a/README.md b/README.md index b0e2268..b5f2aea 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,6 @@ A list of things that are missing (for now): - Support for rounded corners - Show/hide with `pkill -SIGUSR1 i3bar-river` -## Hyprland support - -Hyprland/wlr_ext_workspaces support is experimental and is behind `hyprland` feature flag. Build with `-F hyprland` to enable it. - ## Installation [![Packaging status](https://repology.org/badge/vertical-allrepos/i3bar-river.svg)](https://repology.org/project/i3bar-river/versions) diff --git a/src/protocol.rs b/src/protocol.rs index d14d92a..5b30463 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -4,6 +4,3 @@ pub use wayrs_protocols::viewporter::*; pub use wayrs_protocols::wlr_layer_shell_unstable_v1::*; wayrs_client::scanner::generate!("protocols/river-status-unstable-v1.xml"); wayrs_client::scanner::generate!("protocols/river-control-unstable-v1.xml"); - -#[cfg(feature = "hyprland")] -wayrs_client::scanner::generate!("protocols/ext-workspace-unstable-v1.xml"); diff --git a/src/shared_state.rs b/src/shared_state.rs index 936b29a..a4ff48f 100644 --- a/src/shared_state.rs +++ b/src/shared_state.rs @@ -19,9 +19,4 @@ impl SharedState { pub fn get_river(&mut self) -> Option<&mut wm_info_provider::RiverInfoProvider> { self.wm_info_provider.as_mut()?.as_any().downcast_mut() } - - #[cfg(feature = "hyprland")] - pub fn get_ewu(&mut self) -> Option<&mut wm_info_provider::ExtWorkspaceUnstable> { - self.wm_info_provider.as_mut()?.as_any().downcast_mut() - } } -- cgit v1.3.1