From 58cc87957d1f5178e94a9dc20044927e540fb041 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 22 Aug 2024 20:07:06 +0900 Subject: [PATCH 01/10] Refactor - Debian-Hyprland as it is in official repo already --- CHANGELOGS.md | 3 + README.md | 9 +-- install-scripts/00-dependencies.sh | 74 +---------------------- install-scripts/01-pre-cleanup.sh | 44 ++++++++++++++ install-scripts/ags.sh | 20 +++---- install-scripts/bluetooth.sh | 4 +- install-scripts/fonts.sh | 10 ++-- install-scripts/hypr-eco.sh | 46 --------------- install-scripts/hyprcursor.sh | 64 -------------------- install-scripts/hypridle.sh | 2 +- install-scripts/hyprland.sh | 58 ++++-------------- install-scripts/hyprlang.sh | 51 ---------------- install-scripts/hyprlock.sh | 2 +- install-scripts/hyprutils.sh | 48 --------------- install-scripts/hyprwayland-scanner.sh | 64 -------------------- install-scripts/imagemagick.sh | 2 +- install-scripts/swww.sh | 4 +- install-scripts/thunar.sh | 14 ++--- install-scripts/wallust.sh | 8 +-- install-scripts/waybar-git.sh | 82 -------------------------- install.sh | 9 +-- 21 files changed, 97 insertions(+), 521 deletions(-) create mode 100644 install-scripts/01-pre-cleanup.sh delete mode 100755 install-scripts/hypr-eco.sh delete mode 100755 install-scripts/hyprcursor.sh delete mode 100755 install-scripts/hyprlang.sh delete mode 100755 install-scripts/hyprutils.sh delete mode 100755 install-scripts/hyprwayland-scanner.sh delete mode 100755 install-scripts/waybar-git.sh diff --git a/CHANGELOGS.md b/CHANGELOGS.md index 150a857..c607cba 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -1,5 +1,8 @@ ## Changelogs +## 22 Aug 2024 +- refactor Debian-Hyprland script. As Hyprland is now in official repo + ## 07 Jul 2024 - added eza (ls replacement for tty). Note only on .zshrc diff --git a/README.md b/README.md index 21c9e5a..6e593b7 100644 --- a/README.md +++ b/README.md @@ -204,19 +204,14 @@ source ~/.zshrc - if you installed in your laptop and Brightness and Keyboard brightness does not work you can execute this command `sudo chmod +s $(which brightnessctl)` #### โœจ Packages that are manually downloaded and build. These packages will not be updated by apt and have to be manually updated -- Hyprland [`LINK`](https://github.com/hyprwm/Hyprland) - nwg-look [`LINK`](https://github.com/nwg-piotr/nwg-look) - Asus ROG asusctl [`LINK`](https://gitlab.com/asus-linux/asusctl) and superfxctl [`LINK`](https://gitlab.com/asus-linux/supergfxctl) - swww [`LINK`](https://github.com/Horus645/swww) -- hyprlock [`LINK`](https://github.com/hyprwm/hyprlock) -- hypridle [`LINK`](https://github.com/hyprwm/hypridle) -- hyprlang [`LINK`](https://github.com/hyprwm/hyprlang) -- hyprcursor [`LINK`](https://github.com/hyprwm/hyprcursor) -- swappy [`LINK`](https://github.com/jtheoof/swappy) +- hyprlock [`LINK`](https://github.com/hyprwm/hyprlock) #22 Aug 2024 - still not on repo +- hypridle [`LINK`](https://github.com/hyprwm/hypridle) #22 Aug 2024 - still not on repo - xdg-desktop-portal-hyprland [`LINK`](https://github.com/hyprwm/xdg-desktop-portal-hyprland) - rofi-wayland [`LINK`](https://github.com/lbonn/rofi) - wallust [`LINK`](https://codeberg.org/explosion-mental/wallust) -- waybar [`LINK`](https://github.com/Alexays/Waybar) - as of 13 May 2024. This was because Hyprland v0.40.0 requires Waybar v0.10.3 and Trixie still has waybar v0.10.3 > [!TIP] > To update to latest packages, re-running this script will auto update all. Script is configured to pull latest packages build for you. diff --git a/install-scripts/00-dependencies.sh b/install-scripts/00-dependencies.sh index 921d7dc..948ed01 100755 --- a/install-scripts/00-dependencies.sh +++ b/install-scripts/00-dependencies.sh @@ -1,6 +1,8 @@ #!/bin/bash # ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ # # main dependencies # +# 22 Aug 2024 - NOTE will trim this more down + # packages neeeded dependencies=( @@ -10,74 +12,12 @@ dependencies=( curl gawk gettext - gir1.2-graphene-1.0 git glslang-tools gobject-introspection golang hwdata jq - libavcodec-dev - libavformat-dev - libavutil-dev - libcairo2-dev - libdeflate-dev - libdisplay-info-dev - libdrm-dev - libegl1-mesa-dev - libgbm-dev - libgdk-pixbuf-2.0-dev - libgdk-pixbuf2.0-bin - libgirepository1.0-dev - libgl1-mesa-dev - libgraphene-1.0-0 - libgraphene-1.0-dev - libgtk-3-dev - libgulkan-0.15-0t64 - libgulkan-dev - libinih-dev - libinput-dev - libjbig-dev - libjpeg-dev - libjpeg62-turbo-dev - liblerc-dev - libliftoff-dev - liblzma-dev - libnotify-bin - libpam0g-dev - libpango1.0-dev - libpipewire-0.3-dev - libqt6svg6 - libseat-dev - libstartup-notification0-dev - libswresample-dev - libsystemd-dev - libtiff-dev - libtiffxx6 - libtomlplusplus-dev - libudev-dev - libvkfft-dev - libvulkan-dev - libvulkan-volk-dev - libwayland-dev - libwebp-dev - libxcb-composite0-dev - libxcb-cursor-dev - libxcb-dri3-dev - libxcb-ewmh-dev - libxcb-icccm4-dev - libxcb-present-dev - libxcb-render-util0-dev - libxcb-res0-dev - libxcb-util-dev - libxcb-xinerama0-dev - libxcb-xinput-dev - libxcb-xkb-dev - libxkbcommon-dev - libxkbcommon-x11-dev - libxkbregistry-dev - libxml2-dev - libxxhash-dev meson ninja-build openssl @@ -88,8 +28,6 @@ dependencies=( python3-yaml python3-pyquery qt6-base-dev - scdoc - seatd spirv-tools vulkan-validationlayers vulkan-utility-libraries-dev @@ -122,12 +60,4 @@ for PKG1 in "${dependencies[@]}"; do fi done -# Install dependencies for wlroots -sudo apt build-dep wlroots -export PATH=$PATH:/usr/local/go/bin - -# Install Rust -curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y -source $HOME/.cargo/env - clear diff --git a/install-scripts/01-pre-cleanup.sh b/install-scripts/01-pre-cleanup.sh new file mode 100644 index 0000000..5f7a7f0 --- /dev/null +++ b/install-scripts/01-pre-cleanup.sh @@ -0,0 +1,44 @@ +#!/bin/bash + +# This script is cleaning up previous manual installation files / directories + +# 22 Aug 2024 +# Files to be removed rom /usr/local/bin + +TARGET_DIR="/usr/local/bin" + +# Define packages to manually remove +PACKAGES=( + hyprland + Hyprland + pypr +) + +## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## +# Determine the directory where the script is located +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +# Change the working directory to the parent directory of the script +PARENT_DIR="$SCRIPT_DIR/.." +cd "$PARENT_DIR" || exit 1 + +source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" + +# Set the name of the log file to include the current date and time +LOG="Install-Logs/install-$(date +%d-%H%M%S)_pre-clean-up.log" + +# Loop through the list of packages +for PKG_NAME in "${PACKAGES[@]}"; do + # Construct the full path to the file + FILE_PATH="$TARGET_DIR/$PKG_NAME" + + # Check if the file exists + if [[ -f "$FILE_PATH" ]]; then + # Delete the file + rm "$FILE_PATH" + echo "Deleted: $FILE_PATH" 2>&1 | tee -a "$LOG" + else + echo "File not found: $FILE_PATH" 2>&1 | tee -a "$LOG" + fi +done + diff --git a/install-scripts/ags.sh b/install-scripts/ags.sh index 63c943b..b7f2cea 100755 --- a/install-scripts/ags.sh +++ b/install-scripts/ags.sh @@ -3,16 +3,16 @@ # Aylur's GTK Shell # ags=( -node-typescript -npm -meson -libgjs-dev -gjs -libgtk-layer-shell-dev -libgtk-3-dev -libpulse-dev -libdbusmenu-gtk3-dev -libsoup-3.0-dev + node-typescript + npm + meson + libgjs-dev + gjs + libgtk-layer-shell-dev + libgtk-3-dev + libpulse-dev + libdbusmenu-gtk3-dev + libsoup-3.0-dev ) # specific tags to download diff --git a/install-scripts/bluetooth.sh b/install-scripts/bluetooth.sh index 4286088..4fb2920 100755 --- a/install-scripts/bluetooth.sh +++ b/install-scripts/bluetooth.sh @@ -3,8 +3,8 @@ # Bluetooth # blue=( -bluez -blueman + bluez + blueman ) ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## diff --git a/install-scripts/fonts.sh b/install-scripts/fonts.sh index 093ac55..2ead805 100755 --- a/install-scripts/fonts.sh +++ b/install-scripts/fonts.sh @@ -3,11 +3,11 @@ # Fonts Required # fonts=( -fonts-firacode -fonts-font-awesome -fonts-noto -fonts-noto-cjk -fonts-noto-color-emoji + fonts-firacode + fonts-font-awesome + fonts-noto + fonts-noto-cjk + fonts-noto-color-emoji ) ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## diff --git a/install-scripts/hypr-eco.sh b/install-scripts/hypr-eco.sh deleted file mode 100755 index 7798ed9..0000000 --- a/install-scripts/hypr-eco.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash -# ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ # -# This is to be use for installing hyprland plugins -# Hyprland plugins: pyprland - -pypr_depend=( -python3-aiofiles -python-is-python3 -) - -## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## -# Determine the directory where the script is located -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -# Change the working directory to the parent directory of the script -PARENT_DIR="$SCRIPT_DIR/.." -cd "$PARENT_DIR" || exit 1 - -source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" - -# Set the name of the log file to include the current date and time -LOG="Install-Logs/install-$(date +%d-%H%M%S)_hypr_eco.log" - -# Pyprland -printf "${NOTE} Installing Pyprland Dependencies...\n" - for PYPR in "${pypr_depend[@]}"; do - install_package "$PYPR" 2>&1 | tee -a "$LOG" - [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $PYPR Package installation failed, Please check the installation logs"; exit 1; } - done - - -# Check if the file exists and delete it -pypr="/usr/local/bin/pypr" -if [ -f "$pypr" ]; then - sudo rm "$pypr" -fi - -# Hyprland Plugins -# pyprland https://github.com/hyprland-community/pyprland installing using python -printf "${NOTE} Installing pyprland\n" - -curl https://raw.githubusercontent.com/hyprland-community/pyprland/main/scripts/get-pypr | sh 2>&1 | tee -a "$LOG" - -pip install pyprland --break-system-packages 2>&1 | tee -a "$LOG" - - diff --git a/install-scripts/hyprcursor.sh b/install-scripts/hyprcursor.sh deleted file mode 100755 index e9423be..0000000 --- a/install-scripts/hyprcursor.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/bash -# ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ # -# hyprcursor # - -cursor=( -libzip-dev -librsvg2-dev -) - -#specific branch or release -cursor_tag="v0.1.9" - -## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## -# Determine the directory where the script is located -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -# Change the working directory to the parent directory of the script -PARENT_DIR="$SCRIPT_DIR/.." -cd "$PARENT_DIR" || exit 1 - -source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" - -# Set the name of the log file to include the current date and time -LOG="Install-Logs/install-$(date +%d-%H%M%S)_hyprcursor.log" -MLOG="install-$(date +%d-%H%M%S)_hyprcursor.log" - -# Installation of dependencies -printf "\n%s - Installing hyprcursor dependencies.... \n" "${NOTE}" - -for PKG1 in "${cursor[@]}"; do - install_package "$PKG1" 2>&1 | tee -a "$LOG" - if [ $? -ne 0 ]; then - echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" - exit 1 - fi -done - -# Check if hyprcursor folder exists and remove it -if [ -d "hyprcursor" ]; then - printf "${NOTE} Removing existing hyprcursor folder...\n" - rm -rf "hyprcursor" -fi - -# Clone and build -printf "${NOTE} Installing hyprcursor...\n" -if git clone --recursive -b $cursor_tag https://github.com/hyprwm/hyprcursor.git; then - cd hyprcursor || exit 1 - cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build - cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF` - if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then - printf "${OK} hyprcursor installed successfully.\n" 2>&1 | tee -a "$MLOG" - else - echo -e "${ERROR} Installation failed for hyprcursor." 2>&1 | tee -a "$MLOG" - fi - #moving the addional logs to Install-Logs directory - mv $MLOG ../Install-Logs/ || true - cd .. -else - echo -e "${ERROR} Download failed for hyprcursor." 2>&1 | tee -a "$LOG" -fi - -clear - - diff --git a/install-scripts/hypridle.sh b/install-scripts/hypridle.sh index f033cd5..8471ec2 100755 --- a/install-scripts/hypridle.sh +++ b/install-scripts/hypridle.sh @@ -3,7 +3,7 @@ # hypidle # idle=( -libsdbus-c++-dev + libsdbus-c++-dev ) #specific branch or release diff --git a/install-scripts/hyprland.sh b/install-scripts/hyprland.sh index 03e3ca8..98b0da2 100755 --- a/install-scripts/hyprland.sh +++ b/install-scripts/hyprland.sh @@ -1,15 +1,14 @@ #!/bin/bash # ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ # -# Main Hyprland Package# +# Main Hyprland Package # -#specific branch or release -hyprland_tag="v0.41.2" - -hyprland=( - libxcb-errors-dev +hypr=( + hyprwayland-scanner + hyprland ) ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## + # Determine the directory where the script is located SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" @@ -17,49 +16,16 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" PARENT_DIR="$SCRIPT_DIR/.." cd "$PARENT_DIR" || exit 1 -source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" - # Set the name of the log file to include the current date and time LOG="Install-Logs/install-$(date +%d-%H%M%S)_hyprland.log" -MLOG="install-$(date +%d-%H%M%S)_hyprland2.log" -# Installation of dependencies -printf "\n%s - Installing hyprland additional dependencies.... \n" "${NOTE}" +source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" -for PKG1 in "${hyprland[@]}"; do - install_package "$PKG1" 2>&1 | tee -a "$LOG" - if [ $? -ne 0 ]; then - echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" - exit 1 - fi +# Hyprland +printf "${NOTE} Installing Hyprland .......\n" + for HYPR in "${hypr[@]}"; do + install_package "$HYPR" 2>&1 | tee -a "$LOG" + [ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $HYPR Package installation failed, Please check the installation logs"; exit 1; } done -# Clone, build, and install Hyprland using Cmake -printf "${NOTE} Cloning Hyprland...\n" - -# Check if Hyprland folder exists and remove it -if [ -d "Hyprland" ]; then - printf "${NOTE} Removing existing Hyprland folder...\n" - rm -rf "Hyprland" 2>&1 | tee -a "$LOG" -fi - -if git clone --recursive -b $hyprland_tag "https://github.com/hyprwm/Hyprland"; then - cd "Hyprland" || exit 1 - make all - if sudo make install 2>&1 | tee -a "$MLOG"; then - printf "${OK} Hyprland installed successfully.\n" 2>&1 | tee -a "$MLOG" - else - echo -e "${ERROR} Installation failed for Hyprland." 2>&1 | tee -a "$MLOG" - fi - mv $MLOG ../Install-Logs/ || true - cd .. -else - echo -e "${ERROR} Download failed for Hyprland." 2>&1 | tee -a "$LOG" -fi - -wayland_sessions_dir=/usr/share/wayland-sessions -[ ! -d "$wayland_sessions_dir" ] && { printf "$CAT - $wayland_sessions_dir not found, creating...\n"; sudo mkdir -p "$wayland_sessions_dir" 2>&1 | tee -a "$LOG"; } -sudo cp assets/hyprland.desktop "$wayland_sessions_dir/" 2>&1 | tee -a "$LOG" - -clear - +clear \ No newline at end of file diff --git a/install-scripts/hyprlang.sh b/install-scripts/hyprlang.sh deleted file mode 100755 index ef26dc9..0000000 --- a/install-scripts/hyprlang.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash -# ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ # -# hyprlang - hyprland and xdg-desktop-portal- dependencies # - -#specific branch or release -lang_tag="v0.5.2" - -## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## -# Determine the directory where the script is located -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -# Change the working directory to the parent directory of the script -PARENT_DIR="$SCRIPT_DIR/.." -cd "$PARENT_DIR" || exit 1 - -source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" - -# Set the name of the log file to include the current date and time -LOG="Install-Logs/install-$(date +%d-%H%M%S)_hyprlang.log" -MLOG="install-$(date +%d-%H%M%S)_hyprlang2.log" - -## -printf "${NOTE} Installing hyprlang...\n" - -# Check if hyprlang folder exists and remove it -if [ -d "hyprlang" ]; then - printf "${NOTE} Removing existing hyprlang folder...\n" - rm -rf "hyprlang" -fi - -# Clone and build hyprlang -printf "${NOTE} Installing hyprlang...\n" -if git clone --recursive -b $lang_tag https://github.com/hyprwm/hyprlang.git; then - cd hyprlang || exit 1 - cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build - cmake --build ./build --config Release --target hyprlang -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF` - if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then - printf "${OK} hyprlang installed successfully.\n" 2>&1 | tee -a "$MLOG" - else - echo -e "${ERROR} Installation failed for hyprlang." 2>&1 | tee -a "$MLOG" - fi - #moving the addional logs to Install-Logs directory - mv $MLOG ../Install-Logs/ || true - cd .. -else - echo -e "${ERROR} Download failed for hyprlang." 2>&1 | tee -a "$LOG" -fi - - -clear - diff --git a/install-scripts/hyprlock.sh b/install-scripts/hyprlock.sh index e369103..a6edea4 100755 --- a/install-scripts/hyprlock.sh +++ b/install-scripts/hyprlock.sh @@ -3,7 +3,7 @@ # hyprlock # lock=( -libmagic-dev + libmagic-dev ) #specific branch or release diff --git a/install-scripts/hyprutils.sh b/install-scripts/hyprutils.sh deleted file mode 100755 index d0871e6..0000000 --- a/install-scripts/hyprutils.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash -# ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ # -# Hypr Ecosystem # -# hyprutils # - -#specific branch or release -hyprutils_tag="v0.1.5" - -## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## -# Determine the directory where the script is located -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -# Change the working directory to the parent directory of the script -PARENT_DIR="$SCRIPT_DIR/.." -cd "$PARENT_DIR" || exit 1 - -source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" - -# Set the name of the log file to include the current date and time -LOG="Install-Logs/install-$(date +%d-%H%M%S)_hyprutils.log" -MLOG="install-$(date +%d-%H%M%S)_hyprutils2.log" - -# Clone, build, and install using Cmake -printf "${NOTE} Cloning hyprutils...\n" - -# Check if hyprutils folder exists and remove it -if [ -d "hyprutils" ]; then - printf "${NOTE} Removing existing hyprutils folder...\n" - rm -rf "hyprutils" 2>&1 | tee -a "$LOG" -fi - -if git clone -b $hyprutils_tag "https://github.com/hyprwm/hyprutils.git"; then - cd "hyprutils" || exit 1 - cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build - cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF` - if sudo cmake --install build 2>&1 | tee -a "$MLOG"; then - printf "${OK} hyprutils installed successfully.\n" 2>&1 | tee -a "$MLOG" - else - echo -e "${ERROR} Installation failed for hyprutils." 2>&1 | tee -a "$MLOG" - fi - mv $MLOG ../Install-Logs/ || true - cd .. -else - echo -e "${ERROR} Download failed for hyprutils" 2>&1 | tee -a "$LOG" -fi - - - diff --git a/install-scripts/hyprwayland-scanner.sh b/install-scripts/hyprwayland-scanner.sh deleted file mode 100755 index aed0673..0000000 --- a/install-scripts/hyprwayland-scanner.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/bash -# ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ # -# hyprwayland-scanner - One depency from Hyprland v0.40.0# - -scan_depend=( - libpugixml-dev -) -#specific branch or release -scan_tag="v0.4.0" - -## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## -# Determine the directory where the script is located -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -# Change the working directory to the parent directory of the script -PARENT_DIR="$SCRIPT_DIR/.." -cd "$PARENT_DIR" || exit 1 - -source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" - -# Set the name of the log file to include the current date and time -LOG="Install-Logs/install-$(date +%d-%H%M%S)_hyprwayland-scanner.log" -MLOG="install-$(date +%d-%H%M%S)_hyprwayland-scanner2.log" - -## -# Installation of dependencies -printf "\n%s - Installing hyprwayland-scanner dependencies.... \n" "${NOTE}" - -for PKG1 in "${scan_depend[@]}"; do - install_package "$PKG1" 2>&1 | tee -a "$LOG" - if [ $? -ne 0 ]; then - echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" - exit 1 - fi -done - -printf "${NOTE} Installing hyprwayland-scanner...\n" - -# Check if hyprwayland-scanner folder exists and remove it -if [ -d "hyprwayland-scanner" ]; then - printf "${NOTE} Removing existing hyprwayland-scanner folder...\n" - rm -rf "hyprwayland-scanner" -fi - -# Clone and build hyprlang -printf "${NOTE} Installing hyprwayland-scanner...\n" -if git clone --recursive -b $scan_tag https://github.com/hyprwm/hyprwayland-scanner.git; then - cd hyprwayland-scanner || exit 1 - cmake -DCMAKE_INSTALL_PREFIX=/usr -B build - cmake --build build -j `nproc` - if sudo cmake --install build 2>&1 | tee -a "$MLOG" ; then - printf "${OK} hyprwayland-scanner installed successfully.\n" 2>&1 | tee -a "$MLOG" - else - echo -e "${ERROR} Installation failed for hyprwayland-scanner." 2>&1 | tee -a "$MLOG" - fi - #moving the addional logs to Install-Logs directory - mv $MLOG ../Install-Logs/ || true - cd .. -else - echo -e "${ERROR} Download failed for hyprwayland-scanner. Please check log." 2>&1 | tee -a "$LOG" -fi - -clear - diff --git a/install-scripts/imagemagick.sh b/install-scripts/imagemagick.sh index 6f8ced4..c76cc73 100755 --- a/install-scripts/imagemagick.sh +++ b/install-scripts/imagemagick.sh @@ -3,7 +3,7 @@ # imagemagick from source # depend=( -build-essential + build-essential ) diff --git a/install-scripts/swww.sh b/install-scripts/swww.sh index c6d869b..c7babba 100755 --- a/install-scripts/swww.sh +++ b/install-scripts/swww.sh @@ -3,8 +3,8 @@ # SWWW - Wallpaper Utility # swww=( -cargo -liblz4-dev + cargo + liblz4-dev ) #specific branch or release diff --git a/install-scripts/thunar.sh b/install-scripts/thunar.sh index 08cfc82..b3ba28a 100755 --- a/install-scripts/thunar.sh +++ b/install-scripts/thunar.sh @@ -3,13 +3,13 @@ # Thunar # thunar=( -ffmpegthumbnailer -file-roller -thunar -thunar-volman -tumbler -thunar-archive-plugin -xarchiver + ffmpegthumbnailer + file-roller + thunar + thunar-volman + tumbler + thunar-archive-plugin + xarchiver ) ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## diff --git a/install-scripts/wallust.sh b/install-scripts/wallust.sh index b9c8415..8c85884 100755 --- a/install-scripts/wallust.sh +++ b/install-scripts/wallust.sh @@ -3,12 +3,10 @@ # wallust - pywal colors replacment # depend=( -librust-jpeg-decoder-dev -rustup + librust-jpeg-decoder-dev + rust ) -#specific branch or release -wal_tag="dev" ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## # Determine the directory where the script is located @@ -44,7 +42,7 @@ fi # Clone and build wallust printf "${NOTE} Installing wallust...\n" -if git clone --depth 1 -b $wal_tag https://codeberg.org/explosion-mental/wallust.git; then +if git clone --depth 1 https://codeberg.org/explosion-mental/wallust.git; then cd wallust || exit 1 make if sudo make install 2>&1 | tee -a "$MLOG" ; then diff --git a/install-scripts/waybar-git.sh b/install-scripts/waybar-git.sh deleted file mode 100755 index c12b5c5..0000000 --- a/install-scripts/waybar-git.sh +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/bash -# ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ # -# waybar - from source # - -waybar=( -cmake -meson -scdoc -wayland-protocols -clang-tidy -gobject-introspection -libdbusmenu-gtk3-dev -libevdev-dev -libfmt-dev -libgirepository1.0-dev -libgtk-3-dev -libgtkmm-3.0-dev -libinput-dev -libjsoncpp-dev -libmpdclient-dev -libnl-3-dev -libnl-genl-3-dev -libpulse-dev -libsigc++-2.0-dev -libspdlog-dev -libwayland-dev -scdoc -upower -libxkbregistry-dev -) - - -## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## -# Determine the directory where the script is located -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -# Change the working directory to the parent directory of the script -PARENT_DIR="$SCRIPT_DIR/.." -cd "$PARENT_DIR" || exit 1 - -source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" - -# Set the name of the log file to include the current date and time -LOG="Install-Logs/install-$(date +%d-%H%M%S)_waybar-gt.log" -MLOG="install-$(date +%d-%H%M%S)_waybar-git.log" - -# Installation of dependencies -printf "\n%s - Installing waybar-git dependencies.... \n" "${NOTE}" - -for PKG1 in "${waybar[@]}"; do - install_package "$PKG1" 2>&1 | tee -a "$LOG" - if [ $? -ne 0 ]; then - echo -e "\e[1A\e[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs" - exit 1 - fi -done - -# Check if waybar folder exists and remove it -if [ -d "waybar" ]; then - printf "${NOTE} Removing existing waybar folder...\n" - rm -rf "waybar" -fi - -# Clone and build waybar from source -printf "${NOTE} Installing waybar...\n" -if git clone https://github.com/Alexays/Waybar; then - cd Waybar || exit 1 - meson build - if sudo ninja -C build install 2>&1 | tee -a "$MLOG" ; then - printf "${OK} waybar-git installed successfully.\n" 2>&1 | tee -a "$MLOG" - else - echo -e "${ERROR} Installation failed for waybar-git." 2>&1 | tee -a "$MLOG" - fi - #moving the addional logs to Install-Logs directory - mv $MLOG ../Install-Logs/ || true - cd .. -else - echo -e "${ERROR} Download failed for waybar-git" 2>&1 | tee -a "$LOG" -fi - -clear - diff --git a/install.sh b/install.sh index bc334fa..90f6d47 100755 --- a/install.sh +++ b/install.sh @@ -163,14 +163,9 @@ execute_script "swww.sh" execute_script "rofi-wayland.sh" execute_script "wallust.sh" execute_script "ags.sh" -execute_script "hyprutils.sh" -execute_script "hyprlang.sh" -execute_script "hyprlock.sh" -execute_script "hyprcursor.sh" -execute_script "hypridle.sh" -execute_script "hyprwayland-scanner.sh" execute_script "hyprland.sh" -execute_script "hypr-eco.sh" +execute_script "hyprlock.sh" +execute_script "hypridle.sh" # execute_script "waybar-git.sh" only if waybar on repo is old From e5a9d3c01f9715bcf3d90206b990a57cfbca76b8 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 22 Aug 2024 20:58:01 +0900 Subject: [PATCH 02/10] updated rofi-wayland script (added dependencies) --- install-scripts/rofi-wayland.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/install-scripts/rofi-wayland.sh b/install-scripts/rofi-wayland.sh index 2817471..dc018c3 100755 --- a/install-scripts/rofi-wayland.sh +++ b/install-scripts/rofi-wayland.sh @@ -11,6 +11,17 @@ rofi=( libmpdclient-dev libnl-3-dev libasound2-dev + libstartup-notification0-dev + libxcb-ewmh-dev + libxcb-cursor-dev + libxcb-icccm4-dev + libxcb-randr0-dev + libxcb-render-util0-dev + libxcb-util-dev + libxcb-xkb-dev + libxcb-xinerama0-dev + libxkbcommon-dev + libxkbcommon-x11-dev ) From e3f5cade66587d51717623ae1663810d336fd4c3 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 22 Aug 2024 20:59:09 +0900 Subject: [PATCH 03/10] added fastfetch --- install-scripts/00-hypr-pkgs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install-scripts/00-hypr-pkgs.sh b/install-scripts/00-hypr-pkgs.sh index ceb8488..e9e5e2e 100755 --- a/install-scripts/00-hypr-pkgs.sh +++ b/install-scripts/00-hypr-pkgs.sh @@ -46,6 +46,7 @@ hypr_package_2=( btop cava eog + fastfetch gnome-system-monitor mousepad mpv From 69bfa9328f5f720c5cb102dd7e4d190b376fc088 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 22 Aug 2024 21:31:19 +0900 Subject: [PATCH 04/10] added waybar on pre-cleanup.sh --- install-scripts/01-pre-cleanup.sh | 1 + install.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/install-scripts/01-pre-cleanup.sh b/install-scripts/01-pre-cleanup.sh index 5f7a7f0..3ede9bb 100644 --- a/install-scripts/01-pre-cleanup.sh +++ b/install-scripts/01-pre-cleanup.sh @@ -12,6 +12,7 @@ PACKAGES=( hyprland Hyprland pypr + waybar ) ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## diff --git a/install.sh b/install.sh index 90f6d47..ac37dbc 100755 --- a/install.sh +++ b/install.sh @@ -154,6 +154,9 @@ chmod +x install-scripts/* sudo apt update +# execute pre clean up +execute_script "01-pre-cleanup.sh" + # Install hyprland packages execute_script "00-dependencies.sh" execute_script "00-hypr-pkgs.sh" From 32b5b47fb22a33b1b223ef922eec20ea64f21d13 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 22 Aug 2024 21:33:48 +0900 Subject: [PATCH 05/10] updated cleanup.sh --- install-scripts/01-pre-cleanup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install-scripts/01-pre-cleanup.sh b/install-scripts/01-pre-cleanup.sh index 3ede9bb..698b9a8 100644 --- a/install-scripts/01-pre-cleanup.sh +++ b/install-scripts/01-pre-cleanup.sh @@ -7,11 +7,13 @@ TARGET_DIR="/usr/local/bin" -# Define packages to manually remove +# Define packages to manually remove (was manually installed previously) PACKAGES=( + hyprpm hyprland Hyprland pypr + swappy waybar ) From c85b1530139c893e14f42e38e17e692058ab2edf Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Thu, 22 Aug 2024 22:21:23 +0900 Subject: [PATCH 06/10] Update 01-pre-cleanup.sh --- install-scripts/01-pre-cleanup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-scripts/01-pre-cleanup.sh b/install-scripts/01-pre-cleanup.sh index 698b9a8..1de3505 100644 --- a/install-scripts/01-pre-cleanup.sh +++ b/install-scripts/01-pre-cleanup.sh @@ -38,7 +38,7 @@ for PKG_NAME in "${PACKAGES[@]}"; do # Check if the file exists if [[ -f "$FILE_PATH" ]]; then # Delete the file - rm "$FILE_PATH" + sudo rm "$FILE_PATH" echo "Deleted: $FILE_PATH" 2>&1 | tee -a "$LOG" else echo "File not found: $FILE_PATH" 2>&1 | tee -a "$LOG" From 86ec0f97a0edfed3554b5699d1adbcb4409326c0 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Thu, 22 Aug 2024 22:32:22 +0900 Subject: [PATCH 07/10] Update wallust.sh MLOG --- install-scripts/wallust.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-scripts/wallust.sh b/install-scripts/wallust.sh index 8c85884..290b72d 100755 --- a/install-scripts/wallust.sh +++ b/install-scripts/wallust.sh @@ -20,7 +20,7 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" # Set the name of the log file to include the current date and time LOG="Install-Logs/install-$(date +%d-%H%M%S)_wallust.log" -MLOG="install-$(date +%d-%H%M%S)_wallust.log" +MLOG="install-$(date +%d-%H%M%S)_wallust2.log" # Installing depencies for PKG1 in "${depend[@]}"; do From deb284687db50c9d179530e86f501c25d9495d7b Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Thu, 22 Aug 2024 22:42:52 +0900 Subject: [PATCH 08/10] updating Loggings - Building from source --- README.md | 2 -- install-scripts/ags.sh | 2 +- install-scripts/hypridle.sh | 2 +- install-scripts/hyprlock.sh | 2 +- install-scripts/imagemagick.sh | 2 +- install-scripts/swww.sh | 4 ++-- 6 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6e593b7..4cb04d3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -# โš ๏ธ NOTE: 08-08-2024 - Hyprland is on Debian Trixie and SID official repo. Including Ubuntu universe repo. However, because I am busy with work and travelling, I cannot adjust the script. Estimated by the End of Aug 2024 that I can adjust Debian and Ubuntu Install-Scripts -

โ€ƒ
โ€ƒUbuntu 24.04 LTSโ€ƒ
โ€ƒ
   diff --git a/install-scripts/ags.sh b/install-scripts/ags.sh index b7f2cea..1943c81 100755 --- a/install-scripts/ags.sh +++ b/install-scripts/ags.sh @@ -30,7 +30,7 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" # Set the name of the log file to include the current date and time LOG="Install-Logs/install-$(date +%d-%H%M%S)_ags.log" -MLOG="install-$(date +%d-%H%M%S)_ags.log" +MLOG="install-$(date +%d-%H%M%S)_ags2.log" # Installing ags Dependencies for PKG1 in "${ags[@]}"; do diff --git a/install-scripts/hypridle.sh b/install-scripts/hypridle.sh index 8471ec2..5fda78f 100755 --- a/install-scripts/hypridle.sh +++ b/install-scripts/hypridle.sh @@ -21,7 +21,7 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" # Set the name of the log file to include the current date and time LOG="Install-Logs/install-$(date +%d-%H%M%S)_hypridle.log" -MLOG="install-$(date +%d-%H%M%S)_hypridle.log" +MLOG="install-$(date +%d-%H%M%S)_hypridle2.log" # Installation of dependencies printf "\n%s - Installing hypridle dependencies.... \n" "${NOTE}" diff --git a/install-scripts/hyprlock.sh b/install-scripts/hyprlock.sh index a6edea4..ca2844e 100755 --- a/install-scripts/hyprlock.sh +++ b/install-scripts/hyprlock.sh @@ -21,7 +21,7 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" # Set the name of the log file to include the current date and time LOG="Install-Logs/install-$(date +%d-%H%M%S)_hyprlock.log" -MLOG="install-$(date +%d-%H%M%S)_hyprlock.log" +MLOG="install-$(date +%d-%H%M%S)_hyprlock2.log" # Installation of dependencies printf "\n%s - Installing hyprlock dependencies.... \n" "${NOTE}" diff --git a/install-scripts/imagemagick.sh b/install-scripts/imagemagick.sh index c76cc73..e505ea7 100755 --- a/install-scripts/imagemagick.sh +++ b/install-scripts/imagemagick.sh @@ -19,7 +19,7 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" # Set the name of the log file to include the current date and time LOG="Install-Logs/install-$(date +%d-%H%M%S)_image.log" -MLOG="install-$(date +%d-%H%M%S)_image.log" +MLOG="install-$(date +%d-%H%M%S)_image2.log" # Installing depencies for PKG1 in "${depend[@]}"; do diff --git a/install-scripts/swww.sh b/install-scripts/swww.sh index c7babba..260eaa1 100755 --- a/install-scripts/swww.sh +++ b/install-scripts/swww.sh @@ -21,8 +21,8 @@ cd "$PARENT_DIR" || exit 1 source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" # Set the name of the log file to include the current date and time -LOG="Install-Logs/install-$(date +%d-%H%M%S)_swww2.log" -MLOG="install-$(date +%d-%H%M%S)_swww.log" +LOG="Install-Logs/install-$(date +%d-%H%M%S)_swww.log" +MLOG="install-$(date +%d-%H%M%S)_swww2.log" # Installation of swww compilation needed printf "\n%s - Installing swww dependencies.... \n" "${NOTE}" From 75005d4923f4c20e29a17c87931fa3b526214c6b Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Thu, 22 Aug 2024 22:47:10 +0900 Subject: [PATCH 09/10] Update 01-pre-cleanup.sh --- install-scripts/01-pre-cleanup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-scripts/01-pre-cleanup.sh b/install-scripts/01-pre-cleanup.sh index 1de3505..913566f 100644 --- a/install-scripts/01-pre-cleanup.sh +++ b/install-scripts/01-pre-cleanup.sh @@ -9,9 +9,11 @@ TARGET_DIR="/usr/local/bin" # Define packages to manually remove (was manually installed previously) PACKAGES=( + hyprctl hyprpm hyprland Hyprland + cliphist pypr swappy waybar From 1972158bf4e98eac4137b1f36fefa001e2c553be Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 23 Aug 2024 20:40:08 +0900 Subject: [PATCH 10/10] updated depencies for hyprlock and hypridle as during test it failed to install --- README.md | 19 +++++++++++-------- install-scripts/hypridle.sh | 1 + install-scripts/hyprland.sh | 4 ++++ install-scripts/hyprlock.sh | 2 ++ 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 4cb04d3..2003f7e 100644 --- a/README.md +++ b/README.md @@ -129,10 +129,11 @@ sudo nano /etc/apt/sources.list ### ๐Ÿชง๐Ÿชง๐Ÿชง ANNOUNCEMENT ๐Ÿชง๐Ÿชง๐Ÿชง -- This Repo does not contain Hyprland Dots or configs! Dotfiles can be checked here [`Hyprland-Dots`](https://github.com/JaKooLit/Hyprland-Dots) . During installation, if you opt to copy pre-configured dots, it will be downloaded from that centralized repo. +- This Repo does not contain Hyprland Dots or configs! Pre-configured Dotfiles are on [`Hyprland-Dots`](https://github.com/JaKooLit/Hyprland-Dots) . During installation, if you opt to copy pre-configured dots, it will be downloaded from that centralized repo. + - Hyprland-Dots use are constantly evolving / improving. you can check CHANGELOGS here [`Hyprland-Dots-Changelogs`](https://github.com/JaKooLit/Hyprland-Dots/wiki/Changelogs) - Since the Hyprland-Dots are evolving, some of the screenshots maybe old -- the wallpaper offered to be downloaded towards the end is from this [`REPO`](https://github.com/JaKooLit/Wallpaper-Bank) +- the wallpaper offered to be downloaded towards the end is from this [`WALLPAPER-REPO`](https://github.com/JaKooLit/Wallpaper-Bank) #### โœจ Some notes on this installer / Prerequisites - This script is meant to install in Debian Testing (Trixie) and Debian Unstable (SID). This script Will NOT work with Bookworm @@ -153,6 +154,7 @@ sudo nano /etc/apt/sources.list #### ๐Ÿ”” NOTICE TO NVIDIA OWNERS ### - by default it is installing the latest and newest nvidia drivers. If you have an older nvidia-gpu (GTX 800 series and older), check out nvidia-debian website [`LINK`](https://wiki.debian.org/NvidiaGraphicsDrivers) and edit nvidia.sh in install-scripts directory to install proper gpu driver + > [!IMPORTANT] > If you want to use nouveau driver, choose N when asked if you have nvidia gpu. This is because the nvidia installer part, it will blacklist nouveau. Hyprland will still be installed but it will skip blacklisting nouveau. @@ -196,7 +198,7 @@ source ~/.zshrc #### โœจ TO DO once installation done and dotfiles copied - SUPER H for HINT or click on the waybar HINT! Button -- Head over to [FAQ](https://github.com/JaKooLit/Hyprland-Dots/wiki/FAQ) and [TIPS](https://github.com/JaKooLit/Hyprland-Dots/wiki/TIPS) +- Head over to [`FAQ`](https://github.com/JaKooLit/Hyprland-Dots/wiki/FAQ) and [`TIPS`](https://github.com/JaKooLit/Hyprland-Dots/wiki/TIPS) - if you installed in your laptop and Brightness and Keyboard brightness does not work you can execute this command `sudo chmod +s $(which brightnessctl)` @@ -210,6 +212,7 @@ source ~/.zshrc - xdg-desktop-portal-hyprland [`LINK`](https://github.com/hyprwm/xdg-desktop-portal-hyprland) - rofi-wayland [`LINK`](https://github.com/lbonn/rofi) - wallust [`LINK`](https://codeberg.org/explosion-mental/wallust) +- Imagemagick [`LINK`](https://github.com/ImageMagick/ImageMagick) - as of 23 AUG 2024, version 7 still not on official repo, hence needed to build from source > [!TIP] > To update to latest packages, re-running this script will auto update all. Script is configured to pull latest packages build for you. @@ -229,7 +232,7 @@ source ~/.zshrc - [`SEE HERE`](https://github.com/JaKooLit/Hyprland-Dots/discussions/123#discussion-6035205) #### ๐Ÿ™‹ Got a questions regarding the Hyprland Dots configurations? ๐Ÿ™‹ -- Head over to wiki Link [`WIKI`](https://github.com/JaKooLit/Hyprland-Dots/wiki) +- Head over to Hyprland-Dots wiki Link [`KooL's DOTS WIKI`](https://github.com/JaKooLit/Hyprland-Dots/wiki) #### โŒจ Keybinds - Keybinds [`CLICK`](https://github.com/JaKooLit/Hyprland-Dots/wiki/Keybinds) @@ -239,11 +242,11 @@ source ~/.zshrc - for the Pre-configured Hyprland dots / configuration, submit issue [`here`](https://github.com/JaKooLit/Hyprland-Dots/issues) #### ๐Ÿ”ง Proper way to re-installing a particular script from install-scripts directory -- CD into Debian-Hyprland Folder and then ran the below command. -- i.e. `./install-scripts/gtk-themes.sh` - For reinstall GTK Themes or -- `./install-scripts/sddm.sh` - For reinstall sddm +- CD into Debian-Hyprland DIrectory and then ran the below command. +- i.e. `./install-scripts/gtk-themes.sh` - to reinstall GTK Themes or +- `./install-scripts/sddm.sh` - to reinstall sddm > [!IMPORTANT] -> DO NOT cd into install-scripts directory as script will most likely to fail +> DO NOT CD into install-scripts directory as script as it will fail. Scripts are designed to ran outside install-scripts directory for installation logging purposes. #### ๐Ÿ›ฃ๏ธ Roadmap: - [ ] possibly adding gruvbox themes, cursors, icons diff --git a/install-scripts/hypridle.sh b/install-scripts/hypridle.sh index 5fda78f..3bd050b 100755 --- a/install-scripts/hypridle.sh +++ b/install-scripts/hypridle.sh @@ -4,6 +4,7 @@ idle=( libsdbus-c++-dev + libhyprlang-dev ) #specific branch or release diff --git a/install-scripts/hyprland.sh b/install-scripts/hyprland.sh index 98b0da2..0269974 100755 --- a/install-scripts/hyprland.sh +++ b/install-scripts/hyprland.sh @@ -3,7 +3,11 @@ # Main Hyprland Package # hypr=( + libhyprutils0 + libhyprlang-dev hyprwayland-scanner + hyprland-protocols + hyprland-dev hyprland ) diff --git a/install-scripts/hyprlock.sh b/install-scripts/hyprlock.sh index ca2844e..09cc9f7 100755 --- a/install-scripts/hyprlock.sh +++ b/install-scripts/hyprlock.sh @@ -4,6 +4,8 @@ lock=( libmagic-dev + libhyprlang-dev + libhyprutils-dev ) #specific branch or release