fad4abb687452647a8c624461a28549c4c6b0d0a

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Update hyprland HDR config

Diff

 1diff --git a/dot_config/hypr/hyprland.lua.tmpl b/dot_config/hypr/hyprland.lua.tmpl
 2index b896e5fbfb6f76607a45d58dbed18ad205c58f37..ec045e3f0ca9e32bc92ec70b4d45b1d9dd8be799 100644
 3--- a/dot_config/hypr/hyprland.lua.tmpl
 4+++ b/dot_config/hypr/hyprland.lua.tmpl
 5@@ -83,9 +83,12 @@ hl.config({
 6 	xwayland = { force_zero_scaling = true },
 7 	ecosystem = { no_update_news = true },
 8 	render = {
 9-		direct_scanout = 2,
10+		direct_scanout = 0,
11 		cm_auto_hdr = 2,
12 	},
13+	quirks = {
14+		prefer_hdr = 2,
15+	},
16 	cursor = { hotspot_padding = 0 },
17 	input = {
18 		kb_layout = {{ printf "%q" .hyprland.input.keyboard_layouts.layout }},
19@@ -255,7 +258,6 @@ hl.window_rule({
20 	no_focus = true,
21 })
22 hl.window_rule({ name = "wine-systray-special", match = { title = "Wine System Tray" }, workspace = "special silent" })
23-hl.window_rule({ name = "steam-games-fullscreen", match = { class = "steam_app_.*" }, fullscreen = true })
24 hl.window_rule({ name = "steam-workspace", match = { class = "steam" }, workspace = "10 silent" })
25 hl.window_rule({ name = "firefox-workspace", match = { class = "firefox" }, workspace = "11 silent" })
26 hl.window_rule({ name = "telegram-workspace", match = { class = "org.telegram.desktop" }, workspace = "12 silent" })