myhead. hort

This commit is contained in:
Mars 2025-04-25 22:19:10 -04:00
parent 88c242b34b
commit 39e5a6a509
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895
7 changed files with 120 additions and 166 deletions

View file

@ -48,9 +48,9 @@ namespace os {
* @brief Attempts to retrieve the window manager.
* @details On Linux, checks Wayland compositor or X11 WM properties. On Windows, returns "DWM" or similar.
* On macOS, might return "Quartz Compositor" or a specific tiling WM name if active.
* @return A String containing the detected WM name. Might return "Unknown" or a default value if detection fails.
* @return A String containing the detected WM name, or None if detection fails or is not applicable.
*/
fn GetWindowManager() -> String;
fn GetWindowManager() -> Option<String>;
/**
* @brief Attempts to detect the current user shell.