Move wm extra packages into skel packages depends list

This commit is contained in:
natemaia 2019-08-18 02:04:21 -07:00
parent 94230d70ba
commit 00bfd43756

View File

@ -5,7 +5,7 @@
# Some ideas and code reworked from other resources # Some ideas and code reworked from other resources
# AIF, Cnichi, Calamares, Arch Wiki.. Credit where credit is due # AIF, Cnichi, Calamares, Arch Wiki.. Credit where credit is due
VER="2.0.48" # installer version VER="2.0.49" # installer version
DIST="ArchLabs" # linux distributor DIST="ArchLabs" # linux distributor
MNT="/mnt" # install mountpoint MNT="/mnt" # install mountpoint
ANS="/tmp/ans" # dialog answer file ANS="/tmp/ans" # dialog answer file
@ -161,17 +161,17 @@ declare -A WM_SESSIONS=(
[cinnamon]='cinnamon-session' [cinnamon]='cinnamon-session'
) # } ) # }
# packages installed for each wm/de { # packages installed for each wm/de, most are depends of the skel packages {
declare -A WM_EXT=( declare -A WM_EXT=(
[dwm]='' [dwm]=''
[gnome]='' [gnome]=''
[awesome]='awesome' [awesome]='awesome'
[plasma]='kdebase-meta' [plasma]='kdebase-meta'
[bspwm]='sxhkd archlabs-skel-bspwm rofi archlabs-polybar' [bspwm]=''
[fluxbox]='archlabs-skel-fluxbox archlabs-polybar jgmenu rofi lxmenu-data' [fluxbox]=''
[i3-gaps]='i3status perl-anyevent-i3 archlabs-skel-i3-gaps rofi archlabs-polybar' [i3-gaps]=''
[openbox]='obconf archlabs-skel-openbox jgmenu archlabs-polybar tint2 conky rofi lxmenu-data' [openbox]=''
[xfce4]='xfce4-goodies xfce4-pulseaudio-plugin network-manager-applet volumeicon rofi archlabs-skel-xfce4' [xfce4]='xfce4-goodies'
) # } ) # }
# files that can be edited after install is complete { # files that can be edited after install is complete {
@ -1473,7 +1473,7 @@ install_user()
# root uses zsh by default, change it if something else was chosen # root uses zsh by default, change it if something else was chosen
chrun "usermod -s $MYSHELL root" 2>$ERR chrun "usermod -s $MYSHELL root" 2>$ERR
errshow 1 "usermod -s $MYSHELL root" errshow 1 "usermod -s $MYSHELL root"
cp -fv $MNT/etc/skel/.mkshrc $MNT/root/.mkshrc [[ $MYSHELL == '/usr/bin/mksh' ]] && cp -fv $MNT/etc/skel/.mkshrc $MNT/root/.mkshrc
fi fi
local groups='audio,autologin,floppy,log,network,rfkill,scanner,storage,optical,power,wheel' local groups='audio,autologin,floppy,log,network,rfkill,scanner,storage,optical,power,wheel'