From 9b47145d45ac2059f5565a95b4910696267c758e Mon Sep 17 00:00:00 2001 From: The_miro Date: Mon, 11 Nov 2024 19:23:15 +0100 Subject: [PATCH] fixed the install script running on sudo which is dense --- hyprland-full-install-script.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hyprland-full-install-script.sh b/hyprland-full-install-script.sh index 7142624..f164ec1 100644 --- a/hyprland-full-install-script.sh +++ b/hyprland-full-install-script.sh @@ -1,3 +1,4 @@ + #install components sudo pacman -S \ base \ @@ -67,7 +68,7 @@ zip \ zram-generator \ zsh #networkmanager setup -systemctl enable NetworkManager.service +sudo systemctl enable NetworkManager.service #starship setup curl -sS https://starship.rs/install.sh | sh #ohmyzsh setup @@ -107,8 +108,8 @@ chsh -s /usr/bin/zsh homectl update --shell=/usr/bin/zsh #greetd setup -cp -f ~/Dotfiles/desktopenvs/hyprland/greetd-tuigreet/config.toml /etc/greetd/config.toml -systemctl enable greetd.service +sudo cp -f ~/Dotfiles/desktopenvs/hyprland/greetd-tuigreet/config.toml /etc/greetd/config.toml +sudo systemctl enable greetd.service #final reboot #systemctl reboot