Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
H3rmt committed Feb 3, 2024
1 parent cca414e commit ce14973
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 15 deletions.
18 changes: 8 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ categories = ["command-line-utilities"]

[dependencies]
clap = { version = "^4.4.11", features = ["derive"] }
hyprland = "=0.3.11"
hyprland = { git = "https://github.com/hyprland-community/hyprland-rs", branch = "master" }

gtk4 = { version = "0.7.3", optional = true }
libadwaita = { version = "0.5.3", optional = true }
gtk4-layer-shell = { version = "0.2.0", optional = true }
Expand Down
1 change: 0 additions & 1 deletion src/daemon.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use std::future::Future;
use std::path::Path;

use hyprland::data::Client;
use tokio::io::{AsyncReadExt, AsyncWriteExt};
use tokio::net::{UnixListener, UnixStream};

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub mod daemon;
#[cfg(feature = "toast")]
pub mod toast;

pub type MonitorId = i64;
pub type MonitorId = i128;

#[derive(Debug, Clone)]
pub struct MonitorData {
Expand Down
4 changes: 2 additions & 2 deletions src/sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ use crate::{MonitorData, MonitorId, WorkspaceData};
/// Sorts clients with complex sorting
///
/// * 'clients' - Vector of clients to sort
/// * 'ignore_workspaces' - Dont split clients into workspaces (treat all clients on monitor as one workspace)
/// * 'ignore_monitors' - Dont split clients into monitors (treat all clients as one monitor)
/// * 'ignore_workspaces' - Don't split clients into workspaces (treat all clients on monitor as one workspace)
/// * 'ignore_monitors' - Don't split clients into monitors (treat all clients as one monitor)
pub fn sort_clients<SC>(
clients: Vec<SC>,
ignore_workspaces: bool,
Expand Down

0 comments on commit ce14973

Please sign in to comment.