From c7d176308237dc02bf43d87712c28d75b73b46d3 Mon Sep 17 00:00:00 2001 From: Gaurav Bankar Date: Thu, 8 Aug 2024 09:58:45 +0530 Subject: [PATCH] command fixes --- scripts/installer/hypr.sh | 4 +- scripts/installer/simple_hyprland_install.log | 88 +++++++++++++++++++ scripts/installer/theming.sh | 6 +- scripts/installer/utilities.sh | 12 +-- 4 files changed, 99 insertions(+), 11 deletions(-) create mode 100644 scripts/installer/simple_hyprland_install.log diff --git a/scripts/installer/hypr.sh b/scripts/installer/hypr.sh index 7bb5494..383ef49 100644 --- a/scripts/installer/hypr.sh +++ b/scripts/installer/hypr.sh @@ -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 ~/simple-hyprland/configs/hypr/hyprland.conf ~/.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 ~/simple-hyprland/configs/dunst ~/.config/" "Copy dunst config" "yes" +run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/dunst /home/$SUDO_USER/.config/" "Copy dunst config" "yes" run_command "pacman -S --noconfirm qt5-wayland qt6-wayland" "Install QT support on wayland" "yes" diff --git a/scripts/installer/simple_hyprland_install.log b/scripts/installer/simple_hyprland_install.log new file mode 100644 index 0000000..6bb53ee --- /dev/null +++ b/scripts/installer/simple_hyprland_install.log @@ -0,0 +1,88 @@ +Thu Aug 8 09:28:34 AM IST 2024: Installation started +Thu Aug 8 09:28:34 AM IST 2024: Original user is gaurav +Thu Aug 8 09:28:34 AM IST 2024: Arch Linux detected. Installation proceeding. +Thu Aug 8 09:28:35 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:28:35 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:28:35 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:28:37 AM IST 2024: Operation accepted by user. +Thu Aug 8 09:28:37 AM IST 2024: Installation started for theming section +Thu Aug 8 09:28:37 AM IST 2024: Attempting to run: Install nwg-look for GTK theme management +Thu Aug 8 09:28:38 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:28:38 AM IST 2024: Install nwg-look for GTK theme management was skipped by user choice. +Thu Aug 8 09:28:38 AM IST 2024: Attempting to run: Install Qt5, Qt6 Settings, and Kvantum theme engines +Thu Aug 8 09:28:39 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:28:39 AM IST 2024: Install Qt5, Qt6 Settings, and Kvantum theme engines was skipped by user choice. +Thu Aug 8 09:28:39 AM IST 2024: Attempting to run: Install Catppuccin Mocha GTK theme +Thu Aug 8 09:28:41 AM IST 2024: Operation accepted by user. +Thu Aug 8 09:28:41 AM IST 2024: Command failed: tar -xvf ~/simple-hyprland/assets/themes/Catppuccin-Mocha.tar.xz -C /usr/share/themes/ +Thu Aug 8 09:31:47 AM IST 2024: Script interrupted and exited +Thu Aug 8 09:32:44 AM IST 2024: Installation started +Thu Aug 8 09:32:44 AM IST 2024: Original user is gaurav +Thu Aug 8 09:32:44 AM IST 2024: Arch Linux detected. Installation proceeding. +Thu Aug 8 09:32:45 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:32:45 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:32:45 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:32:47 AM IST 2024: Operation accepted by user. +Thu Aug 8 09:32:47 AM IST 2024: Installation started for theming section +Thu Aug 8 09:32:47 AM IST 2024: Attempting to run: Install nwg-look for GTK theme management +Thu Aug 8 09:32:49 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:32:49 AM IST 2024: Install nwg-look for GTK theme management was skipped by user choice. +Thu Aug 8 09:32:49 AM IST 2024: Attempting to run: Install Qt5, Qt6 Settings, and Kvantum theme engines +Thu Aug 8 09:32:50 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:32:50 AM IST 2024: Install Qt5, Qt6 Settings, and Kvantum theme engines was skipped by user choice. +Thu Aug 8 09:32:50 AM IST 2024: Attempting to run: Install Catppuccin Mocha GTK theme +Thu Aug 8 09:32:53 AM IST 2024: Operation accepted by user. +Thu Aug 8 09:32:53 AM IST 2024: Install Catppuccin Mocha GTK theme completed successfully. +Thu Aug 8 09:32:53 AM IST 2024: Attempting to run: Install Tela Circle Dracula icon theme +Thu Aug 8 09:32:56 AM IST 2024: Script interrupted and exited +Thu Aug 8 09:47:14 AM IST 2024: Installation started +Thu Aug 8 09:47:14 AM IST 2024: Original user is gaurav +Thu Aug 8 09:47:14 AM IST 2024: Arch Linux detected. Installation proceeding. +Thu Aug 8 09:47:20 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:47:33 AM IST 2024: Operation accepted by user. +Thu Aug 8 09:47:33 AM IST 2024: Installation started for hypr section +Thu Aug 8 09:47:33 AM IST 2024: Attempting to run: Install Hyprland (Must) +Thu Aug 8 09:47:35 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:47:35 AM IST 2024: Install Hyprland (Must) was skipped by user choice. +Thu Aug 8 09:47:35 AM IST 2024: Attempting to run: Copy hyprland config (Must) +Thu Aug 8 09:47:35 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:47:35 AM IST 2024: Copy hyprland config (Must) was skipped by user choice. +Thu Aug 8 09:47:35 AM IST 2024: Attempting to run: Install XDG desktop portal for Hyprland +Thu Aug 8 09:47:37 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:47:37 AM IST 2024: Install XDG desktop portal for Hyprland was skipped by user choice. +Thu Aug 8 09:47:37 AM IST 2024: Attempting to run: Install KDE Polkit agent for authentication dialogs +Thu Aug 8 09:47:38 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:47:38 AM IST 2024: Install KDE Polkit agent for authentication dialogs was skipped by user choice. +Thu Aug 8 09:47:38 AM IST 2024: Attempting to run: Install Dunst notification daemon +Thu Aug 8 09:47:39 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:47:39 AM IST 2024: Install Dunst notification daemon was skipped by user choice. +Thu Aug 8 09:47:39 AM IST 2024: Attempting to run: Copy dunst config +Thu Aug 8 09:47:40 AM IST 2024: Operation accepted by user. +Thu Aug 8 09:47:40 AM IST 2024: Command failed: cp -r /home/gaurav/simple-hyprland/configs/dunst ~/.config/ +Thu Aug 8 09:48:15 AM IST 2024: Script interrupted and exited +Thu Aug 8 09:48:16 AM IST 2024: Installation started +Thu Aug 8 09:48:16 AM IST 2024: Original user is gaurav +Thu Aug 8 09:48:16 AM IST 2024: Arch Linux detected. Installation proceeding. +Thu Aug 8 09:48:19 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:48:20 AM IST 2024: Operation accepted by user. +Thu Aug 8 09:48:20 AM IST 2024: Installation started for hypr section +Thu Aug 8 09:48:20 AM IST 2024: Attempting to run: Install Hyprland (Must) +Thu Aug 8 09:48:20 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:48:20 AM IST 2024: Install Hyprland (Must) was skipped by user choice. +Thu Aug 8 09:48:20 AM IST 2024: Attempting to run: Copy hyprland config (Must) +Thu Aug 8 09:48:21 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:48:21 AM IST 2024: Copy hyprland config (Must) was skipped by user choice. +Thu Aug 8 09:48:21 AM IST 2024: Attempting to run: Install XDG desktop portal for Hyprland +Thu Aug 8 09:48:21 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:48:21 AM IST 2024: Install XDG desktop portal for Hyprland was skipped by user choice. +Thu Aug 8 09:48:21 AM IST 2024: Attempting to run: Install KDE Polkit agent for authentication dialogs +Thu Aug 8 09:48:21 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:48:21 AM IST 2024: Install KDE Polkit agent for authentication dialogs was skipped by user choice. +Thu Aug 8 09:48:21 AM IST 2024: Attempting to run: Install Dunst notification daemon +Thu Aug 8 09:48:23 AM IST 2024: Operation cancelled by user. +Thu Aug 8 09:48:23 AM IST 2024: Install Dunst notification daemon was skipped by user choice. +Thu Aug 8 09:48:23 AM IST 2024: Attempting to run: Copy dunst config +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 diff --git a/scripts/installer/theming.sh b/scripts/installer/theming.sh index 1ccd89b..ab359fa 100644 --- a/scripts/installer/theming.sh +++ b/scripts/installer/theming.sh @@ -13,13 +13,13 @@ 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 ~/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/themes/Catppuccin-Mocha.tar.xz -C /usr/share/themes/" "Install Catppuccin Mocha GTK theme" "yes" "no" -run_command "tar -xvf ~/simple-hyprland/assets/icons/Tela-circle-dracula.tar.xz -C /usr/share/icons/" "Install Tela Circle Dracula icon 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 "yay -S --sudoloop --noconfirm kvantum-theme-catppuccin-git" "Install Catppuccin theme for Kvantum" "yes" "no" -run_command "cp -r ~/simple-hyprland/configs/kitty ~/.config/" "Copy Catppuccin theme configuration for Kitty terminal" "yes" +run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/kitty /home/$SUDO_USER/.config/" "Copy Catppuccin theme configuration for Kitty terminal" "yes" "no" # Add instructions to configure theming print_info "\nPost-installation instructions:" diff --git a/scripts/installer/utilities.sh b/scripts/installer/utilities.sh index 70602f2..25deb02 100644 --- a/scripts/installer/utilities.sh +++ b/scripts/installer/utilities.sh @@ -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 ~/simple-hyprland/configs/waybar ~/.config/" "Copy Waybar config" "yes" +run_command "cp -r /home/$SUDO_USER/simple-hyprland/configs/waybar /home/$SUDO_USER/.config/" "Copy Waybar config" "yes" run_command "yay -S --sudoloop --noconfirm tofi" "Install Tofi - Application Launcher" "yes" "no" -run_command "cp -r ~/simple-hyprland/configs/tofi ~/.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" 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 ~/simple-hyprland/assets/backgrounds ~/.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" 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 ~/simple-hyprland/configs/hypr/hyprlock.conf ~/.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" run_command "yay -S --sudoloop --noconfirm wlogout" "Install Wlogout - Session Manager" "yes" "no" -run_command "cp -r ~/simple-hyprland/configs/wlogout ~/.config/ && cp -r ~/simple-hyprland/assets/wlogout ~/.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" 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 ~/simple-hyprland/configs/hypr/hypridle.conf ~/.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" echo "------------------------------------------------------------------------" \ No newline at end of file