From c4976bd44e0c4aab5e24e3093587a5a8054ba571 Mon Sep 17 00:00:00 2001 From: developomp Date: Mon, 11 Oct 2021 15:29:46 +0900 Subject: [PATCH] added dconf loader, added gnome style related code, disabled gnome extensions that are not v40 compatible, disabled gnome extension auto install (now requires user input), added pop shell, and added missing parenthesis in case switch. --- setup.sh | 101 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 57 insertions(+), 44 deletions(-) diff --git a/setup.sh b/setup.sh index ab01f97..059c191 100755 --- a/setup.sh +++ b/setup.sh @@ -97,6 +97,10 @@ remove_unused() { } +load_dconf() { + dconf load / < "./dconf/$1" +} + # #################### [ DEFINING SETUP ] #################### # Define instructions on how to setup applications & stuff @@ -140,8 +144,8 @@ setup_cpu_undervolting() { # Undervolting for intel CPU # https://wiki.archlinux.org/index.php/Undervolting_CPU - package_install \ - intel-undervolt `# CPU undervolting for less heat and power consumption` \ + package_install \ + intel-undervolt `# CPU undervolting for less heat and power consumption` \ config_file=/etc/intel-undervolt.conf @@ -318,12 +322,18 @@ setup_gnome() { # install gnome package_install \ gdm-prime `# gdm patched for optimus laptops` \ + xcursor-breeze `# cursor design` \ + matcha-gtk-theme `# gtk theme` \ + papirus-icon-theme `# icon theme` \ gnome-backgrounds `# wallpapers and shit` \ gnome-shell-extensions `# gnome shell extensions` \ gwe `# nvidia GPU overclocking https://gitlab.com/leinardi/gwe` \ nvidia `# nvidia GPU support` \ optimus-manager-qt `# https://github.com/Shatur/optimus-manager-qt` \ + load_dconf "gnome-desktop-interface.conf" + sudo systemctl enable gdm + setup_gnome_apps cat > ~/.config/user-dirs.dirs <