1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-23 15:08:31 +02: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
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";