feat(home): Stop picom blurring Zen Browser

This commit is contained in:
punkfairie 2025-01-03 21:12:00 -08:00
parent c71ea24abe
commit a3d78e5233
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

View file

@ -3,14 +3,12 @@
config,
pkgs,
...
}:
let
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.marleyos.services.picom;
hasXorg = config.xsession.enable;
in
{
in {
options.marleyos.services.picom.enable = mkEnableOption "picom";
config = mkIf (cfg.enable && hasXorg) {
@ -20,7 +18,8 @@ in
};
# The module config options are a nightmare.
xdg.configFile."picom/picom.conf".text = # conf
xdg.configFile."picom/picom.conf".text =
# conf
''
# Shadows - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
shadow = true;
@ -48,6 +47,7 @@ in
focus-exclude = [ "class_g = 'Cairo-clock'" ];
opacity-rule = [
"100:class_g = 'firefox'",
"100:class_g = 'zen-alpha'",
"60:class_g = 'dolphin'",
"50:class_g = 'cava'"
];