mirror of
https://github.com/Username404-59/Dotfiles-NixOS.git
synced 2026-07-03 12:58:07 +02:00
Make Steam transparent too
This commit is contained in:
parent
07d89fdbc9
commit
f4071ec668
@ -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
|
||||
}
|
||||
})
|
||||
'';
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user