From 05e37195ebe1c68ffcb8d8a17cf42957a65e33d2 Mon Sep 17 00:00:00 2001 From: Gaurav Bankar Date: Mon, 5 Aug 2024 09:55:43 +0530 Subject: [PATCH] hypr essentials complete --- scripts/hypr.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 scripts/hypr.sh diff --git a/scripts/hypr.sh b/scripts/hypr.sh new file mode 100644 index 0000000..52ece43 --- /dev/null +++ b/scripts/hypr.sh @@ -0,0 +1,22 @@ +#!/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 hyprland" "Install Hyprland" "no" +run_command "cp ~/simple-hyprland/configs/hypr/hyprland.conf ~/.config/hypr/" "Copy hyprland config" "no" + +run_command "pacman -S xdg-desktop-portal-hyprland" "Install Desktop portal" "no" + +run_command "pacman -S 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 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