/Ja_HyprLanD-dots

my hyprland dotfiles for my Asus G15 2021 - Gentoo and Arch - Same I use for my desktop

Primary LanguageShellThe UnlicenseUnlicense

03-June-2024

ATTENTION. Arch Hyprland Install Script has been moved to a newer and updated Script. CLICK here for the link.

Github Link for Hyprland-v2.1

My-HyprLanD-low.mp4

Arch / Gentoo Hyprland Dotfiles


Components:

Miscellaneous:

  • Themes: Dracula
  • Cursor theme: Bibata Modern Ice

Needed packages:

(all of the above components) plus

swaybg - for wallpaper

swayidle - not necessary but you can install

swaylock-effects - or swaylock

wlroots wlogout cava polkit-gnome

mako - for notifications

grim slurp wl-clipboard - for screenshot

brightnessctl - for monitor and keyboard brightness - not needed for desktop

mpv - for wofi beats to work

viewnior or swayimg

pamixer - for volume control notification.

playerctl - Keyboard hotkeys multimedia controls

xorg-xwayland - needed to run some non-wayland app especially games

fonts - required awesome fonts. AUR and official repo have... else most of the waybar modules wont work. Most of configs here I used Fantasque Sans Mono. I used Cascadia Code Semibold Italic on foot.

pipewire - needed pipewire pipewire-pulse pipewire-alsa

✨ Arch Linux quick Installation:

A guide to install :Youtube Link

Dual Boot Guide :Youtube Link

1.) optional: you can install nvidia-all driver from Frogging Family to replace the nvidia-drivers

  • chmod +x nvidia-all-driver and run with nvidia-all-driver

a.) paru-hyprland and yay-hyprland autoinstaller script included. Paru / Yay will be installed automatically if you select yes during the installation. Make script executable by running chmod +x (for example chmod +x paru-hyprland) then ran ./paru-hyprland.

b.) You can install one by one packages or choose the automatic installer script.

c.) If you want to add or edit packages, edit yay-hyprland or paru-hyprland script. Ensure packages are present on AUR or official else the script will fail.

d.) Installation of Asus-ROG-utilities are entirely optional. This is only for Asus Laptop. if you select no, will skip the step.

✨ NVIDIA-Hyprland notes:

  • kindly note, on configs I added all the nvidia variables from Hyprland wiki Link but by default they are not enabled. I've had issues like OBS not recording, or intermittent crashing etc, on my laptop. Check the ~/.config/hypr/configs/exec.conf and uncomment one by one to try. You can read through Hyprland-Wiki for some guidance.

✨ Manual Installation and Notes:

you can copy, create, change, however, would appreciate to submit like a pull request or issues if you have a better solution / changes so we will all improve :)

These configs are used in my Laptop and Desktop. Please note, Only provided are configs. Any Hyprland-related issues to be reported on Hyprland Github

a.) Copy / Move files / folders in your ~/.config

b.) Put wallpapers in your ~/Pictures/

c.) if you want in Arch, make sure to comment / uncomment some items in /hypr/configs/exec.conf - location of polkit is different than gentoo, By default, all configs are set to work with Arch Linux

d.) If you use thunar as file manager, suggested additions for thunar (thunar-volman, tumbler, gvfs, gvfs-mtp (for accessing phone), Thunar archive plugin-ins) See Arch wiki https://wiki.archlinux.org/title/thunar

e.) make sure scripts located at /hypr/scripts/ are executable as required. (use chmod +x or right click, properties, change permission to be executable)

f.) Inspect /hypr/configs/exec.conf Choose which polkit gnome to use. to use. (Gentoo have different location of executables. Arch /usr/lib vs Gentoo /usr/libexec) Polkits by default are set to Arch Linux

g.) if you have azerty keyboard this might help

✨ Gentoo Specific notes

Gentoo Specific
  1. Hyprland - Link to zugaina have 3 overlays. I am using wayland-desktop overlay. Nvidia and openrc users, you should look into thegreatmcpain overlay. Or of course you can compile hyprland from source
  2. Waybar - Gentoo have now wiki for Hyprland. Click here for guidance
  3. For screen sharing, I use xdg-desktop-portal-wlr which seems to work. If you are having issues, install xdg-desktop-portal-hyprland
  4. if you use openrc, ensure to launch hyprland with dbus-run-session Hyprland. Omitting the dbus-run-session may cause runtime errors
  5. fonts you need fontawesome and nerd-fonts (X jetbrainsmono symbolsmono) (available in overlay) to display some icons in waybar