1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 10:49:48 +01:00

compton: add inactiveDim option

PR #1016
This commit is contained in:
Jonathan Ringer 2020-02-01 11:18:29 -08:00 committed by Robert Helgesson
parent 6cc4fd6ede
commit f487b527ec
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -34,6 +34,7 @@ let
# opacity # opacity
active-opacity = ${cfg.activeOpacity}; active-opacity = ${cfg.activeOpacity};
inactive-opacity = ${cfg.inactiveOpacity}; inactive-opacity = ${cfg.inactiveOpacity};
inactive-dim = ${cfg.inactiveDim};
menu-opacity = ${cfg.menuOpacity}; menu-opacity = ${cfg.menuOpacity};
opacity-rule = ${toJSON cfg.opacityRule}; 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 { inactiveOpacity = mkOption {
type = types.str; type = types.str;
default = "1.0"; default = "1.0";