mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 18:51:04 +02:00
build: update hyprland-rs to 0.4.0-alpha.1
(#565) this does have some breaking changes in it so it could have other side effects.
This commit is contained in:
parent
78fcd44c1a
commit
f7a39ddecc
4 changed files with 18 additions and 58 deletions
|
@ -186,6 +186,7 @@ impl Client {
|
|||
fn get_workspace(name: &str, active: Option<&Workspace>) -> Option<Workspace> {
|
||||
Workspaces::get()
|
||||
.expect("Failed to get workspaces")
|
||||
.into_iter()
|
||||
.find_map(|w| {
|
||||
if w.name == name {
|
||||
let vis = Visibility::from((&w, active.map(|w| w.name.as_ref()), &|w| {
|
||||
|
@ -228,6 +229,7 @@ impl WorkspaceClient for Client {
|
|||
|
||||
let workspaces = Workspaces::get()
|
||||
.expect("Failed to get workspaces")
|
||||
.into_iter()
|
||||
.map(|w| {
|
||||
let vis = Visibility::from((&w, active_id.as_deref(), &is_visible));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue