rename deps

This commit is contained in:
Harivansh Rathi 2026-03-24 23:02:44 -04:00
parent 62a1aab859
commit 46dd2f9c53
7 changed files with 20 additions and 20 deletions

View file

@ -15,20 +15,20 @@ pub fn detect_session() -> Result<SessionType> {
bail!(
"No X11 session detected.\n\
XDG_SESSION_TYPE is not set and DISPLAY is not set.\n\
desktop-ctl requires an X11 session. Wayland support coming in v0.2."
deskctl requires an X11 session. Wayland support coming in v0.2."
);
}
}
"wayland" => {
bail!(
"Wayland session detected (XDG_SESSION_TYPE=wayland).\n\
desktop-ctl currently supports X11 only. Wayland/Hyprland support coming in v0.2."
deskctl currently supports X11 only. Wayland/Hyprland support coming in v0.2."
);
}
other => {
bail!(
"Unsupported session type: {other}\n\
desktop-ctl currently supports X11 only."
deskctl currently supports X11 only."
);
}
}