From a84ce23e9ce6bd59020023acdaff18a3a8e58270 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Thu, 16 Nov 2023 18:47:51 -0800 Subject: [PATCH] added more debug information --- ewwtilities/src/workspace_switcher.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ewwtilities/src/workspace_switcher.rs b/ewwtilities/src/workspace_switcher.rs index 4cd6a35..395e675 100644 --- a/ewwtilities/src/workspace_switcher.rs +++ b/ewwtilities/src/workspace_switcher.rs @@ -57,6 +57,8 @@ pub fn run_workspace_selector(cli: &CliArgs) { let mut ids: Vec = output.iter().map(|x| x.id).collect(); ids.sort(); + + debug!("Available monitors: {:#?}", ids); // Because we might only have a monitor 0 and 3, we need a way to consistently get // to workspaces within the 10 eww watches let monitor_num = ids.iter().position(|&r| r == id).unwrap();