From 786b6acff26f5854a35c0bbdbcb1ff1bd24ed865 Mon Sep 17 00:00:00 2001 From: Gaurav Bankar Date: Tue, 6 Aug 2024 00:16:42 +0530 Subject: [PATCH] Added commands from repo --- scripts/final.sh | 4 ++++ scripts/hypr.sh | 14 +++++++------- scripts/theming.sh | 24 ++++++++++++++++++++++++ scripts/utilities.sh | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 69 insertions(+), 7 deletions(-) create mode 100644 scripts/final.sh create mode 100644 scripts/theming.sh create mode 100644 scripts/utilities.sh diff --git a/scripts/final.sh b/scripts/final.sh new file mode 100644 index 0000000..2411738 --- /dev/null +++ b/scripts/final.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +echo "Hello World" +# Add link to the repo here and tell about keybindings \ No newline at end of file diff --git a/scripts/hypr.sh b/scripts/hypr.sh index 52ece43..392dca7 100644 --- a/scripts/hypr.sh +++ b/scripts/hypr.sh @@ -9,14 +9,14 @@ source $SCRIPT_DIR/helper.sh log_message "Installation started for hypr section" print_info "\nStarting hypr setup..." -run_command "pacman -S hyprland" "Install Hyprland" "no" -run_command "cp ~/simple-hyprland/configs/hypr/hyprland.conf ~/.config/hypr/" "Copy hyprland config" "no" +run_command "pacman -S --noconfirm hyprland" "Install Hyprland" "no" +run_command "cp ~/simple-hyprland/configs/hypr/hyprland.conf ~/.config/hypr/" "Copy hyprland config (Must)" "yes" -run_command "pacman -S xdg-desktop-portal-hyprland" "Install Desktop portal" "no" +run_command "pacman -S --noconfirm xdg-desktop-portal-hyprland" "Install Desktop portal" "no" -run_command "pacman -S polkit-kde-agent" "Install KDE Polkit" "no" +run_command "pacman -S --noconfirm polkit-kde-agent" "Install KDE Polkit" "no" -run_command "pacman -S qt5-wayland qt6-wayland" "Install QT support on wayland" "no" +run_command "pacman -S --noconfirm dunst" "Install notification-daemon (Recommended)" "yes" +run_command "cp -r ~/simple-hyprland/configs/dunst ~/.config/" "Copy dunst config" "yes" -run_command "pacman -S dunst" "Install notification-daemon and copy config (Recommended)" "yes" -run_command "cp -r ~/simple-hyprland/configs/dunst ~/.config/" "Copy dunst config" "yes" \ No newline at end of file +run_command "pacman -S --noconfirm qt5-wayland qt6-wayland" "Install QT support on wayland" "no" \ No newline at end of file diff --git a/scripts/theming.sh b/scripts/theming.sh new file mode 100644 index 0000000..edea68c --- /dev/null +++ b/scripts/theming.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +# Get the directory of the current script +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +# Source helper file +source $SCRIPT_DIR/helper.sh + +log_message "Installation started for theming section" +print_info "\nStarting theming setup..." + +run_command "pacman -S --noconfirm nwg-look" "GTK settings" "yes" + +run_command "pacman -S --noconfirm qt5ct qt6ct kvantum" "QT Settings" "yes" + +run_command "tar -xvf ~/simple-hyprland/assets/themes/Catppuccin-Mocha.tar.xz -C /usr/share/themes/" "Catppuccin GTK Theme" "yes" + +run_command "tar -xvf ~/simple-hyprland/assets/icons/Tela-circle-dracula.tar.xz -C /usr/share/icons/" "Tela icon theme" "yes" + +run_command "yay -S kvantum-theme-catppuccin-git" "Catppuccin kvantum Theme" "yes" + +run_command "cp -r ~/simple-hyprland/configs/kitty ~/.config/" "Catppuccin kitty theme" "yes" + +# Add instructions to configure theming here diff --git a/scripts/utilities.sh b/scripts/utilities.sh new file mode 100644 index 0000000..aa383aa --- /dev/null +++ b/scripts/utilities.sh @@ -0,0 +1,34 @@ +#!/bin/bash + +# Get the directory of the current script +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +# Source helper file +source $SCRIPT_DIR/helper.sh + +log_message "Installation started for utilities section" +print_info "\nStarting utilities setup..." + +run_command "pacman -S --noconfirm waybar" "Install Waybar" "yes" +run_command "cp -r ~/simple-hyprland/configs/waybar ~/.config/" "Copy Waybar config" "yes" + +run_command "yay -S tofi" "Install tofi" "yes" "no" +run_command "cp -r ~/simple-hyprland/configs/tofi ~/.config/" "Copy tofi config(s)" "yes" + +run_command "pacman -S cliphist" "Install cliphist" "yes" + +run_command "yay -S swww" "yes" "no" +run_command "cp -r ~/simple-hyprland/assets/backgrounds ~/.config/assets/backgrounds/" "Copy sample wallpapers (Recommended)" "yes" + +run_command "yay -S hyprpicker" "yes" "no" + +run_command "yay -S hyprlock" "yes" "no" +run_command "cp ~/simple-hyprland/configs/hypr/hyprlock.conf ~/.config/hypr/" "Copy hyprlock config" "yes" + +run_command "yay -S hypridle" "yes" "no" +run_command "cp ~/simple-hyprland/configs/hypr/hypridle.conf ~/.config/hypr/" "Copy hypridle config" "yes" + +run_command "yay -S wlogout" "yes" "no" +run_command "cp -r ~/simple-hyprland/configs/wlogout ~/.config/ && cp -r ~/simple-hyprland/assets/wlogout ~/.config/assets/ # copying assets" "Copy hypridle config" "yes" + +run_command "yay -S grimblast" "yes" "no" \ No newline at end of file