1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-16 21:38:21 +00:00
nix-darwin/modules/system/defaults/screencapture.nix

41 lines
982 B
Nix
Raw Normal View History

{ lib, ... }:
2018-02-27 17:24:45 +00:00
with lib;
{
options = {
system.defaults.screencapture.location = mkOption {
type = types.nullOr types.str;
default = null;
2024-04-14 23:02:32 +02:00
description = ''
2018-02-27 17:24:45 +00:00
The filesystem path to which screencaptures should be written.
'';
};
system.defaults.screencapture.type = mkOption {
type = types.nullOr types.str;
default = null;
2024-04-14 23:02:32 +02:00
description = ''
The image format to use, such as "jpg".
'';
};
system.defaults.screencapture.disable-shadow = mkOption {
2020-04-12 18:21:07 +01:00
type = types.nullOr types.bool;
default = null;
2024-04-14 23:02:32 +02:00
description = ''
2021-10-21 20:36:55 +11:00
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.
'';
};
2018-02-27 17:24:45 +00:00
};
}