From f4071ec6684399808d3fecf22c94f08704318dc3 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Mon, 29 Jun 2026 20:49:00 +0200 Subject: [PATCH] Make Steam transparent too --- home/doggo/hyprland-config.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/home/doggo/hyprland-config.nix b/home/doggo/hyprland-config.nix index f62c422..28d1da7 100644 --- a/home/doggo/hyprland-config.nix +++ b/home/doggo/hyprland-config.nix @@ -305,7 +305,7 @@ in size = [ "monitor_w - 5" "monitor_h - 5" ]; } */ - # Chromakey with Catppuccin Mocha Base (0.1176, 0.1176, 0.1804) + # Chromakey with Catppuccin Mocha Base (the hex values each divided by 255 -> 0.1176, 0.1176, 0.1804) { name = "transparency"; match = { class = "^(spotify|jetbrains-.*|io.github.ilya_zlobintsev.LACT|org.prismlauncher.PrismLauncher|org.kde.*|qt.*|.*qt.*|.*Qt.*)$"; }; @@ -321,6 +321,22 @@ in }) ''; } + # Chromakey for Steam; https://www.color-hex.com/color-palette/1050902 + { + name = "steam-transparency"; + match = { class = "steam"; }; + "darkwindow:shade" = lib.generators.mkLuaInline '' + hl.plugin.darkwindow.build_window_rule({ + shader = "chromakey", + args = { + bkg = { 0.1607, 0.1803, 0.2156 }, + targetOpacity = 0.78, + similarity = 0.1185, + amount = 0.7 + } + }) + ''; + } ]; }; };