fixed something for nvidia

This commit is contained in:
Hannes
2026-07-03 21:55:37 +02:00
parent 5cd56c8d82
commit 24738fb313
+54 -8
View File
@@ -53,6 +53,7 @@ hl.config({
}, },
}) })
if USER == "honney" then
hl.config({ hl.config({
decoration = { decoration = {
rounding = 5, rounding = 5,
@@ -67,6 +68,59 @@ hl.config({
} }
}) })
hl.config({
render = {
direct_scanout = 2,
cm_enabled = true,
cm_auto_hdr = 1,
}
})
elseif USER == "teo" then
hl.config({
decoration = {
rounding = 5,
active_opacity = 1,
inactive_opacity = 1,
dim_modal = false,
dim_inactive = false,
dim_strength = 0.35,
blur = {
enabled = true,
},
}
})
hl.config({
render = {
direct_scanout = 2,
cm_enabled = true,
cm_auto_hdr = 0,
}
})
else
hl.config({
decoration = {
rounding = 5,
active_opacity = 1,
inactive_opacity = 1,
dim_modal = true,
dim_inactive = true,
dim_strength = 0.35,
blur = {
enabled = true,
},
}
})
hl.config({
render = {
direct_scanout = 2,
cm_enabled = true,
cm_auto_hdr = 0,
}
})
end
-- MISC -- MISC
hl.config({ hl.config({
misc = { misc = {
@@ -83,14 +137,6 @@ hl.config({
} }
}) })
hl.config({
render = {
direct_scanout = 2,
cm_enabled = true,
cm_auto_hdr = 1,
}
})
hl.config({ hl.config({
cursor ={ cursor ={
no_hardware_cursors = 1, no_hardware_cursors = 1,