command fixes

This commit is contained in:
Gaurav Bankar
2024-08-08 10:12:25 +05:30
parent 049fca4d77
commit 603007921b
4 changed files with 128 additions and 10 deletions

View File

@@ -11,14 +11,14 @@ print_info "\nStarting hypr setup..."
print_info "\nEverything is recommended to INSTALL"
run_command "pacman -S --noconfirm hyprland" "Install Hyprland (Must)" "yes"
run_command "cp /home/$SUDO_USER/simple-hyprland/configs/hypr/hyprland.conf /home/$SUDO_USER/.config/hypr/" "Copy hyprland config (Must)" "yes" #no
run_command "cp /home/$SUDO_USER/simple-hyprland/configs/hypr/hyprland.conf /home/$SUDO_USER/.config/hypr/" "Copy hyprland config (Must)" "yes" "no"
run_command "pacman -S --noconfirm xdg-desktop-portal-hyprland" "Install XDG desktop portal for Hyprland" "yes"
run_command "pacman -S --noconfirm polkit-kde-agent" "Install KDE Polkit agent for authentication dialogs" "yes"
run_command "pacman -S --noconfirm dunst" "Install Dunst notification daemon" "yes"
run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/dunst /home/$SUDO_USER/.config/" "Copy dunst config" "yes"
run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/dunst /home/$SUDO_USER/.config/" "Copy dunst config" "yes" "no"
run_command "pacman -S --noconfirm qt5-wayland qt6-wayland" "Install QT support on wayland" "yes"

View File

@@ -86,3 +86,121 @@ Thu Aug 8 09:48:24 AM IST 2024: Operation accepted by user.
Thu Aug 8 09:48:24 AM IST 2024: Copy dunst config completed successfully.
Thu Aug 8 09:48:24 AM IST 2024: Attempting to run: Install QT support on wayland
Thu Aug 8 09:50:32 AM IST 2024: Script interrupted and exited
Thu Aug 8 09:59:51 AM IST 2024: Installation started
Thu Aug 8 09:59:51 AM IST 2024: Original user is gaurav
Thu Aug 8 09:59:51 AM IST 2024: Arch Linux detected. Installation proceeding.
Thu Aug 8 09:59:54 AM IST 2024: Operation accepted by user.
Thu Aug 8 09:59:54 AM IST 2024: Installation started for prerequisites section
Thu Aug 8 09:59:54 AM IST 2024: Attempting to run: Update package database and upgrade packages (Recommended)
Thu Aug 8 10:00:34 AM IST 2024: Script interrupted and exited
Thu Aug 8 10:00:37 AM IST 2024: Installation started
Thu Aug 8 10:00:37 AM IST 2024: Original user is gaurav
Thu Aug 8 10:00:37 AM IST 2024: Arch Linux detected. Installation proceeding.
Thu Aug 8 10:00:39 AM IST 2024: Operation accepted by user.
Thu Aug 8 10:00:39 AM IST 2024: Installation started for prerequisites section
Thu Aug 8 10:00:39 AM IST 2024: Attempting to run: Update package database and upgrade packages (Recommended)
Thu Aug 8 10:02:02 AM IST 2024: Script interrupted and exited
Thu Aug 8 10:02:02 AM IST 2024: Installation started
Thu Aug 8 10:02:02 AM IST 2024: Original user is gaurav
Thu Aug 8 10:02:02 AM IST 2024: Arch Linux detected. Installation proceeding.
Thu Aug 8 10:02:07 AM IST 2024: Operation accepted by user.
Thu Aug 8 10:02:07 AM IST 2024: Installation started for prerequisites section
Thu Aug 8 10:02:07 AM IST 2024: Attempting to run: Update package database and upgrade packages (Recommended)
Thu Aug 8 10:03:51 AM IST 2024: Script interrupted and exited
Thu Aug 8 10:03:53 AM IST 2024: Installation started
Thu Aug 8 10:03:53 AM IST 2024: Original user is gaurav
Thu Aug 8 10:03:53 AM IST 2024: Arch Linux detected. Installation proceeding.
Thu Aug 8 10:03:56 AM IST 2024: Operation accepted by user.
Thu Aug 8 10:03:56 AM IST 2024: Installation started for prerequisites section
Thu Aug 8 10:03:56 AM IST 2024: Attempting to run: Update package database and upgrade packages (Recommended)
Thu Aug 8 10:04:06 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:04:06 AM IST 2024: Update package database and upgrade packages (Recommended) was skipped by user choice.
Thu Aug 8 10:04:06 AM IST 2024: Attempting to run: Install YAY (Must)/Breaks the script
Thu Aug 8 10:05:35 AM IST 2024: Script interrupted and exited
Thu Aug 8 10:05:43 AM IST 2024: Installation started
Thu Aug 8 10:05:43 AM IST 2024: Original user is gaurav
Thu Aug 8 10:05:43 AM IST 2024: Arch Linux detected. Installation proceeding.
Thu Aug 8 10:05:44 AM IST 2024: Operation accepted by user.
Thu Aug 8 10:05:44 AM IST 2024: Installation started for prerequisites section
Thu Aug 8 10:05:44 AM IST 2024: Attempting to run: Update package database and upgrade packages (Recommended)
Thu Aug 8 10:05:47 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:05:47 AM IST 2024: Update package database and upgrade packages (Recommended) was skipped by user choice.
Thu Aug 8 10:05:47 AM IST 2024: Attempting to run: Install YAY (Must)/Breaks the script
Thu Aug 8 10:05:54 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:05:54 AM IST 2024: Install YAY (Must)/Breaks the script was skipped by user choice.
Thu Aug 8 10:05:54 AM IST 2024: Attempting to run: Configuring audio (Recommended)
Thu Aug 8 10:06:04 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:06:04 AM IST 2024: Configuring audio (Recommended) was skipped by user choice.
Thu Aug 8 10:06:04 AM IST 2024: Attempting to run: Installing Nerd Fonts and Symbols (Recommended)
Thu Aug 8 10:06:07 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:06:07 AM IST 2024: Installing Nerd Fonts and Symbols (Recommended) was skipped by user choice.
Thu Aug 8 10:06:07 AM IST 2024: Attempting to run: Install and enable SDDM (Recommended)
Thu Aug 8 10:06:09 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:06:09 AM IST 2024: Install and enable SDDM (Recommended) was skipped by user choice.
Thu Aug 8 10:06:09 AM IST 2024: Attempting to run: Install Brave Browser
Thu Aug 8 10:06:14 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:06:14 AM IST 2024: Install Brave Browser was skipped by user choice.
Thu Aug 8 10:06:14 AM IST 2024: Attempting to run: Install Kitty (Recommended)
Thu Aug 8 10:06:19 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:06:19 AM IST 2024: Install Kitty (Recommended) was skipped by user choice.
Thu Aug 8 10:06:19 AM IST 2024: Attempting to run: Install nano
Thu Aug 8 10:06:21 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:06:21 AM IST 2024: Install nano was skipped by user choice.
Thu Aug 8 10:06:21 AM IST 2024: Attempting to run: Install tar for extracting files (Must)/needed for copying themes
Thu Aug 8 10:06:23 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:06:23 AM IST 2024: Install tar for extracting files (Must)/needed for copying themes was skipped by user choice.
Thu Aug 8 10:06:25 AM IST 2024: Operation accepted by user.
Thu Aug 8 10:06:25 AM IST 2024: Installation started for hypr section
Thu Aug 8 10:06:25 AM IST 2024: Attempting to run: Install Hyprland (Must)
Thu Aug 8 10:06:26 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:06:26 AM IST 2024: Install Hyprland (Must) was skipped by user choice.
Thu Aug 8 10:06:26 AM IST 2024: Attempting to run: Copy hyprland config (Must)
Thu Aug 8 10:07:01 AM IST 2024: Script interrupted and exited
Thu Aug 8 10:07:48 AM IST 2024: Installation started
Thu Aug 8 10:07:48 AM IST 2024: Original user is gaurav
Thu Aug 8 10:07:48 AM IST 2024: Arch Linux detected. Installation proceeding.
Thu Aug 8 10:07:50 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:07:56 AM IST 2024: Operation accepted by user.
Thu Aug 8 10:07:56 AM IST 2024: Installation started for hypr section
Thu Aug 8 10:07:56 AM IST 2024: Attempting to run: Install Hyprland (Must)
Thu Aug 8 10:07:58 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:07:58 AM IST 2024: Install Hyprland (Must) was skipped by user choice.
Thu Aug 8 10:07:58 AM IST 2024: Attempting to run: Copy hyprland config (Must)
Thu Aug 8 10:08:20 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:08:20 AM IST 2024: Copy hyprland config (Must) was skipped by user choice.
Thu Aug 8 10:08:20 AM IST 2024: Attempting to run: Install XDG desktop portal for Hyprland
Thu Aug 8 10:08:21 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:08:21 AM IST 2024: Install XDG desktop portal for Hyprland was skipped by user choice.
Thu Aug 8 10:08:21 AM IST 2024: Attempting to run: Install KDE Polkit agent for authentication dialogs
Thu Aug 8 10:08:22 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:08:22 AM IST 2024: Install KDE Polkit agent for authentication dialogs was skipped by user choice.
Thu Aug 8 10:08:22 AM IST 2024: Attempting to run: Install Dunst notification daemon
Thu Aug 8 10:08:23 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:08:23 AM IST 2024: Install Dunst notification daemon was skipped by user choice.
Thu Aug 8 10:08:23 AM IST 2024: Attempting to run: Copy dunst config
Thu Aug 8 10:08:49 AM IST 2024: Script interrupted and exited
Thu Aug 8 10:08:51 AM IST 2024: Installation started
Thu Aug 8 10:08:51 AM IST 2024: Original user is gaurav
Thu Aug 8 10:08:51 AM IST 2024: Arch Linux detected. Installation proceeding.
Thu Aug 8 10:08:52 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:08:53 AM IST 2024: Operation accepted by user.
Thu Aug 8 10:08:53 AM IST 2024: Installation started for hypr section
Thu Aug 8 10:08:53 AM IST 2024: Attempting to run: Install Hyprland (Must)
Thu Aug 8 10:08:54 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:08:54 AM IST 2024: Install Hyprland (Must) was skipped by user choice.
Thu Aug 8 10:08:54 AM IST 2024: Attempting to run: Copy hyprland config (Must)
Thu Aug 8 10:08:54 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:08:54 AM IST 2024: Copy hyprland config (Must) was skipped by user choice.
Thu Aug 8 10:08:54 AM IST 2024: Attempting to run: Install XDG desktop portal for Hyprland
Thu Aug 8 10:08:59 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:08:59 AM IST 2024: Install XDG desktop portal for Hyprland was skipped by user choice.
Thu Aug 8 10:08:59 AM IST 2024: Attempting to run: Install KDE Polkit agent for authentication dialogs
Thu Aug 8 10:09:05 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:09:05 AM IST 2024: Install KDE Polkit agent for authentication dialogs was skipped by user choice.
Thu Aug 8 10:09:05 AM IST 2024: Attempting to run: Install Dunst notification daemon
Thu Aug 8 10:09:08 AM IST 2024: Operation cancelled by user.
Thu Aug 8 10:09:08 AM IST 2024: Install Dunst notification daemon was skipped by user choice.
Thu Aug 8 10:09:08 AM IST 2024: Attempting to run: Copy dunst config
Thu Aug 8 10:09:10 AM IST 2024: Operation accepted by user.
Thu Aug 8 10:09:10 AM IST 2024: Copy dunst config completed successfully.
Thu Aug 8 10:09:10 AM IST 2024: Attempting to run: Install QT support on wayland

View File

@@ -13,9 +13,9 @@ run_command "pacman -S --noconfirm nwg-look" "Install nwg-look for GTK theme man
run_command "pacman -S --noconfirm qt5ct qt6ct kvantum" "Install Qt5, Qt6 Settings, and Kvantum theme engines" "yes"
run_command "tar -xvf /home/$SUDO_USER/simple-hyprland/assets/themes/Catppuccin-Mocha.tar.xz -C /usr/share/themes/" "Install Catppuccin Mocha GTK theme" "yes" "no"
run_command "tar -xvf /home/$SUDO_USER/simple-hyprland/assets/themes/Catppuccin-Mocha.tar.xz -C /usr/share/themes/" "Install Catppuccin Mocha GTK theme" "yes"
run_command "tar -xvf /home/$SUDO_USER/simple-hyprland/assets/icons/Tela-circle-dracula.tar.xz -C /usr/share/icons/" "Install Tela Circle Dracula icon theme" "yes" "no"
run_command "tar -xvf /home/$SUDO_USER/simple-hyprland/assets/icons/Tela-circle-dracula.tar.xz -C /usr/share/icons/" "Install Tela Circle Dracula icon theme" "yes"
run_command "yay -S --sudoloop --noconfirm kvantum-theme-catppuccin-git" "Install Catppuccin theme for Kvantum" "yes" "no"

View File

@@ -10,27 +10,27 @@ log_message "Installation started for utilities section"
print_info "\nStarting utilities setup..."
run_command "pacman -S --noconfirm waybar" "Install Waybar - Status Bar" "yes"
run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/waybar /home/$SUDO_USER/.config/" "Copy Waybar config" "yes"
run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/waybar /home/$SUDO_USER/.config/" "Copy Waybar config" "yes" "no"
run_command "yay -S --sudoloop --noconfirm tofi" "Install Tofi - Application Launcher" "yes" "no"
run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/tofi /home/$SUDO_USER/.config/" "Copy Tofi config(s)" "yes"
run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/tofi /home/$SUDO_USER/.config/" "Copy Tofi config(s)" "yes" "no"
run_command "pacman -S --noconfirm cliphist" "Install Cliphist - Clipboard Manager" "yes"
run_command "yay -S --sudoloop --noconfirm swww" "Install SWWW for wallpaper management" "yes" "no"
run_command "cp -r /home/$SUDO_USER/simple-hyprland/assets/backgrounds /home/$SUDO_USER/.config/assets/backgrounds/" "Copy sample wallpapers to assets directory (Recommended)" "yes"
run_command "cp -r /home/$SUDO_USER/simple-hyprland/assets/backgrounds /home/$SUDO_USER/.config/assets/backgrounds/" "Copy sample wallpapers to assets directory (Recommended)" "yes" "no"
run_command "yay -S --sudoloop --noconfirm hyprpicker" "Install Hyprpicker - Color Picker" "yes" "no"
run_command "yay -S --sudoloop --noconfirm hyprlock" "Install Hyprlock - Screen Locker (Must)" "yes" "no"
run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/hypr/hyprlock.conf /home/$SUDO_USER/.config/hypr/" "Copy Hyprlock config" "yes"
run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/hypr/hyprlock.conf /home/$SUDO_USER/.config/hypr/" "Copy Hyprlock config" "yes" "no"
run_command "yay -S --sudoloop --noconfirm wlogout" "Install Wlogout - Session Manager" "yes" "no"
run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/wlogout /home/$SUDO_USER/.config/ && cp -r /home/$SUDO_USER/simple-hyprland/assets/wlogout /home/$SUDO_USER/.config/assets/" "Copy Wlogout config and assets" "yes"
run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/wlogout /home/$SUDO_USER/.config/ && cp -r /home/$SUDO_USER/simple-hyprland/assets/wlogout /home/$SUDO_USER/.config/assets/" "Copy Wlogout config and assets" "yes" "no"
run_command "yay -S --sudoloop --noconfirm grimblast" "Install Grimblast - Screenshot tool" "yes" "no"
run_command "yay -S --sudoloop --noconfirm hypridle" "Install Hypridle for idle management (Must)" "yes" "no"
run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/hypr/hypridle.conf /home/$SUDO_USER/.config/hypr/" "Copy Hypridle config" "yes"
run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/hypr/hypridle.conf /home/$SUDO_USER/.config/hypr/" "Copy Hypridle config" "yes" "no"
echo "------------------------------------------------------------------------"