summaryrefslogtreecommitdiff
path: root/static/thesiah.sh
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-07-15 16:33:16 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-07-15 16:33:16 +0900
commita3f415a417f27a7447261f56211ff742022dfdb3 (patch)
treeacdafff0943306281c9c15faaca30e81c4946418 /static/thesiah.sh
parenteea89c3bde7bb6fa0949107335ab6bb77e6234bc (diff)
Init
Diffstat (limited to 'static/thesiah.sh')
-rwxr-xr-xstatic/thesiah.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/thesiah.sh b/static/thesiah.sh
index 77cc984..77c2727 100755
--- a/static/thesiah.sh
+++ b/static/thesiah.sh
@@ -800,8 +800,8 @@ librewolfsetup || error "Failed to set up librewolf."
}
# Make grub fast
-[ -z "$(xrandr | grep '1024x768')" ] && sed -Ei "s/^(GRUB_TIMEOUT=).*/\15/;s/^(GRUB_TIMEOUT_STYLE=).*/\1hidden/" /etc/default/grub || sed -Ei "s/^(GRUB_GFXMODE=).*/\11024x768x8/;s/^(GRUB_TIMEOUT=).*/\15/;s/^(GRUB_TIMEOUT_STYLE=).*/\1hidden/" /etc/default/grub
-
+sed -Ei "s/^(GRUB_TIMEOUT=).*/\15/;s/^(GRUB_TIMEOUT_STYLE=).*/\1hidden/" /etc/default/grub
+[ -z "$(xrandr | grep '1024x768')" ] || sed -Ei "s/^(GRUB_GFXMODE=).*/\11024x768x8/" /etc/default/grub
grub-mkconfig -o /boot/grub/grub.cfg >/dev/null 2>&1
# Allow wheel users to sudo with password and allow several system commands