From 24738fb313849ba8c90a29f020ca1d5899c72b20 Mon Sep 17 00:00:00 2001 From: Hannes Date: Fri, 3 Jul 2026 21:55:37 +0200 Subject: [PATCH] fixed something for nvidia --- config/theme.lua | 88 ++++++++++++++++++++++++++++++++++++------------ 1 file changed, 67 insertions(+), 21 deletions(-) diff --git a/config/theme.lua b/config/theme.lua index e418b9a..0b60df4 100644 --- a/config/theme.lua +++ b/config/theme.lua @@ -53,19 +53,73 @@ hl.config({ }, }) -hl.config({ - decoration = { - rounding = 5, - active_opacity = 1, - inactive_opacity = 1, - dim_modal = true, - dim_inactive = true, - dim_strength = 0.35, - blur = { - enabled = true, - }, - } -}) +if USER == "honney" then + 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 = 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 hl.config({ @@ -83,14 +137,6 @@ hl.config({ } }) -hl.config({ - render = { - direct_scanout = 2, - cm_enabled = true, - cm_auto_hdr = 1, - } -}) - hl.config({ cursor ={ no_hardware_cursors = 1,