mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
updated hyprland.sh to add Hyprland.desktop on wayland sessions folder. Readme updated
This commit is contained in:
parent
63d179710d
commit
f0354e3f8f
@ -78,7 +78,7 @@ sudo nano /etc/apt/sources.list
|
|||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> If you have GDM already as log-in manager, DO NOT install SDDM
|
> If you have GDM already as log-in manager, DO NOT install SDDM
|
||||||
> You will encounter issues. See [`Issue 2 - SDDM`](https://github.com/JaKooLit/Debian-Hyprland/issues/2)
|
> You will encounter issues. See [`Issue 2 - SDDM`](https://github.com/JaKooLit/Debian-Hyprland/issues/2)
|
||||||
> If you have nvidia, by default debian is installing nouveau or open-source nvidia driver. If you want to keep the default nvidia driver installed by Debian, choose N on the if you have nvidia question. Or else you will encounter same issue as SDDM above.
|
|
||||||
|
|
||||||
### Gallery and Videos
|
### Gallery and Videos
|
||||||
<details>
|
<details>
|
||||||
@ -157,6 +157,10 @@ sudo nano /etc/apt/sources.list
|
|||||||
> [!IMPORTANT]
|
> [!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.
|
> 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.
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> Another important note for nvidia owners
|
||||||
|
> If you have nvidia, by default debian is installing nouveau or open-source nvidia driver. If you want to keep the default nvidia driver installed by Debian, choose N on the if you have nvidia question. Or else you will encounter same issue as SDDM above.
|
||||||
|
|
||||||
## ✨ to use this script
|
## ✨ to use this script
|
||||||
> clone this repo (latest commit only) by using git. Change directory, make executable and run the script
|
> clone this repo (latest commit only) by using git. Change directory, make executable and run the script
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@ -57,5 +57,9 @@ else
|
|||||||
echo -e "${ERROR} Download failed for Hyprland." 2>&1 | tee -a "$LOG"
|
echo -e "${ERROR} Download failed for Hyprland." 2>&1 | tee -a "$LOG"
|
||||||
fi
|
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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user