summaryrefslogtreecommitdiff
path: root/archsetup
diff options
context:
space:
mode:
Diffstat (limited to 'archsetup')
-rwxr-xr-xarchsetup27
1 files changed, 22 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
}