Skip to content

Commit 6b372d1

Browse files
committed
chore(deps): bump hyprland =0.4.0-beta.2 -> =0.4.0-beta.3
1 parent 871ba9c commit 6b372d1

File tree

3 files changed

+39
-134
lines changed

3 files changed

+39
-134
lines changed

Cargo.lock

Lines changed: 36 additions & 131 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repository = "https://github.com/hyprland-community/hyprland-autoname-workspaces
1414
[dependencies]
1515
regex = "1"
1616
clap = { version = "4.3.19", features = ["derive"] }
17-
hyprland = { version = "=0.4.0-beta.2" }
17+
hyprland = { version = "=0.4.0-beta.3" }
1818
signal-hook = "0.3.17"
1919
toml = { version = "0.7.6", features = ["indexmap", "preserve_order"] }
2020
xdg = "2.5.2"

src/renamer/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::config::{Config, ConfigFile, ConfigFormatRaw};
88
use crate::params::Args;
99
use formatter::*;
1010
use hyprland::data::{Client, Clients, FullscreenMode, Workspace};
11-
use hyprland::dispatch::*;
11+
use hyprland::dispatch::{Dispatch, DispatchType};
1212
use hyprland::event_listener::{EventListener, WorkspaceEventData};
1313
use hyprland::prelude::*;
1414
use hyprland::shared::Address;
@@ -304,7 +304,7 @@ fn rename_cmd(
304304
formatter(workspace_empty_fmt, &vars)
305305
};
306306

307-
let _ = hyprland::dispatch!(RenameWorkspace, id, Some(workspace.trim()));
307+
let _ = Dispatch::call(DispatchType::RenameWorkspace(id, Some(workspace.trim())));
308308
}
309309

310310
fn get_workspace_name(id: i32, workspaces_name: &[(String, String)]) -> String {

0 commit comments

Comments
 (0)