Merge branch 'main' into development

This commit is contained in:
Ja.KooLit 2024-07-06 16:35:03 +09:00 committed by GitHub
commit b225d92935
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 70 additions and 22 deletions

View File

@ -37,13 +37,12 @@ labels: "Something isn't working"
[Please add any other relevant information about the bug and remove the unnecessary lines.] [Please add any other relevant information about the bug and remove the unnecessary lines.]
e.g., ### show output of `inxi -CGIsSMnr` install package `inxi` if not exist
show output here
```
- Linux Distro: [e.g., Debian 13, SID , Ubuntu 23.10, etc]
- Linux Version, output of `uname -a`: ```
- Hyprland Version, output of `hyprctl version`:
- Installation Environment: [e.g., On The Main Hardware, On A Virtual Machine]
- Other info: [e.g., Display Resolution, Resolution, etc]
### Additional Information ### Additional Information

View File

@ -40,3 +40,10 @@ labels: "custom"
### Additional Information ### Additional Information
[Add any other information about the issue or request here. For example, you might include links to similar features in other projects, or screenshots or diagrams to help explain your idea.] [Add any other information about the issue or request here. For example, you might include links to similar features in other projects, or screenshots or diagrams to help explain your idea.]
### show output of `inxi -CGIsSMnr` install package `inxi` if not exist
show output here
```
```

View File

@ -1,8 +1,15 @@
## Changelogs ## Changelogs
## 06 July 2024 ## 06 July 2024
- Version bumps for Debian (Hyprland v0.41.2) - Version bumps for Debian (Hyprland v0.41.2)
## 11 June 2024
- adjusted script to install only Hyprland-Dots v2.2.14
## 10 June 2024
- changed behaviour of rofi-wayland.sh. To redownload a new rofi-wayland from repo instead of pulling changes. (It proves giving issue)
## 04 June 2024 ## 04 June 2024
- switched over to source install for imagemagick - switched over to source install for imagemagick
- removal of fzf for Debian and Ubuntu (headache) - removal of fzf for Debian and Ubuntu (headache)

View File

@ -1,9 +1,16 @@
<div align="center"> <div align="center">
<br>
<a href="#--ubuntu-2404-lts-noble-numbat-hyprland-install-script-branch-"><kbd><br>Ubuntu 24.04 LTS<br></kbd></a>&ensp;&ensp;
<a href="#-announcement-"><kbd><br>Read this First<br></kbd></a>&ensp;&ensp;
<a href="#-to-use-this-script"><kbd><br>Installation<br></kbd></a>&ensp;&ensp;
<a href="#gallery-and-videos"><kbd><br>Gallery<br></kbd></a>&ensp;&ensp;
</div><br>
<div align="center">
## 💌 JaKooLit's Debian/Ubuntu Hyprland Install Script 💌 ## 💌 JaKooLit's Debian/Ubuntu Hyprland Install Script 💌
#### For Debian 13 Trixie (Testing) and SID (unstable) and Ubuntu 24.04 Noble Numbat #### For Debian 13 Trixie (Testing) and SID (unstable) and Ubuntu 24.04 Noble Numbat
![GitHub Repo stars](https://img.shields.io/github/stars/JaKooLit/Debian-Hyprland?style=for-the-badge&color=cba6f7) ![GitHub last commit](https://img.shields.io/github/last-commit/JaKooLit/Debian-Hyprland?style=for-the-badge&color=b4befe) ![GitHub repo size](https://img.shields.io/github/repo-size/JaKooLit/Debian-Hyprland?style=for-the-badge&color=cba6f7) <a href="https://discord.gg/V2SJ92vbEN"> <img src="https://img.shields.io/discord/1151869464405606400?style=for-the-badge&logo=discord&color=cba6f7&link=https%3A%2F%2Fdiscord.gg%2V2SJ92vbEN"> </a> ![GitHub Repo stars](https://img.shields.io/github/stars/JaKooLit/Debian-Hyprland?style=for-the-badge&color=cba6f7) ![GitHub last commit](https://img.shields.io/github/last-commit/JaKooLit/Debian-Hyprland?style=for-the-badge&color=b4befe) ![GitHub repo size](https://img.shields.io/github/repo-size/JaKooLit/Debian-Hyprland?style=for-the-badge&color=cba6f7) <a href="https://discord.gg/9JEgZsfhex"> <img src="https://img.shields.io/discord/1151869464405606400?style=for-the-badge&logo=discord&color=cba6f7&link=https%3A%2F%2Fdiscord.gg%9JEgZsfhex"> </a>
<br/> <br/>
</div> </div>
@ -13,6 +20,20 @@
<a href="https://github.com/JaKooLit/Debian-Hyprland/tree/Ubuntu-24.04-LTS">Ubuntu 24.04 LTS Noble Numbat Hyprland install script branch </a><br><br> <a href="https://github.com/JaKooLit/Debian-Hyprland/tree/Ubuntu-24.04-LTS">Ubuntu 24.04 LTS Noble Numbat Hyprland install script branch </a><br><br>
</h4> </h4>
<div align="center">
👇 KOOL's Hyprland-Dots related Links 👇
<br/>
</div>
<div align="center">
<br>
<a href="https://github.com/JaKooLit/Hyprland-Dots"><kbd><br>Hyprland-Dots repo<br></kbd></a>&ensp;&ensp;
<a href="https://www.youtube.com/playlist?list=PLDtGd5Fw5_GjXCznR0BzCJJDIQSZJRbxx"><kbd><br>Youtube<br></kbd></a>&ensp;&ensp;
<a href="https://github.com/JaKooLit/Hyprland-Dots/wiki"><kbd><br>Wiki<br></kbd></a>&ensp;&ensp;
<a href="https://github.com/JaKooLit/Hyprland-Dots/wiki/Keybinds"><kbd><br>Keybinds<br></kbd></a>&ensp;&ensp;
<a href="https://github.com/JaKooLit/Hyprland-Dots/wiki/FAQ"><kbd><br>FAQ<br></kbd></a>&ensp;&ensp;
<a href="https://discord.gg/9JEgZsfhex"><kbd><br>Discord<br></kbd></a>
</div><br>
<h3 align="center"> <h3 align="center">
<img src="https://github.com/JaKooLit/Telegram-Animated-Emojis/blob/main/Activity/Sparkles.webp" alt="Sparkles" width="38" height="38" /> <img src="https://github.com/JaKooLit/Telegram-Animated-Emojis/blob/main/Activity/Sparkles.webp" alt="Sparkles" width="38" height="38" />
KooL Hyprland-Dotfiles Showcase KooL Hyprland-Dotfiles Showcase
@ -132,7 +153,7 @@ 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.
# ✨ to run or 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
git clone --depth=1 https://github.com/JaKooLit/Debian-Hyprland.git ~/Debian-Hyprland git clone --depth=1 https://github.com/JaKooLit/Debian-Hyprland.git ~/Debian-Hyprland
@ -232,11 +253,19 @@ log into your account
`ls -l /dev/dri/by-path` to check where the symlink points to `ls -l /dev/dri/by-path` to check where the symlink points to
) )
``` ```
- add "env = WLR_DRM_DEVICES,/dev/dri/cardX" to the ENVvariables config (.config/hypr/UserConfigs/ENVariables.conf) ; X being where the symlink of the gpu points to - add "env = WLR_DRM_DEVICES,/dev/dri/cardX" to the ENVvariables config `~/.config/hypr/UserConfigs/ENVariables.conf` ; X being where the symlink of the gpu points to
- more info from the hyprland wiki [`Hyprland Wiki Link`](https://wiki.hyprland.org/FAQ/#my-external-monitor-is-blank--doesnt-render--receives-no-signal-laptop) - more info from the hyprland wiki [`Hyprland Wiki Link`](https://wiki.hyprland.org/FAQ/#my-external-monitor-is-blank--doesnt-render--receives-no-signal-laptop)
- reports from a member of discord for Nvidia for additional env's
- remove # from the following env's on
```
env = GBM_BACKEND,nvidia-drm
env = WLR_RENDERER_ALLOW_SOFTWARE,1
```
#### ❗ other known issues
> [!NOTE] > [!NOTE]
> Auto start of Hyprland after login (no SDDM or GDM or any login managers) > Auto start of Hyprland after login (no SDDM or GDM or any login managers)
- This was disabled a few days ago. (19 May 2024). This was because some users, after they used the Distro-Hyprland scripts with other DE (gnome-wayland or plasma-wayland), if they choose to login into gnome-wayland for example, Hyprland is starting. - This was disabled a few days ago. (19 May 2024). This was because some users, after they used the Distro-Hyprland scripts with other DE (gnome-wayland or plasma-wayland), if they choose to login into gnome-wayland for example, Hyprland is starting.
@ -250,7 +279,7 @@ log into your account
#### 📒 Final Notes #### 📒 Final Notes
- join my discord channel [`Discord`](https://discord.gg/V2SJ92vbEN) - join my discord channel [`Discord`](https://discord.com/invite/9JEgZsfhex)
- Feel free to copy, re-distribute, and use this script however you want. Would appreciate if you give me some loves by crediting my work :) - Feel free to copy, re-distribute, and use this script however you want. Would appreciate if you give me some loves by crediting my work :)

View File

@ -16,6 +16,7 @@ hypr_package=(
grim grim
gvfs gvfs
gvfs-backends gvfs-backends
inxi
kitty kitty
nano nano
pavucontrol pavucontrol

View File

@ -83,7 +83,7 @@ printf "${YELLOW} nvidia-stuff to /etc/default/grub..."
# Define the configuration file and the line to add # Define the configuration file and the line to add
config_file="/etc/modprobe.d/nvidia.conf" config_file="/etc/modprobe.d/nvidia.conf"
line_to_add=""" line_to_add="""
options nvidia-drm modeset=1 options nvidia-drm modeset=1 fbdev=1
options nvidia NVreg_PreserveVideoMemoryAllocations=1 options nvidia NVreg_PreserveVideoMemoryAllocations=1
""" """

View File

@ -5,8 +5,15 @@
rofi=( rofi=(
bison bison
flex flex
pandoc
doxygen
cppcheck
libmpdclient-dev
libnl-3-dev
libasound2-dev
) )
## 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
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
@ -46,22 +53,20 @@ printf "\n\n"
# Clone and build rofi - wayland # Clone and build rofi - wayland
printf "${NOTE} Installing rofi-wayland...\n" printf "${NOTE} Installing rofi-wayland...\n"
printf "${NOTE} Installing rofi-wayland\n"
# Check if rofi folder exists # Check if rofi folder exists
if [ -d "rofi" ]; then if [ -d "rofi" ]; then
printf "${NOTE} rofi folder exists. Pulling latest changes...\n" printf "${NOTE} rofi folder exists. Removing existing directory...\n"
cd rofi || exit 1 rm -rf rofi
git pull origin master 2>&1 | tee -a "$MLOG" fi
else
printf "${NOTE} Cloning rofi repository...\n" # cloning rofi-wayland
printf "${NOTE} Cloning rofi-wayland repository...\n"
if git clone https://github.com/lbonn/rofi.git; then if git clone https://github.com/lbonn/rofi.git; then
cd rofi || exit 1 cd rofi || exit 1
else else
echo -e "${ERROR} Download failed for rofi-wayland." 2>&1 | tee -a "$LOG" echo -e "${ERROR} Download failed for rofi-wayland." 2>&1 | tee -a "$LOG"
exit 1 exit 1
fi fi
fi
# Proceed with the installation steps # Proceed with the installation steps
if meson setup build && ninja -C build; then if meson setup build && ninja -C build; then