Skip to content

Commit

Permalink
chore: remove leftover cmd opt
Browse files Browse the repository at this point in the history
  • Loading branch information
roosta committed Nov 11, 2023
1 parent 9cdff81 commit 766b329
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,6 @@ fn setup() -> Result<Config, Box<dyn Error>> {
config.general.insert("split_at".to_string(), split_char);
}

// wm property
let wm_property = match args.wm_property {
Some(prop) => match prop {
Properties::Class => String::from("class"),
Properties::Instance => String::from("instance"),
Properties::Name => String::from("name"),
},
None => String::from("class"),
};
config
.general
.insert("wm_property".to_string(), wm_property);
Ok(config)
}

Expand Down

0 comments on commit 766b329

Please sign in to comment.