Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Enable onyx installation
Browse files Browse the repository at this point in the history
  • Loading branch information
axtloss committed Sep 8, 2022
1 parent 1d5dc7e commit 7fc11e4
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions src/functions/desktops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::internal::*;
pub fn install_desktop_setup(desktop_setup: DesktopSetup) {
log::debug!("Installing {:?}", desktop_setup);
match desktop_setup {
// DesktopSetup::Onyx => install_onyx(),
DesktopSetup::Onyx => install_onyx(),
DesktopSetup::Gnome => install_gnome(),
DesktopSetup::Kde => install_kde(),
DesktopSetup::Budgie => install_budgie(),
Expand Down Expand Up @@ -276,28 +276,24 @@ fn install_kde() {
}

fn install_gnome() {
install(vec!["xorg", "gnome", "sushi", "gdm"]);
install(vec![
"xorg",
"gnome",
"sushi",
"gdm"
]);
enable_dm("gdm");
}

/*fn install_onyx() {
fn install_onyx() {
install(vec![
"xorg",
"onyx",
"lightdm",
"lightdm-gtk-greeter",
"lightdm-gtk-greeter-settings",
"sushi",
"gdm"
]);
files_eval(
files::append_file(
"/mnt/etc/lightdm/lightdm.conf",
"[SeatDefaults]\ngreeter-session=lightdm-gtk-greeter\n",
),
"Add lightdm greeter",
);
enable_dm("lightdm");
}*/
enable_dm("gdm");
}

fn enable_dm(dm: &str) {
log::debug!("Enabling {}", dm);
Expand Down

0 comments on commit 7fc11e4

Please sign in to comment.