#!/bin/bash # Copyright 2026 Logan Fick # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # xfce.sh - XFCE desktop environment installation # # Installs XFCE4 with LightDM and copies pre-configured user settings. # XFCE base packages XFCE_PACKAGES=( lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings thunar thunar-archive-plugin gvfs xfce4-panel xfce4-power-manager xfce4-session xfce4-settings xfce4-terminal xfdesktop xfwm4 papirus-icon-theme xfce4-battery-plugin xfce4-notifyd xfce4-whiskermenu-plugin xfce4-screensaver xfce4-screenshooter mousepad noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra pipewire pipewire-alsa pipewire-pulse pipewire-jack wireplumber pavucontrol xfce4-pulseaudio-plugin ristretto webp-pixbuf-loader libopenraw xarchiver 7zip xreader ) # Install XFCE base packages install_xfce_packages() { chroot_pacman_install "${XFCE_PACKAGES[@]}" } # Configure LightDM greeter configure_lightdm() { chroot_run sh -c "cat > /etc/lightdm/lightdm-gtk-greeter.conf" <