diff options
author | 2020-05-01 10:51:18 +0200 | |
---|---|---|
committer | 2020-05-05 20:18:19 +0200 | |
commit | dce8abcdab7a0a65c27e5280b702a592ab557be6 (patch) | |
tree | 6c5d40fe992ec7f359b6569205f819142a408592 /LICENSE | |
parent | Don't unhide cursor on touch events (diff) | |
download | sway-dce8abcdab7a0a65c27e5280b702a592ab557be6.tar.gz sway-dce8abcdab7a0a65c27e5280b702a592ab557be6.tar.zst sway-dce8abcdab7a0a65c27e5280b702a592ab557be6.zip |
grimshot: Allow configuring default directory
`$XDG_PICTURES_DIR` is a very loosely defined thing; it's a directory
where "pictures" are stored, which no clearer definition.
Some people use it for photographs they take, other use it for images
they save from the internet, and others use it for screenshots.
Having lots of tools save their output there (anything that's an image
goes there) can easily make it a kitchen sink.
To work around this, use `$XDG_SCREENSHOTS_DIR` as a target directory
for screenshots by default. If not-so-standard variable is unset, fall
back to the previous setting; `$XDG_PICTURES_DIR`.
This also drops an external dependency, which was (a) an overkill (b)
not flexible enough.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions