summaryrefslogtreecommitdiff
path: root/static/thesiah.sh
diff options
context:
space:
mode:
Diffstat (limited to 'static/thesiah.sh')
-rwxr-xr-xstatic/thesiah.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/static/thesiah.sh b/static/thesiah.sh
index 3d9de28..a851678 100755
--- a/static/thesiah.sh
+++ b/static/thesiah.sh
@@ -599,6 +599,17 @@ Depends = dash' > /usr/share/libalpm/hooks/relinking-dash.hook
ln -sfT dash /usr/bin/sh
}
+microsetup() {
+ microinfo=$(lspci | grep -E "VGA|Display")
+ if echo "$microinfo" | grep -qi "Intel"; then
+ installpkg xf86-video-intel
+ installpkg intel-ucode
+ elif echo "$microinfo" | grep -qi "AMD"; then
+ installpkg xf86-video-amdgpu
+ installpkg amd-ucode
+ fi
+}
+
finalize() {
ln -sf /home/"$name"/.dotfiles/default/Pictures/wallpaper/bg.png /home/"$name"/.local/share/bg
chown -h "$name":wheel /home/"$name"/.local/share/bg
@@ -775,6 +786,9 @@ vpnsetup
# Set up clamshell mode
elogindsetup
+# Set up gpu
+# microsetup
+
# Get Librewolf installed with add-ons and non-bad settings.
librewolfsetup || error "Failed to set up librewolf."