feat(home): Stop picom blurring Zen Browser
This commit is contained in:
parent
c71ea24abe
commit
a3d78e5233
1 changed files with 5 additions and 5 deletions
|
@ -3,14 +3,12 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}: let
|
||||||
let
|
|
||||||
inherit (lib) mkEnableOption mkIf;
|
inherit (lib) mkEnableOption mkIf;
|
||||||
|
|
||||||
cfg = config.marleyos.services.picom;
|
cfg = config.marleyos.services.picom;
|
||||||
hasXorg = config.xsession.enable;
|
hasXorg = config.xsession.enable;
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
options.marleyos.services.picom.enable = mkEnableOption "picom";
|
options.marleyos.services.picom.enable = mkEnableOption "picom";
|
||||||
|
|
||||||
config = mkIf (cfg.enable && hasXorg) {
|
config = mkIf (cfg.enable && hasXorg) {
|
||||||
|
@ -20,7 +18,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
# The module config options are a nightmare.
|
# The module config options are a nightmare.
|
||||||
xdg.configFile."picom/picom.conf".text = # conf
|
xdg.configFile."picom/picom.conf".text =
|
||||||
|
# conf
|
||||||
''
|
''
|
||||||
# Shadows - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# Shadows - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
shadow = true;
|
shadow = true;
|
||||||
|
@ -48,6 +47,7 @@ in
|
||||||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||||
opacity-rule = [
|
opacity-rule = [
|
||||||
"100:class_g = 'firefox'",
|
"100:class_g = 'firefox'",
|
||||||
|
"100:class_g = 'zen-alpha'",
|
||||||
"60:class_g = 'dolphin'",
|
"60:class_g = 'dolphin'",
|
||||||
"50:class_g = 'cava'"
|
"50:class_g = 'cava'"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue