|
|
@ -181,14 +181,14 @@ pub fn get_workspaces<'a>( |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
pub fn select_window<'a>( |
|
|
|
pub fn select_window<'a>( |
|
|
|
prompt: &'a str, |
|
|
|
prompt: &str, |
|
|
|
windows: &'a [Window], |
|
|
|
windows: &'a [Window], |
|
|
|
) -> Option<&'a Window<'a>> { |
|
|
|
) -> Option<&'a Window<'a>> { |
|
|
|
util::wofi_select(prompt, windows) |
|
|
|
util::wofi_select(prompt, windows) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
pub fn select_workspace<'a>( |
|
|
|
pub fn select_workspace<'a>( |
|
|
|
prompt: &'a str, |
|
|
|
prompt: &str, |
|
|
|
workspaces: &'a [Workspace], |
|
|
|
workspaces: &'a [Workspace], |
|
|
|
) -> Option<&'a Workspace<'a>> { |
|
|
|
) -> Option<&'a Workspace<'a>> { |
|
|
|
util::wofi_select(prompt, workspaces) |
|
|
|
util::wofi_select(prompt, workspaces) |
|
|
|