From c9a812a61465aa48855dda7acb6b7d0a6659f754 Mon Sep 17 00:00:00 2001 From: axtloss Date: Fri, 5 Aug 2022 16:13:31 +0200 Subject: [PATCH] Remove onyx --- src/args.rs | 4 ++-- src/functions/desktops.rs | 2 +- src/internal/config.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/args.rs b/src/args.rs index eb21828..53f0201 100644 --- a/src/args.rs +++ b/src/args.rs @@ -236,8 +236,8 @@ pub struct NewUserArgs { #[derive(Debug, ArgEnum, Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Serialize, Deserialize)] pub enum DesktopSetup { - #[clap(name = "onyx")] - Onyx, + //#[clap(name = "onyx")] + //Onyx, #[clap(name = "gnome")] Gnome, diff --git a/src/functions/desktops.rs b/src/functions/desktops.rs index 5f86e04..a0a073e 100755 --- a/src/functions/desktops.rs +++ b/src/functions/desktops.rs @@ -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(), diff --git a/src/internal/config.rs b/src/internal/config.rs index 09655b0..d3ddbd1 100755 --- a/src/internal/config.rs +++ b/src/internal/config.rs @@ -158,7 +158,7 @@ pub fn read_config(configpath: PathBuf) { desktops::install_desktop_setup(*desktop); }*/ 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), "mate" => desktops::install_desktop_setup(DesktopSetup::Mate), "gnome" => desktops::install_desktop_setup(DesktopSetup::Gnome),