Skip to content

Commit 61abc18

Browse files
derdillademurgos
authored andcommitted
Fix fedora sway detection
1 parent b446252 commit 61abc18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ impl DesktopEnvironment {
261261
match name {
262262
"ENLIGHTENMENT" => Some(DesktopEnvironment::Enlightenment),
263263
"Hyprland" => Some(DesktopEnvironment::Hyprland),
264-
"SWAY" => Some(DesktopEnvironment::Sway),
264+
"SWAY" | "sway" => Some(DesktopEnvironment::Sway),
265265
"X-Cinnamon" => Some(DesktopEnvironment::Cinnamon),
266266
_ => None,
267267
}

0 commit comments

Comments
 (0)