diff --git a/modules/home/services/picom/default.nix b/modules/home/services/picom/default.nix index 3fc60c0..8b97d84 100644 --- a/modules/home/services/picom/default.nix +++ b/modules/home/services/picom/default.nix @@ -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'" ];