feat(hyprland): try to make it work for nvidia.

This commit is contained in:
CronyAkatsuki 2025-10-01 01:55:40 +02:00
parent f2d32aa501
commit f79f43c617

View file

@ -129,12 +129,24 @@ in {
"$menu" = "tofi";
"$terminal" = "foot";
env = [
"LIBVA_DRIVER_NAME,nvidia"
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
# "WLR_NO_HARDWARE_CURSORS,1"
# " WLR_DRM_NO_ATOMIC,1"
"__GL_GSYNC_ALLOWED,1"
];
exec = [
# Fix laptop monitor getting turned on while my external monitor connected
"hyprctl monitors | grep 'HDMI' && hyprctl keyword monitor 'eDP-1, disable'"
"pkill waybar; waybar" # Kill waybar and start new instance because everytime hyprland restarts breaks waybar
];
cursor = {
no_hardware_cursors = true;
};
exec-once = [
"wl-paste --type text --watch cliphist store" # Stores only text data
"wl-paste --type image --watch cliphist store" # Stores only image data
@ -174,7 +186,7 @@ in {
};
misc = {
vrr = 1;
vrr = 2;
};
input = {