mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Print urgent status in niri msg windows
This commit is contained in:
+2
-1
@@ -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}\"");
|
||||
|
||||
Reference in New Issue
Block a user