flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
23.96k stars 1.52k forks source link

Allow environment variable expansion in config #3442

Open NickLarsenNZ opened 6 months ago

NickLarsenNZ commented 6 months ago

Feature Description

I would like to use the same config (in my dotfiles repo) across machines, but the savePath is not the same between them.

Eg:

[General]
savePath=${PICTURES_PATH} ; for example

That way I could set the variable for each machine without having to change the file and have a dirty git branch for the config.

focusaurus commented 1 month ago

Also some way to deal with linux vs mac home directory path with $HOME or ~ would be nice.