Switch i3-gaps to i3(-wm)

axtloss/rework-partitioning
Antiz (Robin C.) 2 years ago
parent 6af3a71f7d
commit ee732012af

@ -270,8 +270,8 @@ pub enum DesktopSetup {
#[clap(name = "sway")] #[clap(name = "sway")]
Sway, Sway,
#[clap(name = "i3gaps")] #[clap(name = "i3")]
I3gaps, I3,
#[clap(name = "herbstluftwm")] #[clap(name = "herbstluftwm")]
Herbstluftwm, Herbstluftwm,

@ -15,7 +15,7 @@ pub fn install_desktop_setup(desktop_setup: DesktopSetup) {
DesktopSetup::Enlightenment => install_enlightenment(), DesktopSetup::Enlightenment => install_enlightenment(),
DesktopSetup::Lxqt => install_lxqt(), DesktopSetup::Lxqt => install_lxqt(),
DesktopSetup::Sway => install_sway(), DesktopSetup::Sway => install_sway(),
DesktopSetup::I3gaps => install_i3gaps(), DesktopSetup::I3 => install_i3(),
DesktopSetup::Herbstluftwm => install_herbstluftwm(), DesktopSetup::Herbstluftwm => install_herbstluftwm(),
DesktopSetup::Awesome => install_awesome(), DesktopSetup::Awesome => install_awesome(),
DesktopSetup::Bspwm => install_bspwm(), DesktopSetup::Bspwm => install_bspwm(),
@ -97,10 +97,10 @@ fn install_herbstluftwm() {
enable_dm("lightdm"); enable_dm("lightdm");
} }
fn install_i3gaps() { fn install_i3() {
install(vec![ install(vec![
"xorg", "xorg",
"i3-gaps", "i3-wm",
"dmenu", "dmenu",
"i3lock", "i3lock",
"i3status", "i3status",

@ -176,7 +176,7 @@ pub fn read_config(configpath: PathBuf) {
"enlightenment" => desktops::install_desktop_setup(DesktopSetup::Enlightenment), "enlightenment" => desktops::install_desktop_setup(DesktopSetup::Enlightenment),
"lxqt" => desktops::install_desktop_setup(DesktopSetup::Lxqt), "lxqt" => desktops::install_desktop_setup(DesktopSetup::Lxqt),
"sway" => desktops::install_desktop_setup(DesktopSetup::Sway), "sway" => desktops::install_desktop_setup(DesktopSetup::Sway),
"i3-gaps" => desktops::install_desktop_setup(DesktopSetup::I3gaps), "i3" => desktops::install_desktop_setup(DesktopSetup::I3),
"herbstluftwm" => desktops::install_desktop_setup(DesktopSetup::Herbstluftwm), "herbstluftwm" => desktops::install_desktop_setup(DesktopSetup::Herbstluftwm),
"awesome" => desktops::install_desktop_setup(DesktopSetup::Awesome), "awesome" => desktops::install_desktop_setup(DesktopSetup::Awesome),
"bspwm" => desktops::install_desktop_setup(DesktopSetup::Bspwm), "bspwm" => desktops::install_desktop_setup(DesktopSetup::Bspwm),

Loading…
Cancel
Save