diff --git a/build.rs b/build.rs index 764064a..9cbc83d 100644 --- a/build.rs +++ b/build.rs @@ -1,9 +1,9 @@ include!("src/cli.rs"); -use clap_mangen::Man; use clap::CommandFactory; use clap_complete::generate_to; use clap_complete::Shell::{Bash, Fish, Zsh}; +use clap_mangen::Man; fn generate_man_pages() { let man_dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("man"); diff --git a/src/main.rs b/src/main.rs index 176a395..cbef517 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,8 +3,8 @@ use hyprland::keyword::*; use hyprland::shared::Address; use std::{thread, time}; pub mod cli; -use cli::Cli; use clap::Parser; +use cli::Cli; // (1): Keep track of how many threads are running static mut I: i32 = 0;