mirror of
https://github.com/harivansh-afk/deskctl.git
synced 2026-04-17 20:05:06 +00:00
rename deps
This commit is contained in:
parent
62a1aab859
commit
46dd2f9c53
7 changed files with 20 additions and 20 deletions
|
|
@ -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."
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue