feat(hyprland): try to make it work for nvidia.
This commit is contained in:
parent
f2d32aa501
commit
f79f43c617
1 changed files with 13 additions and 1 deletions
|
|
@ -129,12 +129,24 @@ in {
|
||||||
"$menu" = "tofi";
|
"$menu" = "tofi";
|
||||||
"$terminal" = "foot";
|
"$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 = [
|
exec = [
|
||||||
# Fix laptop monitor getting turned on while my external monitor connected
|
# Fix laptop monitor getting turned on while my external monitor connected
|
||||||
"hyprctl monitors | grep 'HDMI' && hyprctl keyword monitor 'eDP-1, disable'"
|
"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
|
"pkill waybar; waybar" # Kill waybar and start new instance because everytime hyprland restarts breaks waybar
|
||||||
];
|
];
|
||||||
|
|
||||||
|
cursor = {
|
||||||
|
no_hardware_cursors = true;
|
||||||
|
};
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"wl-paste --type text --watch cliphist store" # Stores only text data
|
"wl-paste --type text --watch cliphist store" # Stores only text data
|
||||||
"wl-paste --type image --watch cliphist store" # Stores only image data
|
"wl-paste --type image --watch cliphist store" # Stores only image data
|
||||||
|
|
@ -174,7 +186,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
misc = {
|
misc = {
|
||||||
vrr = 1;
|
vrr = 2;
|
||||||
};
|
};
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue