mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
Update hyprland.sh
This commit is contained in:
parent
17ee7e1f81
commit
c0f807135d
@ -23,11 +23,10 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
|||||||
LOG="Install-Logs/install-$(date +%d-%H%M%S)_hyprland.log"
|
LOG="Install-Logs/install-$(date +%d-%H%M%S)_hyprland.log"
|
||||||
MLOG="install-$(date +%d-%H%M%S)_hyprland2.log"
|
MLOG="install-$(date +%d-%H%M%S)_hyprland2.log"
|
||||||
|
|
||||||
# Installation of dependencies
|
|
||||||
|
|
||||||
# Install Hyprland
|
# Install Hyprland
|
||||||
printf "${NOTE} Installing Hyprland ...\n"
|
printf "${NOTE} Installing Hyprland ...\n"
|
||||||
# Get the OS name from the release file
|
# Get the OS ID from the release file
|
||||||
os_name=$(grep '^ID=' /etc/os-release | tr -d '"' | cut -d= -f2)
|
os_name=$(grep '^ID=' /etc/os-release | tr -d '"' | cut -d= -f2)
|
||||||
ID_LIKE=$(grep '^ID_LIKE=' /etc/os-release | cut -d= -f2 | tr -d '"')
|
ID_LIKE=$(grep '^ID_LIKE=' /etc/os-release | cut -d= -f2 | tr -d '"')
|
||||||
# Check if the OS is Debian or Ubuntu
|
# Check if the OS is Debian or Ubuntu
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user