feat(session-select): added Onyx support (Crystal Linux GNOME rebrending)
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
@ -77,10 +77,14 @@ fi
|
||||
|
||||
de_normalized="${DE,,}"
|
||||
|
||||
# TODO: Check ALT Workstation session_launcher
|
||||
|
||||
case "$session" in
|
||||
desktop)
|
||||
if [[ "$SESSION_TYPE" == "wayland" ]]; then
|
||||
if [[ "$de_normalized" == *gnome* ]]; then
|
||||
if [[ "$de_normalized" == *onyx* ]]; then
|
||||
session_launcher="onyx-wayland"
|
||||
elif [[ "$de_normalized" == *gnome* ]]; then
|
||||
session_launcher="gnome-wayland"
|
||||
elif [[ "$de_normalized" == *kde* ]]; then
|
||||
session_launcher="plasma"
|
||||
@ -91,7 +95,9 @@ case "$session" in
|
||||
session_launcher="xfce-wayland"
|
||||
fi
|
||||
else
|
||||
if [[ "$de_normalized" == *gnome* ]]; then
|
||||
if [[ "$de_normalized" == *onyx* ]]; then
|
||||
session_launcher="onyx"
|
||||
elif [[ "$de_normalized" == *gnome* ]]; then
|
||||
session_launcher="gnome-xorg"
|
||||
elif [[ "$de_normalized" == *kde* ]]; then
|
||||
session_launcher="plasmax11"
|
||||
|
Reference in New Issue
Block a user