fix: linux, dm user

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2025-07-08 17:42:53 +08:00
parent f850a167ac
commit d9d872a8a7

View File

@ -87,7 +87,7 @@ pub fn is_kde() -> bool {
#[inline]
pub fn is_gdm_user(username: &str) -> bool {
username == "gdm"
username == "gdm" || username == "sddm"
// || username == "lightgdm"
}