Home-manager links to flameshot.example.ini for more options, but saveLastRegion isn’t listed there.
To find it, I installed flameshot without the flameshot.settings attribute, changed it manually in the program and then examined the config file under ~/.config/flameshot/flameshot.ini.
In cases like this, it’s generally better to configure the program normally and when you’re comfortable with the results, you can then transform it into a nix expression.
oh great. thanks for this.
I did try your process but neglected to add without the flameshot.settings attribute.
Thank you, should be good after a reboot now
[das@t14:~]$ flameshot
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[das@t14:~]$ QT_QPA_PLATFORM=wayland flameshot
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
^C
[das@t14:~]$ export QT_QPA_PLATFORM=wayland
[das@t14:~]$ env | grep way
XDG_SESSION_TYPE=wayland
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.MVGMR2
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.Shell@wayland.service/memory.pressure
WAYLAND_DISPLAY=wayland-0
QT_QPA_PLATFORM=wayland
[das@t14:~]$ flameshot
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.