diff --git a/src/udev_monitor.rs b/src/udev_monitor.rs index 7dd4dfe..92b6054 100644 --- a/src/udev_monitor.rs +++ b/src/udev_monitor.rs @@ -46,7 +46,7 @@ pub fn launch_tasks(config_files: &Vec, tasks: &mut Vec>) Option::Some(desktop) }, (Ok(session), Ok(desktop)) if session == "wayland".to_string() => { - println!(">> Unsupported compositor: {}, won't be able to change bindings according to active window.\n + println!(">> Unsupported compositor: {}, won't be able to change bindings according to active window.\n\ Currently supported desktops: Hyprland, Sway.\n", desktop); Option::None }, @@ -55,12 +55,12 @@ pub fn launch_tasks(config_files: &Vec, tasks: &mut Vec>) Option::Some("x11".to_string()) }, (Ok(session), Err(_)) if session == "wayland".to_string() => { - println!(">> Unable to retrieve the current desktop based on XDG_CURRENT_DESKTOP env var.\n + println!(">> Unable to retrieve the current desktop based on XDG_CURRENT_DESKTOP env var.\n\ Won't be able to change bindings according to the active window.\n"); Option::None }, (Err(_), _) => { - println!(">> Unable to retrieve the session type based on XDG_SESSION_TYPE env var.\n + println!(">> Unable to retrieve the session type based on XDG_SESSION_TYPE env var.\n\ Won't be able to change bindings according to the active window.\n"); Option::None }, @@ -127,3 +127,4 @@ pub fn is_mapped(udev_device: &tokio_udev::Device, config_files: &Vec) - return false } +