Skip to content
NyanMathsPublic

About

Configuration for Hyprland & cie on my Linux

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

185 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Behold, my dynamic Hyprland rice ! image Rofi theme : image Wlogout theme (for waybar) : image

I am currently fighting against those annoying config, cache and data directories inside of my home folder, so there is a bunch of environment set for this, you may yeet this without any problem.

Almost required software :

Status bar (Wabar) :

Status bar (Hyprpanel) :

Optional software :

Setup

I use Hypridle to manage session events, you can enable it with :

systemctl enable --user --now hypridle.service

Login manager

You should use autologin feature from your login manager as my config will lock your session automatically on startup because hyprlock is classier than any login manager's config known to me.
In that case,do not forget to automatically launch dbus-run-session start-hyprland and not just start-hyprland, otherwise some things will break, especially screenshare.
Edit /etc/greetd/config.toml :

[terminal]
vt = 1

[initial_session]
command = "dbus-run-session start-hyprland"
user = "USERNAME"

[default_session]
command = "agreety --cmd/bin/TERMINAL"
user = "greeter"

# it can restart Hyprland automatically if you just want to reload it when logging out, in that case use this one :
#[default_session]
#command = "dbus-run-session start-hyprland"
#user = "USERNAME"

Rice


You shall run wallpaper set /path/to/wallpaper.avif_goofy_aah once in order to get your dynamic rice accordingly as you will get default colours upon first launch.
Yeah, only static images are supported by hyprlock at the moment, so forget about GIF, animated WEBP or AVIF. Just pray for animated wallpaper support.
Or pray so that I finally write a stupid shell script to extract the first frame of an animated wallpaper to make hyprlock happy, but I'm too lazy :3.

Functionalities

ZSH environment

As I have to set them outside of Hyprland's config, here they are :
Edit /etc/zsh/zshenv :

export XDG_DATA_HOME="$HOME"/.local/share
export XDG_CONFIG_HOME="$HOME"/.config
export XDG_CACHE_HOME="$HOME"/.cache

export ZDOTDIR="$XDG_CONFIG_HOME"/zsh

Touchpad and keyboard toggles

I made a script to toggle input devices : ~/.local/bin/device-toggle.sh. Just throw it the device's name from hyprctl device.
That way, you will be able to easily access these controls in wabar and by keybinds (super+shift+k and xf86touchpadtoggle)

The green one

I set up hardware acceleration with nvidia but disabled rendering though it, because my monitor is not wired to my dGPU, so you might want to tweak these settings, in that case, get to the Hyprland wiki for setting up this despicable thing. I left a config file for this, but be careful as I do not update it often : .config/hypr/nyavidia.conf.
For people who does not have nvidia-smi, wabar should have missing parts : this is because the GPU temperature section cannot be displayed. Well, just remove custom-gpu and custom-vram modules and round corners in .config/waybar/ to make it look pretty again.

Turbo boost toggle

This one is only supposed to work for intel CPUs using pstate driver, without any guarantee. This was painful and I do not plan on making it it better for now.

Credits

Hyprland : https://github.com/hyprwm/Hyprland
Waybar : https://github.com/Alexays/Waybar
HyprPanel : https://github.com/Jas-SinghFSU/HyprPanel
Hyprlang2Lua (config rewrite was much quicker with this rool) : https://github.com/EIonTusk/hyprlang2lua
NVIDIA for making me wake up each morning with more fixes to do on my laptop

About

Configuration for Hyprland & cie on my Linux

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Contributors

Languages