Added commands from repo

This commit is contained in:
Gaurav Bankar
2024-08-06 00:16:42 +05:30
parent 05e37195eb
commit 786b6acff2
4 changed files with 69 additions and 7 deletions

4
scripts/final.sh Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
echo "Hello World"
# Add link to the repo here and tell about keybindings

View File

@@ -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"
run_command "pacman -S --noconfirm qt5-wayland qt6-wayland" "Install QT support on wayland" "no"

24
scripts/theming.sh Normal file
View File

@@ -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

34
scripts/utilities.sh Normal file
View File

@@ -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"