# 💌 JaKooLit's Debian/Ubuntu Hyprland Install Script 💌 ![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)
! ### Debian 13 Trixie and SID and Ubuntu 23.10 Mantic Minotaur - Hyprland install script based from my Fedora-Hyprland [`Link`](https://github.com/JaKooLit/Fedora-Hyprland) and Arch-Hyprland-v4 [`Link`](https://github.com/JaKooLit/Hyprland-v4) ### ⚠️ Pre-requisites and VERY Important! ### - Do not run this installer as sudo or as root - This Installer requires a user with a priviledge to install packages - Needs a Debian 13 Testing (Trixie) Branch as it needs a newer wayland packages! I have tried on Stable Debian 12 Bookworm in which, Hyprland wont build. - In theory, it should also work on Debian SID (unstable) but I have not tested yet. - edit your /etc/apt/sources.list and remove # on lines with deb-src to enable source packaging else will not install properly especially Hyprland ```bash sudo nano /etc/apt/sources.list ``` - delete # on the lines with 'deb-src' - ensure to allow to install non-free drivers especially for users with NVIDIA gpus. You can also install non-free drivers if required. Edit install-scripts/nvidia.sh and change the nvidia stuff's if required - If you have login Manager already like GDM (gnome login manager), I highly advice not to install SDDM. But if you decide to install SDDM, see here [`Issue 2 - SDDM`](https://github.com/JaKooLit/Debian-Hyprland/issues/2) ### 🔔 NOTICE TO UBUNTU USERS ### - You can use this installer. However, I have only tested on Ubuntu 23.10. Not sure if it works on older ubuntu as Hyprland needs an updated wayland libraries. For sure wont work in any Ubuntu LTS. - If you are using Gnome already, DO NOT install the SDDM. The GDM works file as well. For some reason, during installation, you will be asked which login manager you wanted to use. But during my test, nothing happened. - For Ubuntu with NVIDIA GPU's, make sure to edit the install-scripts/nvidia.sh . Delete all packages in nvidia_pkg except libva-wayland2 and nvidia-vaapi-driver and uncomment/remove # before sudo ubuntu-drivers install. You also need to delete or simply just add # in the lines 43 and 44 echo "## for nvidia... and echo "deb ........... ### 📷 Screenshots click to enlarge

### 📷 More Screenshots [`Link`](https://github.com/JaKooLit/screenshots/tree/main/Hyprland-ScreenShots/Debian) ### ✨ Youtube presentation [`Link`](https://youtu.be/hGEWOif5D4Y?si=WQ-PrPwEhM5Og76Q) ### ✨ A video walk through my dotfiles[`Link`](https://youtu.be/fO-RBHvVEcc?si=ijqxxnq_DLiyO8xb) ## 🪧🪧🪧 ANNOUNCEMENT 🪧🪧🪧 - I have moved to a centralized Hyprland Dots. - after initial boot-up after install, you will experience a NO wallpaper. This is due to changes I made on the install scripts to correct that, you can press the light/dark button or choose wallpaper (SUPER CTRL W), and that wallpaper will be loaded after reboot or login. - more info on announcement [`Link`](https://youtu.be/upDl1ns05eg) If you want to use swaybg as wallpaper provider, you can edit ~/.config/hypr/configs/Execs.conf and uncomment the swaybg part ### ✨ Some notes on this installer - This script is meant to install in Debian Testing (Trixie). - 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 - It should work on latest Ubuntu 23.10 ### ⚠️ 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 ### ✨ Costumize the packages - inside the install-scripts folder, you can edit 00-hypr-pkgs.sh. Do not edit 00-dependencies.sh unless you know what you are doing - default GTK theme if agreed to be installed is Tokyo night GTK themes (dark and light) + Tokyo night SE icons ### 🔔 NOTICE TO NVIDIA OWNERS ### - by default it is installing the latest and newest nvidia drivers. If you have an older nvidia-gpu (GTX 800 series and older), check out nvidia-debian website [`LINK`](https://wiki.debian.org/NvidiaGraphicsDrivers) and edit nvidia.sh in install-scripts folder to install proper gpu driver ### ✨ to run > clone this repo by using git. Change directory, make executable and run the script ```bash git clone https://github.com/JaKooLit/Debian-Hyprland.git cd Debian-Hyprland chmod +x install.sh ./install.sh ``` ### ✨ for ZSH and OH-MY-ZSH installation > do this once installed and script completed; do the following to change the default shell zsh ```bash chsh -s $(which zsh) zsh source ~/.zshrc ``` - reboot or logout - by default mikeh theme is installed. You can find more themes from this [`OH-MY-ZSH-THEMES`](https://github.com/ohmyzsh/ohmyzsh/wiki/Themes) - to change the theme, edit ~/.zshrc ZSH_THEME="desired theme" ### ✨ Hyprland Dot Notes - super h for launching a small help file - super e to view / edit settings, monitor, keybinds, Environment Variables, etc - go through the keybinds. There are alot of hidden features like dual panel, change waybar styles, change wallpaper, etc... its too long to put all in the readme!!! - super d for wofi (menu) - super t for thunar (file manager) - if you installed in your laptop and Brightness and Keyboard brightness does not work you can execute this command `sudo chmod +s $(which brightnessctl)` ### 😠😠😠 NO WALLPAPER!! - By default, swww is set for wallpaper. If you have not opt to install swww, you can edit ~/.config/hypr/configs/Execs.conf . Put # on swww and delete the # on the swaybg part - I still highly suggest to install swww though since most are connected to swww ### ✨ Packages that are manually downloaded and build. These packages will not be updated by apt and have to be manually updated - Hyprland [`LINK`](https://github.com/hyprwm/Hyprland) - nwg-look [`LINK`](https://github.com/nwg-piotr/nwg-look) - Asus ROG asusctl [`LINK`](https://gitlab.com/asus-linux/asusctl) and superfxctl [`LINK`](https://gitlab.com/asus-linux/supergfxctl) - swww [`LINK`](https://github.com/Horus645/swww) - swaylock-effects [`LINK`](https://github.com/mortie/swaylock-effects) - swappy [`LINK`](https://github.com/jtheoof/swappy) - xdg-desktop-portal-hyprland [`LINK`](https://github.com/hyprwm/xdg-desktop-portal-hyprland) - a.) to update these package, in your installation folder, you can move these folders, `Hyprland` `nwg-look` `swaylock-effects` `swappy` `swww` `asusctl` `supergfxctl`, as appropriate or download manually, cd into it, update/install - b.) to update Hyprland and xdg-desktop-portal-hyprland ``` bash git pull make all sudo make install ``` - c.) for nwg-look, asusctl, supergfxtctl, to update ran ``` bash git pull sudo make install ``` - c.) for swww, to update ``` bash git pull cargo build --release ``` - d.) for swaylock-effects and swappy ``` bash git pull meson build ninja -C build sudo ninja -C build install ``` ### ✨ Roadmap: - [ ] Install zsh and oh-my-zsh without necessary steps above - [ ] possibly adding gruvbox themes, cursors, icons - [ ] adding vertical waybar - [X] ~~Use kitty in favor of foot~~ - Dropped the idea of kitty. Kitty is using twice memory compared to foot. - [ ] Create an automated uninstaller ### ❗ some known issues - [ ] reports from members of my discord, states that some users of nvidia are getting stuck on sddm login. credit to @Kenni Fix stated was ``` while in sddm press ctrl+alt+F2 or F3 log into your account `lspci -nn`, find the id of your nvidia card `ls /dev/dri/by-path` find the matching id `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/configs/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) - [ ] Does not work in Ubuntu 23.04 - [ ] sddm blackscreen when log-out - [ ] cava does not work - [ ] Installing SDDM if or any other Login Manager installed. See [`Issue 2 - SDDM`](https://github.com/JaKooLit/Debian-Hyprland/issues/2) ### 📒 Final Notes - join my discord channel [`Discord`](https://discord.gg/V2SJ92vbEN) - 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 :) ### 👍👍👍 Thanks and Credits! - shout out to CooSee from Gentoo forums for the nice rainbow borders ### 💌 Some screenshots shared to me via discord - Discord user : thunderlake. ![alt text](https://github.com/JaKooLit/Users-screenshots/blob/main/discord/%40thunderlake.png "Discord-user") ## 💖 Support - a Star on my Github repos would be nice 🌟 - Subscribe to my Youtube Channel [YouTube](https://www.youtube.com/@Ja.KooLit) - You can also buy me Coffee Through ko-fi.com 🤩 Buy Me a Coffee at ko-fi.com