Skip to content

For automated installation of Hyprland on Fedora 38, 39 & 40 or any Fedora based distros

License

Notifications You must be signed in to change notification settings

mattman71/Fedora-Hyprland

Β 
Β 

Repository files navigation

πŸ’Œ ** JaKooLit's Fedora Hyprland Install Script ** πŸ’Œ

GitHub Repo stars GitHub last commit GitHub repo size


πŸ“· Hyprland-Dots-v2 Featuring Rofi

❕ Installed on Fedora 40 πŸ‘

❕ Installed on Nobara 38 πŸ₯°

alt text

Note

It does not work with Nobara 39

πŸ“Έ More up to date screenshots Link

πŸ“· Older Screenshots V1 & V2

✨ Youtube presentation v1

✨ Youtube presentation v2

✨ A video walk through my dotfilesLink

✨ A video walk through of My Hyprland-Dots v2Link

πŸͺ§πŸͺ§πŸͺ§ ANNOUNCEMENT πŸͺ§πŸͺ§πŸͺ§

  • This Repo does not contain Hyprland Dots or configs! Dotfiles can be checked here Hyprland-Dots . During installation, if you opt to copy installation, it will be downloaded from that centralized repo.
  • Hyprland-Dots use are constantly evolving / improving. you can check CHANGELOGS here Hyprland-Dots-Changelogs
  • Since the Hyprland-Dots are evolving, some of the screenshots maybe old
  • the wallpaper offered to be downloaded towards the end is from this REPO

Important

install a backup tool like snapper or timeshift. and Backup your system before installing hyprland using this script. This script does NOT include uninstallation of packages

Note

Main reason why I have not included an uninstallation script is simple. Some packages maybe already installed on your system by default. If I create an uninstall script with packages that I have set to install, you may end up a unrecoverable system.

Warning

Download this script on a directory where you have write permissions. ie. HOME. Or any directory within your home directory. Else script will fail

✨ Some notes on installation / Pre-requisites

  • This install script was tested on Minimal Fedora using Fedora Everything Link
  • This script is meant to install in any Fedora Work stations and its Spins.
  • if starting from scratch, recommended spin to install is the Sway Spin. However, I have tested this script in Fedora Workstation (gnome), Plasma Spin and Sway
  • I have not tested in any other spin. However, if you 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
  • If you have nvidia, and wanted to use proprietary drivers, uninstall nouveau first (if installed). This script will be installing proprietary nvidia drivers and will not deal with removal of nouveau.

⚠️ WARNING! If you have GDM already as log-in manager, DO NOT install SDDM

  • You will likely to encounter issues

⚠️ 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

Note

For Fedora 38 & 39, edit install-scripts/nwg-look.sh Line 15, edit tag to v0.2.6. v0.2.7 wont build as it needs a higher golang version

✨ Costumize the packages and COPR Repos

  • inside the install-scripts folder, you can edit 00-hypr-pkgs.sh, copr.sh, etc. Care though as the Hyprland Dots might not work properly
  • default GTK theme if agreed to be installed is Tokyo night GTK themes (dark and light) + Tokyo night SE icons + Bibata Cursor

πŸ’« SDDM and GTK Themes offered

  • If you opted to install SDDM theme, here's the LINK
  • If you opted to install GTK Themes, Icons and Cursor offered are Tokyo Nights. LINK & Bibata Cursor Modern Ice

πŸ”” 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-fedora website LINK and edit nvidia.sh in install-scripts folder to install proper gpu driver

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.

✨ to use this script

clone this repo (latest commit only) to reduce file size download by using git. Change directory, make executable and run the script

git clone --depth=1 https://github.com/JaKooLit/Fedora-Hyprland.git ~/Fedora-Hyprland
cd ~/Fedora-Hyprland
chmod +x install.sh
./install.sh

✨ for ZSH and OH-MY-ZSH installation

installer should auto change your default shell to zsh. However, if it does not, do this

chsh -s $(which zsh)
zsh
source ~/.zshrc
  • reboot or logout
  • by default agnoster theme is installed. You can find more themes from this OH-MY-ZSH-THEMES
  • to change the theme, edit ~/.zshrc ZSH_THEME="desired theme"

✨ TO DO once installation done and dotfiles copied

  • SUPER H for HINT or click on the waybar HINT! Button
  • Head over to FAQ and TIPS
  • NVIDIA users / owners, after installation, check THIS

✨ Packages that are manually downloaded and build. These packages will not be updated by dnf and have to be manually updated

  • nwg-look LINK
  • a.) to update this package, in your installation folder, you can move that folder (nwg-look) or download manually, cd into it, and ran git pull && sudo make install

πŸ™‹ Got a questions regarding the Hyprland Dots or configurations? πŸ™‹

  • Head over to wiki Link WIKI

πŸ™‹ πŸ‘‹ Having issues or questions?

  • for the install part, kindly open issue on this repo
  • for the Pre-configured Hyprland dots / configuration, submit issue here

πŸ”§ Proper way to re-installing a particular script from install-scripts folder

  • CD into Fedora-Hyprland Folder and then ran the below command.
  • i.e. ./install-scripts/gtk-themes - For reinstall GTK Themes.

πŸ›£οΈ Roadmap:

  • possibly adding gruvbox themes, cursors, icons

❗ some known issues for nvidia

  • 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/UserConfigs/ENVariables.conf) ; X being where the symlink of the gpu points to

  • more info from the hyprland wiki Hyprland Wiki Link

  • Fedora Sway Specific - swaylock conflicts with swaylock-effects. Lock screen would be only white. If decided to remove swaylock in favor with swaylock-effects, sway will be removed. So care

πŸ«₯ Improving performance for Older Nvidia Cards using driver 470

πŸ“’ Final Notes

  • join my discord channel Discord
  • 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!

  • Hyprland Of course to Hyprland and @vaxerski for this awesome Dynamic Tiling Manager.
  • HYPRLAND COPR REPO - a shout out to the one who created and maintaining Hyprland COPR Repo

πŸ’– Support

  • a Star on my Github repos would be nice 🌟

  • Subscribe to my Youtube Channel YouTube

  • You can also buy me Coffee Through ko-fi.com or Coffee.com 🀩

Buy Me a Coffee at ko-fi.com

"Buy Me A Coffee"

πŸ“Ή πŸ“Ή Youtube videos (Click to view and watch the playlist)

Youtube Playlist Thumbnail

πŸ₯°πŸ₯° πŸ’–πŸ’– πŸ‘πŸ‘πŸ‘

Stargazers over time

About

For automated installation of Hyprland on Fedora 38, 39 & 40 or any Fedora based distros

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 100.0%