-
Notifications
You must be signed in to change notification settings - Fork 3
Configuration
Below is a copy of the default configuration provided by Nougat, should you ever need it.
NOUGAT_SCREENSHOT_DIRECTORY="$HOME/Screenshots"
NOUGAT_ORGANIZATION_POLICY="${year}/${month}/${day}/${hour}:${minute}:${second}${suffix}"
NOUGAT_LINKING_POLICY="All/${year}-${month}-${day}.${hour}:${minute}:${second}${suffix}"
This is the main directory where screenshots will be placed. Screenshots are only directly placed here if there are no directories in the organization policy. If there are, Nougat will create the appropriate directories as defined by the organization policy.
The default directory is set to $HOME/Screenshots
The policy by which images are organized and named. The output path of a screenshot is the screenshot directory as the parent, and the organization policy as the subdirectory to the screenshot directory.
As an example, if your organization policy is set to ${year}/${month}-${day}/${hour}:${minute}:${second}${suffix}
, then the path of an image you take at 5:42:01 on March 3rd, 2017 is $NOUGAT_SCREENSHOT_DIRECTORY/2017/March-3/05:42:01.png
The linking policy is completely optional, but it is the directory where symlinks are placed to images as a way to quickly select a specific image from a large amount in your collection without having to traverse each individual directory defined by the organization policy.
If a linking policy is defined as all/${year}-${month}-${day}-${hour}:${minute}:${second}${suffix}
, then an image taken at 5:42:01 on March 3rd, 2017 will have a symlink to it created at $NOUGAT_SCREENSHOT_DIRECTORY/all/2017-March-3-5:42:01.png
There are a set of variables that can be used by either policies, such variables are defined below.
Variable | Example |
---|---|
${year} | 1970 |
${month} | January |
${day} | 1 |
${hour} | 00 |
${minute} | 00 |
${second} | 00 |
${suffix} | _full |