diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-02-01 11:18:29 -0800 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2020-02-05 20:13:20 +0100 |
commit | f487b527ec420b888c52df1c4f8c31439201edb7 (patch) | |
tree | 3892097fa127342ff129ee89819528048390b146 | |
parent | 6cc4fd6ede4909226cb81d3475834251ed1b7210 (diff) |
compton: add inactiveDim option
PR #1016
-rw-r--r-- | modules/services/compton.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/services/compton.nix b/modules/services/compton.nix index c5b96af34da..3a67c7cb521 100644 --- a/modules/services/compton.nix +++ b/modules/services/compton.nix @@ -34,6 +34,7 @@ let # opacity active-opacity = ${cfg.activeOpacity}; inactive-opacity = ${cfg.inactiveOpacity}; + inactive-dim = ${cfg.inactiveDim}; menu-opacity = ${cfg.menuOpacity}; opacity-rule = ${toJSON cfg.opacityRule}; @@ -178,6 +179,15 @@ in { ''; }; + inactiveDim = mkOption { + type = types.str; + default = "0.0"; + example = "0.2"; + description = '' + Dim inactive windows. + ''; + }; + inactiveOpacity = mkOption { type = types.str; default = "1.0"; |