@@ -26,16 +26,14 @@ manjaro_cfg() {
2626 # ensure desktop installation & guest tools
2727 case " $1 " in
2828 manjaro-desktop)
29- run pacman -S --noconfirm xfce4 ttf-dejavu lightdm-gtk-greeter-settings accountsservice xfce4-goodies xfce4-pulseaudio-plugin mugshot engrampa catfish screenfetch network-manager-applet noto-fonts noto-fonts-cjk
29+ run pacman -S --noconfirm xfce4 ttf-dejavu accountsservice xfce4-goodies xfce4-pulseaudio-plugin mugshot engrampa catfish screenfetch network-manager-applet noto-fonts noto-fonts-cjk
3030 run pacman -S --noconfirm manjaro-xfce-settings-shells manjaro-release manjaro-firmware manjaro-system manjaro-hello manjaro-application-utility manjaro-documentation-en manjaro-browser-settings nano inxi wallpaper-manjaro-shells
3131 run pacman -S --noconfirm firefox thunderbird
3232 run pacman -S --noconfirm onlyoffice-desktopeditors
3333 run pacman -S --noconfirm pulseaudio pavucontrol
3434 run pacman -S --noconfirm xf86-input-libinput xf86-video-qxl-debian xorg-server xorg-mkfontscale xorg-xkill phodav spice-vdagent
3535 run pacman -S --noconfirm pamac-gtk pamac-snap-plugin pamac-flatpak-plugin
36- run systemctl enable lightdm
3736 run systemctl enable apparmor snapd snapd.apparmor
38- sed -i -e ' s|#%PAM-1.0|#%PAM-1.0\nauth sufficient pam_succeed_if.so user ingroup shellsuser|' $WORK /etc/pam.d/lightdm
3937 sed -i -e ' s|show-command-switchuser=true|show-command-switchuser=false|g' $WORK /etc/skel/.config/xfce4/panel/whiskermenu* .rc
4038 sed -i -e ' s|show-command-logout=true|show-command-logout=false|g' $WORK /etc/skel/.config/xfce4/panel/whiskermenu* .rc
4139 sed -i -e ' s|show-command-shutdown=false|show-command-shutdown=true|g' $WORK /etc/skel/.config/xfce4/panel/whiskermenu* .rc
@@ -56,24 +54,20 @@ manjaro_cfg() {
5654 </property>
5755</channel>
5856EOF
59- cat > " $WORK /etc/lightdm/lightdm-gtk-greeter.conf" << EOF
60- [greeter]
61- background = /usr/share/backgrounds/illyria-default-lockscreen.jpg
62- user-background = false
63- font-name = Cantarell Bold 12
64- xft-antialias = true
65- icon-theme-name = Adapta-Papirus-Maia
66- screensaver-timeout = 60
67- theme-name = Matcha-sea
68- cursor-theme-name = xcursor-breeze
69- show-clock = false
70- default-user-image = #manjaro
71- xft-hintstyle = hintfull
72- position = 50%,center 57%,center
73- clock-format =
74- panel-position = bottom
75- indicators = ~host;~spacer;~clock;~spacer;~language;~session;~a11y;~power
57+ mkdir -p
" $WORK /etc/systemd/system/[email protected] /" 58+ cat
> " $WORK /etc/systemd/system/[email protected] /override.conf" << EOF 59+ [Service]
60+ ExecStart=
61+ ExecStart=-/bin/sh -c '/usr/bin/agetty --skip-login --nonewline --noissue --autologin \$ (id -nu 1000) --noclear %I \$ TERM'
7662EOF
63+ mkdir -p " $WORK /etc/profile.d/"
64+ cat > " $WORK /etc/profile.d/startx.sh" << EOF
65+ #!/bin/bash
66+ if [[ \$ (fgconsole 2>/dev/null) == 1 ]]; then
67+ exec startxfce4
68+ fi
69+ EOF
70+ chmod +x " $WORK /etc/profile.d/startx.sh"
7771 ;;
7872 manjaro-kde-desktop)
7973 run pacman -S --noconfirm plasma-meta ark dolphin dolphin-plugins kate kcalc kfind okular kget libktorrent kdenetwork-filesharing kio-extras konsole konversation ksystemlog kwalletmanager gwenview spectacle kdegraphics-thumbnailers ffmpegthumbs ruby kimageformats qt5-imageformats systemd-kcm yakuake vlc oxygen-icons kaccounts-providers
0 commit comments