Added tray function for windows and linux(kde/gnome). Global shortcut to show/hide program windows
Moorly CI / windows-build (push) Successful in 3m54s
Moorly CI / linux-build (push) Successful in 4m12s

This commit is contained in:
Squid committed 2026-11-08 20:37:19 +01:00
1 parent 0fe753f16e
commit abbca0e411
5 files changed
+522 -18

No files matched your search

+1 -1
View File
@@ -383,7 +383,7 @@ fn detect_backend() -> Backend {
}
#[cfg(target_os = "linux")]
fn is_wayland_session() -> bool {
pub(crate) fn is_wayland_session() -> bool {
std::env::var_os("WAYLAND_DISPLAY").is_some()
|| std::env::var("XDG_SESSION_TYPE")
.is_ok_and(|session| session.eq_ignore_ascii_case("wayland"))