mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 18:20:13 +01:00
updated readme and adjusted pyprland installation
This commit is contained in:
parent
8253189f6e
commit
d947af09ec
@ -1,7 +1,7 @@
|
|||||||
## Changelogs
|
## Changelogs
|
||||||
|
|
||||||
## 02 May 2024
|
## 02 May 2024
|
||||||
- Added pyprland (hyprland plugin)
|
- 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
|
## 30 Apr 2024
|
||||||
- Updated hyprland.sh to install v0.39.1 Hyprland
|
- Updated hyprland.sh to install v0.39.1 Hyprland
|
||||||
|
|||||||
@ -201,7 +201,7 @@ log into your account
|
|||||||
- [ ] sddm blackscreen when log-out
|
- [ ] 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)
|
- [ ] 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
|
- [ ] 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
|
#### 📒 Final Notes
|
||||||
- join my discord channel [`Discord`](https://discord.gg/V2SJ92vbEN)
|
- join my discord channel [`Discord`](https://discord.gg/V2SJ92vbEN)
|
||||||
|
|||||||
@ -1,6 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# 💫 https://github.com/JaKooLit 💫 #
|
# 💫 https://github.com/JaKooLit 💫 #
|
||||||
# This is to be use for installing hyprland plugins
|
# 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! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
# Determine the directory where the script is located
|
# Determine the directory where the script is located
|
||||||
@ -15,12 +20,28 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
|||||||
# Set the name of the log file to include the current date and time
|
# 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"
|
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
|
# Hyprland Plugins
|
||||||
# pyprland https://github.com/hyprland-community/pyprland installing using python
|
# pyprland https://github.com/hyprland-community/pyprland installing using python
|
||||||
printf "${NOTE} Installing pyprland\n"
|
printf "${NOTE} Installing pyprland\n"
|
||||||
|
|
||||||
pip install pyprland 2>&1 | tee -a "$LOG" || True
|
|
||||||
curl https://raw.githubusercontent.com/hyprland-community/pyprland/main/scripts/get-pypr | sh 2>&1 | tee -a "$LOG"
|
curl https://raw.githubusercontent.com/hyprland-community/pyprland/main/scripts/get-pypr | sh 2>&1 | tee -a "$LOG"
|
||||||
|
|
||||||
clear
|
pip install pyprland --break-system-packages 2>&1 | tee -a "$LOG"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user