mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
compton: drop no-dock-blur option, add dock and dnd shadow
no-dock-blur doesn't exist in compton and was added by mistake.
This commit is contained in:
parent
05a98b6be0
commit
0cfd21cc15
1 changed files with 18 additions and 9 deletions
|
@ -24,13 +24,14 @@ let
|
|||
shadow-offset-y = ${toString (elemAt cfg.shadowOffsets 1)};
|
||||
shadow-opacity = ${cfg.shadowOpacity};
|
||||
shadow-exclude = ${toJSON cfg.shadowExclude};
|
||||
no-dock-shadow = ${toJSON cfg.noDockShadow};
|
||||
no-dnd-shadow = ${toJSON cfg.noDNDShadow};
|
||||
'' +
|
||||
optionalString cfg.blur ''
|
||||
|
||||
# blur
|
||||
blur-background = true;
|
||||
blur-background-exclude = ${toJSON cfg.blurExclude};
|
||||
no-dock-blur = ${toJSON cfg.noDockBlur};
|
||||
'' + ''
|
||||
|
||||
# opacity
|
||||
|
@ -58,14 +59,6 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
noDockBlur = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Avoid blur on docks.
|
||||
'';
|
||||
};
|
||||
|
||||
blurExclude = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
|
@ -174,6 +167,22 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
noDockShadow = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Avoid shadow on docks.
|
||||
'';
|
||||
};
|
||||
|
||||
noDNDShadow = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Avoid shadow on drag-and-drop windows.
|
||||
'';
|
||||
};
|
||||
|
||||
activeOpacity = mkOption {
|
||||
type = types.str;
|
||||
default = "1.0";
|
||||
|
|
Loading…
Reference in a new issue