Notes:
1) Only works with scrot currently.
2) Defining monitor_num in config overrides default operation of
uploading image in clipboard.
3) --monitor (-M) option will override selected display in config.
The clipboard= configuration file determines what clipboard manager should be
used, if xclip or wl-copy/wl-paste. The variable defaults to the value of
XDG_SESSION_TYPE which is considered a reliable method to determine what
graphical session is currently being used[1]
[1] https://unix.stackexchange.com/a/355476
The configuration is stored under ~/.config/imgbb_uploader.conf.
The file is simply sourced, so the configuration file can be
a shell script. It just needs to assign the required variables.