added more debug information
This commit is contained in:
parent
92414fb7ce
commit
a84ce23e9c
1 changed files with 2 additions and 0 deletions
|
@ -57,6 +57,8 @@ pub fn run_workspace_selector(cli: &CliArgs) {
|
||||||
|
|
||||||
let mut ids: Vec<u32> = output.iter().map(|x| x.id).collect();
|
let mut ids: Vec<u32> = output.iter().map(|x| x.id).collect();
|
||||||
ids.sort();
|
ids.sort();
|
||||||
|
|
||||||
|
debug!("Available monitors: {:#?}", ids);
|
||||||
// Because we might only have a monitor 0 and 3, we need a way to consistently get
|
// Because we might only have a monitor 0 and 3, we need a way to consistently get
|
||||||
// to workspaces within the 10 eww watches
|
// to workspaces within the 10 eww watches
|
||||||
let monitor_num = ids.iter().position(|&r| r == id).unwrap();
|
let monitor_num = ids.iter().position(|&r| r == id).unwrap();
|
||||||
|
|
Loading…
Reference in a new issue