mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-16 05:18:17 +00:00
40 lines
982 B
Nix
40 lines
982 B
Nix
{ lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options = {
|
|
|
|
system.defaults.screencapture.location = mkOption {
|
|
type = types.nullOr types.str;
|
|
default = null;
|
|
description = ''
|
|
The filesystem path to which screencaptures should be written.
|
|
'';
|
|
};
|
|
|
|
system.defaults.screencapture.type = mkOption {
|
|
type = types.nullOr types.str;
|
|
default = null;
|
|
description = ''
|
|
The image format to use, such as "jpg".
|
|
'';
|
|
};
|
|
|
|
system.defaults.screencapture.disable-shadow = mkOption {
|
|
type = types.nullOr types.bool;
|
|
default = null;
|
|
description = ''
|
|
Disable drop shadow border around screencaptures. The default is false.
|
|
'';
|
|
};
|
|
|
|
system.defaults.screencapture.show-thumbnail = mkOption {
|
|
type = types.nullOr types.bool;
|
|
default = null;
|
|
description = ''
|
|
Show thumbnail after screencapture before writing to file. The default is true.
|
|
'';
|
|
};
|
|
};
|
|
}
|