diff --git a/CHANGELOGS.md b/CHANGELOGS.md index 0f0ef81..b8e7864 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -1,5 +1,12 @@ ## Changelogs +## 03 May 2024 +- Bump swww to v0.9.5 +- added python3-pyquery for new weather-waybar python based on Hyprland-Dots + +## 02 May 2024 +- Added pyprland (hyprland plugin) - warning, I cant make it to properly run. Drop Down terminal not working, zoom is hit and miss + ## 30 Apr 2024 - Updated hyprland.sh to install v0.39.1 Hyprland - adding hypridle and hyprlock diff --git a/README.md b/README.md index 53bb6a6..2283334 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,7 @@ sudo nano /etc/apt/sources.list - If However, decided to try, recommend to install SDDM. Apart from GDM and SDDM, any other Login Manager may not work nor launch Hyprland. However, hyprland can be launched through tty by type Hyprland - 🕯️ network-manager-gnome (nm-applet) has been removed from the packages to install. This is because it is known to restart the networkmanager causing issues in the installation process. After you boot up, inorder to get the network-manager applet, install network-manager-gnome. `sudo apt install network-manager-gnome` See below if your network or wifi became unmanaged after installation - If you have nvidia, and wanted to use proprietary drivers, uninstall nouveau first (if installed). This script will be installing proprietary nvidia drivers and will not deal with removal of nouveau. +- NVIDIA users / owners, after installation, check [`THIS`](https://github.com/JaKooLit/Hyprland-Dots/wiki/Notes_to_remember#--for-nvidia-gpu-users) #### ⚠️ WARNING! nwg-look takes long time to install. - nwg-look is a utility to costumize your GTK theme. It's a LXAppearance like. Its a good tool though but this package is entirely optional @@ -201,6 +202,7 @@ log into your account - [ ] sddm blackscreen when log-out - [ ] Installing SDDM if or any other Login Manager installed. See [`Issue 2 - SDDM`](https://github.com/JaKooLit/Debian-Hyprland/issues/2) - [ ] network is down or become unmanaged [`This`](https://askubuntu.com/questions/71159/network-manager-says-device-not-managed) might help +- [ ] pyprland is a hit and miss. Drop down not working, zooming is hit and miss #### 📒 Final Notes diff --git a/install-scripts/00-dependencies.sh b/install-scripts/00-dependencies.sh index 14bb994..fac5521 100755 --- a/install-scripts/00-dependencies.sh +++ b/install-scripts/00-dependencies.sh @@ -85,6 +85,7 @@ dependencies=( python3-markdown python3-markupsafe python3-yaml + python3-pyquery qt6-base-dev scdoc seatd diff --git a/install-scripts/hypr-eco.sh b/install-scripts/hypr-eco.sh new file mode 100755 index 0000000..87b0ba3 --- /dev/null +++ b/install-scripts/hypr-eco.sh @@ -0,0 +1,47 @@ +#!/bin/bash +# 💫 https://github.com/JaKooLit 💫 # +# This is to be use for installing hyprland plugins +# Hyprland plugins: pyprland + +pypr_depend=( + 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/swww.sh b/install-scripts/swww.sh index 1c975ea..c6d869b 100755 --- a/install-scripts/swww.sh +++ b/install-scripts/swww.sh @@ -8,7 +8,7 @@ liblz4-dev ) #specific branch or release -swww_tag="v0.9.4" +swww_tag="v0.9.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 diff --git a/install.sh b/install.sh index 20c7b00..dc8adc0 100755 --- a/install.sh +++ b/install.sh @@ -168,6 +168,8 @@ execute_script "hyprlock.sh" execute_script "hyprcursor.sh" execute_script "hypridle.sh" execute_script "hyprland.sh" +execute_script "hypr-eco.sh" + #execute_script "cliphist.sh"