mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-06 08:47:00 +00:00
feat: add screencapture.target option
This commit is contained in:
parent
53a0c2fe6e
commit
25fb527105
1 changed files with 15 additions and 0 deletions
|
@ -48,5 +48,20 @@ with lib;
|
|||
Show thumbnail after screencapture before writing to file. The default is true.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.screencapture.target = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = ''
|
||||
Target to which screencapture should save screenshot to. The default is "file".
|
||||
Valid values include:
|
||||
|
||||
* `file`: Saves as a file in location specified by `system.defaults.screencapture.location`
|
||||
* `clipboard`: Saves screenshot to clipboard
|
||||
* `preview`: Opens screenshot in Preview app
|
||||
* `mail`
|
||||
* `messages`
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue