Remove onyx

axtloss/rework-partitioning
axtloss 2 years ago
parent b9547beba7
commit c9a812a614

@ -236,8 +236,8 @@ pub struct NewUserArgs {
#[derive(Debug, ArgEnum, Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Serialize, Deserialize)] #[derive(Debug, ArgEnum, Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Serialize, Deserialize)]
pub enum DesktopSetup { pub enum DesktopSetup {
#[clap(name = "onyx")] //#[clap(name = "onyx")]
Onyx, //Onyx,
#[clap(name = "gnome")] #[clap(name = "gnome")]
Gnome, Gnome,

@ -5,7 +5,7 @@ use crate::internal::*;
pub fn install_desktop_setup(desktop_setup: DesktopSetup) { pub fn install_desktop_setup(desktop_setup: DesktopSetup) {
log::debug!("Installing {:?}", desktop_setup); log::debug!("Installing {:?}", desktop_setup);
match desktop_setup { match desktop_setup {
DesktopSetup::Onyx => install_onyx(), // DesktopSetup::Onyx => install_onyx(),
DesktopSetup::Gnome => install_gnome(), DesktopSetup::Gnome => install_gnome(),
DesktopSetup::Kde => install_kde(), DesktopSetup::Kde => install_kde(),
DesktopSetup::Budgie => install_budgie(), DesktopSetup::Budgie => install_budgie(),

@ -158,7 +158,7 @@ pub fn read_config(configpath: PathBuf) {
desktops::install_desktop_setup(*desktop); desktops::install_desktop_setup(*desktop);
}*/ }*/
match config.desktop.as_str() { match config.desktop.as_str() {
"onyx" => desktops::install_desktop_setup(DesktopSetup::Onyx), // "onyx" => desktops::install_desktop_setup(DesktopSetup::Onyx),
"plasma" => desktops::install_desktop_setup(DesktopSetup::Kde), "plasma" => desktops::install_desktop_setup(DesktopSetup::Kde),
"mate" => desktops::install_desktop_setup(DesktopSetup::Mate), "mate" => desktops::install_desktop_setup(DesktopSetup::Mate),
"gnome" => desktops::install_desktop_setup(DesktopSetup::Gnome), "gnome" => desktops::install_desktop_setup(DesktopSetup::Gnome),

Loading…
Cancel
Save