1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-23 18:29:47 +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
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";