better structure

This commit is contained in:
Gaurav Bankar
2024-08-07 09:14:10 +05:30
parent dbca84c523
commit 19557dc2a5
7 changed files with 0 additions and 0 deletions

24
scripts/installer/hypr.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 hypr section"
print_info "\nStarting hypr setup..."
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 "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 (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" "yes"
echo "------------------------------------------------------------------------"