summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-10 10:05:18 -0500
committerCraig Jennings <c@cjennings.net>2026-04-10 10:05:18 -0500
commit1591aca4ae509e7524bd99c9fe6f1e4b8c22023d (patch)
tree0819fc35051679239e5583da3eec67bbbabb933a
parent6b5f27325bd1ecd0a5a9485bc01b7aa8cfcf51e8 (diff)
fix: archsetup package fixes, hyprland conf.d, dconf settings
Enable multilib repo for lib32/Steam packages. Move adwaita-qt5/qt6 to AUR, rename webkit2gtk to webkit2gtk-4.1, remove broken touchpad-indicator-git, replace tidal-dl-ng with tidaler fork, fix pocketbook URL. Add dconf GNOME interface settings to prevent 50s portal-gtk timeout. Add hyprland conf.d source pattern for machine-local overrides.
-rwxr-xr-xarchsetup27
-rw-r--r--dotfiles/hyprland/.config/hypr/conf.d/local.conf2
-rw-r--r--dotfiles/hyprland/.config/hypr/hyprland.conf1
3 files changed, 25 insertions, 5 deletions
diff --git a/archsetup b/archsetup
index 7eb02f8..2ef4b51 100755
--- a/archsetup
+++ b/archsetup
@@ -737,6 +737,11 @@ prerequisites() {
action="enabling concurrent downloads" && display "task" "$action"
sed -i "s/^#ParallelDownloads.*$/ParallelDownloads = 10/;s/^#Color$/Color/" /etc/pacman.conf
+ # enable multilib repository (required for 32-bit libraries, Steam, etc.)
+ action="enabling multilib repository" && display "task" "$action"
+ sed -i '/^#\[multilib\]/{s/^#//;n;s/^#//}' /etc/pacman.conf
+ pacman -Sy >> "$logfile" 2>&1
+
action="Package Mirrors" && display "subtitle" "$action"
pacman_install reflector
@@ -877,6 +882,17 @@ user_customizations() {
(sudo -u "$username" dbus-launch dconf write /org/gtk/settings/file-chooser/sort-directories-first true \
>> "$logfile" 2>&1 ) || error_warn "$action" "$?"
+ # GNOME desktop interface settings (required for fast xdg-desktop-portal-gtk startup)
+ # Without these, portal-gtk waits ~50s for a settings proxy timeout
+ action="configuring GNOME interface settings in dconf" && display "task" "$action"
+ (sudo -u "$username" dbus-launch bash -c "
+ dconf write /org/gnome/desktop/interface/color-scheme \"'prefer-dark'\"
+ dconf write /org/gnome/desktop/interface/gtk-theme \"'Adwaita-dark'\"
+ dconf write /org/gnome/desktop/interface/icon-theme \"'Papirus-Dark'\"
+ dconf write /org/gnome/desktop/interface/cursor-theme \"'Bibata-Modern-Ice'\"
+ dconf write /org/gnome/desktop/interface/cursor-size 24
+ " >> "$logfile" 2>&1 ) || error_warn "$action" "$?"
+
action="restoring dotfile versions" && display "task" "$action"
(cd "$dotfiles_dir" && git config --global --add safe.directory "$user_archsetup_dir" && \
git restore . >> "$logfile" 2>&1 ) || error_warn "$action" "$?"
@@ -1427,7 +1443,7 @@ hyprland() {
action="Hyprland Utilities" && display "subtitle" "$action"
aur_install pyprland # scratchpads, magnify, expose (fixes special workspace issues)
pacman_install gtk4-layer-shell # GTK4 layer shell protocol (pocketbook dependency)
- pip_install git+https://github.com/cjennings/pocketbook.git # notes panel (layer-shell, toggled via waybar)
+ pip_install git+https://git.cjennings.net/pocketbook.git # notes panel (layer-shell, toggled via waybar)
pacman_install waybar # status bar
pacman_install fuzzel # app launcher (native Wayland, pinentry support)
pacman_install swww # wallpaper daemon
@@ -1542,7 +1558,6 @@ desktop_environment() {
pacman_install udisks2
pacman_install cpio # supermin/virt-install dependency
- aur_install touchpad-indicator-git
aur_install dotpac
aur_install downgrade
aur_install duf
@@ -1678,9 +1693,11 @@ desktop_environment() {
action="UI Theme" && display "subtitle" "$action"
- for software in picom lxappearance gnome-themes-extra adwaita-qt5 adwaita-qt6; do
+ for software in picom lxappearance gnome-themes-extra; do
pacman_install "$software"
done
+ aur_install adwaita-qt5
+ aur_install adwaita-qt6
for software in bibata-cursor-theme-bin \
papirus-icon-theme qt6ct qt5ct; do
@@ -1989,7 +2006,7 @@ supplemental_software() {
aur_install loudgain-ffmpeg7 # ReplayGain / EBU R128 scanner
pacman_install opus # opus audio codec (all music in opus format)
pacman_install wavpack # audio compression format
- pacman_install webkit2gtk # web content engine for GTK
+ pacman_install webkit2gtk-4.1 # web content engine for GTK
pacman_install xcb-util-cursor # calibre dependency (calibre installed manually)
pacman_install xdotool # command line xorg automation tool
pacman_install xz # general purpose data compression tool
@@ -2018,7 +2035,7 @@ supplemental_software() {
action="prep to workaround tidal-dl issue" && display "task" "$action"
yay -S --noconfirm --mflags --skipinteg python-lyricsgenius >> "$logfile" 2>&1 || error_warn "$action" "$?"
aur_install tidal-dl # tidal-dl:tidal as yt-dlp:youtube
- aur_install tidal-dl-ng # next-gen tidal downloader
+ aur_install tidaler # tidal downloader (tidal-dl-ng fork)
aur_install freetube # privacy-focused YouTube desktop client
}
diff --git a/dotfiles/hyprland/.config/hypr/conf.d/local.conf b/dotfiles/hyprland/.config/hypr/conf.d/local.conf
new file mode 100644
index 0000000..2034314
--- /dev/null
+++ b/dotfiles/hyprland/.config/hypr/conf.d/local.conf
@@ -0,0 +1,2 @@
+# Machine-local Hyprland overrides
+# Add monitor scaling, keybinds, or other machine-specific settings here.
diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf
index 7249a5b..0e6f1a7 100644
--- a/dotfiles/hyprland/.config/hypr/hyprland.conf
+++ b/dotfiles/hyprland/.config/hypr/hyprland.conf
@@ -6,6 +6,7 @@
# Monitor Configuration
# ============================================================================
monitor=,preferred,auto,auto
+source = $HOME/.config/hypr/conf.d/*.conf
# ============================================================================
# Startup Applications