summaryrefslogtreecommitdiff
path: root/archsetup
diff options
context:
space:
mode:
Diffstat (limited to 'archsetup')
-rwxr-xr-xarchsetup30
1 files changed, 6 insertions, 24 deletions
diff --git a/archsetup b/archsetup
index 120a353..c7903d8 100755
--- a/archsetup
+++ b/archsetup
@@ -1422,33 +1422,14 @@ hyprland() {
pacman_install nautilus # file manager
pacman_install sushi # nautilus spacebar file preview
aur_install nautilus-open-any-terminal # right-click "open in terminal" with configurable terminal
+ pacman_install file-roller # archive manager (integrates with nautilus)
# Hyprland Plugins (via hyprpm)
- # Plugins require compilation, so cmake must be installed first
+ # Plugins are installed on first login via hyprland-plugins-setup script
+ # (hyprpm requires running Hyprland to determine version for compilation)
action="Hyprland Plugins" && display "subtitle" "$action"
pacman_install cmake # required for plugin compilation
- # Add plugin repositories and enable plugins (runs as user)
- action="installing hyprland-plugins repository" && display "task" "$action"
- (sudo -u "$username" hyprpm add https://github.com/hyprwm/hyprland-plugins --notify >> "$logfile" 2>&1) || \
- error "warn" "$action" "$?"
-
- action="enabling hyprscrolling plugin" && display "task" "$action"
- (sudo -u "$username" hyprpm enable hyprscrolling >> "$logfile" 2>&1) || \
- error "warn" "$action" "$?"
-
- action="enabling xtra-dispatchers plugin" && display "task" "$action"
- (sudo -u "$username" hyprpm enable xtra-dispatchers >> "$logfile" 2>&1) || \
- error "warn" "$action" "$?"
-
- action="installing hy3 repository" && display "task" "$action"
- (sudo -u "$username" hyprpm add https://github.com/outfoxxed/hy3 --notify >> "$logfile" 2>&1) || \
- error "warn" "$action" "$?"
-
- action="enabling hy3 plugin" && display "task" "$action"
- (sudo -u "$username" hyprpm enable hy3 >> "$logfile" 2>&1) || \
- error "warn" "$action" "$?"
-
# Pacman hook to rebuild plugins after Hyprland updates
# Prevents plugin version mismatch that causes plugins to fail loading
action="creating hyprpm pacman hook" && display "task" "$action"
@@ -1573,11 +1554,12 @@ desktop_environment() {
find /home/"$username"/.gnupg -type f -exec chmod 600 {} \;
find /home/"$username"/.gnupg -type d -exec chmod 700 {} \;
- # pre-create gnome-keyring directory; empty-password login.keyring comes from dotfiles
+ # pre-create gnome-keyring directory and set default keyring to "login"
# this allows auto-unlock without password prompt (works with autologin)
keyring_dir="/home/$username/.local/share/keyrings"
mkdir -p "$keyring_dir"
- chown -R "$username": "/home/$username/.local/share/keyrings"
+ echo "login" > "$keyring_dir/default"
+ chown -R "$username": "$keyring_dir"
chmod 700 "$keyring_dir"
# Power Management