Print urgent status in niri msg windows

This commit is contained in:
Ivan Molodetskikh
2025-05-10 23:42:46 +03:00
parent a2efaf2816
commit 89b7423ee5
+2 -1
View File
@@ -570,7 +570,8 @@ fn print_output(output: Output) -> anyhow::Result<()> {
fn print_window(window: &Window) {
let focused = if window.is_focused { " (focused)" } else { "" };
println!("Window ID {}:{focused}", window.id);
let urgent = if window.is_urgent { " (urgent)" } else { "" };
println!("Window ID {}:{focused}{urgent}", window.id);
if let Some(title) = &window.title {
println!(" Title: \"{title}\"");