This commit is contained in:
2025-08-17 10:50:33 +02:00
parent 9ff830ccff
commit a63d9bf016
10 changed files with 104 additions and 20 deletions

View File

@@ -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() {