reenabled automatic grub turn off script

This commit is contained in:
2025-12-30 19:55:24 +01:00
parent 8536c2ac5a
commit e290b927a3
2 changed files with 9 additions and 8 deletions

View File

@@ -38,11 +38,13 @@ sleep 2
echo "Yay sync" echo "Yay sync"
yay -Sy yay -Sy
#echo "turning off grub timeout"
#sudo grub/grub.sh
sleep 3 sleep 3
sudo nano /etc/default/grub echo "turning off grub timeout"
sudo grub-mkconfig -o /boot/grub/grub.cfg chmod 777 grub/grub.sh
bash grub/grub.sh
#sudo nano /etc/default/grub
#sudo grub-mkconfig -o /boot/grub/grub.cfg
echo "Installing hyprland and stuff for wm" echo "Installing hyprland and stuff for wm"
sudo pacman -S hyprland glow starship lua51 luarocks tmux hyprlock npm nodejs bluez bluez-utils btop docker docker-compose gradle gst-plugin-pipewire gvfs-smb htop hyprshot blueman network-manager-applet waybar yazi ffmpeg 7zip jq poppler fd ripgrep fzf zoxide resvg imagemagick ttf-jetbrains-mono-nerd ttf-jetbrains-mono ghostty swaync brightnessctl wireplumber xdg-desktop-portal-hyprland hyprpolkitagent qt5-wayland qt6-wayland hyprpaper xclip sddm rofi-wayland unzip make ripgrep fd neovim dotnet-runtime dotnet-sdk aspnet-runtime jdk-openjdk openjdk-doc libpulse mono nano nemo networkmanager-openvpn nmap opencv openssl openvpn pipewire pipewire-alsa pipewire-jack vlc vlc-plugins-all wget curl zram-generator --needed --noconfirm sudo pacman -S hyprland glow starship lua51 luarocks tmux hyprlock npm nodejs bluez bluez-utils btop docker docker-compose gradle gst-plugin-pipewire gvfs-smb htop hyprshot blueman network-manager-applet waybar yazi ffmpeg 7zip jq poppler fd ripgrep fzf zoxide resvg imagemagick ttf-jetbrains-mono-nerd ttf-jetbrains-mono ghostty swaync brightnessctl wireplumber xdg-desktop-portal-hyprland hyprpolkitagent qt5-wayland qt6-wayland hyprpaper xclip sddm rofi-wayland unzip make ripgrep fd neovim dotnet-runtime dotnet-sdk aspnet-runtime jdk-openjdk openjdk-doc libpulse mono nano nemo networkmanager-openvpn nmap opencv openssl openvpn pipewire pipewire-alsa pipewire-jack vlc vlc-plugins-all wget curl zram-generator --needed --noconfirm

View File

@@ -15,9 +15,8 @@ if [[ -f "$GRUB_FILE" ]]; then
echo "GRUB_TIMEOUT=0" >> "$GRUB_FILE" echo "GRUB_TIMEOUT=0" >> "$GRUB_FILE"
fi fi
grub-mkconfig -o /boot/grub/grub.cfg sudo grub-mkconfig -o /boot/grub/grub.cfg
echo "GRUB timeout set to 0 and configuration updated." echo "GRUB timeout set to 0 and configuration updated."
else else
echo "$GRUB_FILE not found!" echo "$GRUB_FILE not found!"
fi fi