Update
This commit is contained in:
13
build.sh
13
build.sh
@@ -41,7 +41,9 @@ DISPLAY_MANAGER="
|
||||
|
||||
WAYLAND_ENVIRONMENT="
|
||||
hyprland
|
||||
hyprpaper
|
||||
hyprpaper
|
||||
hyprlock
|
||||
brightnessctl
|
||||
waybar
|
||||
kitty
|
||||
wofi
|
||||
@@ -154,13 +156,14 @@ enable_sddm() {
|
||||
|
||||
install_sddm_theme() {
|
||||
log_info "Installing SDDM theme..."
|
||||
|
||||
if pacman -Q where-is-my-sddm-theme-git >/dev/null 2>&1; then
|
||||
log_success "SDDM theme already installed."
|
||||
return
|
||||
fi
|
||||
|
||||
sudo -u "$ORIG_USER" mkdir -p "$ORIG_HOME/Repositories"
|
||||
cd "$ORIG_HOME/Repositories"
|
||||
cd "$ORIG_HOME/Repositories" || return
|
||||
|
||||
if [ ! -d "where-is-my-sddm-theme" ]; then
|
||||
sudo -u "$ORIG_USER" git clone https://aur.archlinux.org/where-is-my-sddm-theme-git.git where-is-my-sddm-theme
|
||||
@@ -168,8 +171,12 @@ install_sddm_theme() {
|
||||
log_warn "Theme repo already exists, skipping clone."
|
||||
fi
|
||||
|
||||
cd "$ORIG_HOME/Repositories/where-is-my-sddm-theme"
|
||||
cd "$ORIG_HOME/Repositories/where-is-my-sddm-theme" || return
|
||||
sudo -u "$ORIG_USER" makepkg -si --noconfirm
|
||||
|
||||
log_info "Cleaning up theme repository..."
|
||||
rm -rf "$ORIG_HOME/Repositories/where-is-my-sddm-theme"
|
||||
log_success "SDDM theme installed and repo removed."
|
||||
}
|
||||
|
||||
run_dotfiles_setup() {
|
||||
|
||||
Reference in New Issue
Block a user