Commit Graph

17 Commits

Author SHA1 Message Date
f86cebad72 [Change] Updated version bump date in README.
[NOTE] Again, this is a test of my script webhook to Discord.
2025-08-22 22:23:50 +01:00
929578cfd2 [Change] Bumped version number in README.
[Note] This commit is just to test my webhook to Discord.
2025-08-22 22:23:50 +01:00
5aec8f04a1 [Add] Support for taking screenshots of specified monitor number.
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.
2025-08-22 22:23:50 +01:00
bf786dfc8f [Add] Added options for some different screenshot tools.
[Change] A bit of housekeeping because I made a mess.
2025-08-22 22:23:50 +01:00
e8d861b8e5 [Add] Ability to use a screenshot tool directly from imgbb with 'imgbb
-s'
2025-08-22 22:23:50 +01:00
c3e4ba4cfb [Added] Added example config file 2025-08-22 22:23:50 +01:00
b76608d53d [Add] Orgmode output 2025-08-22 22:23:50 +01:00
2615557e43 [Remove] Long ass comment atop the imgbb file is obsolute now that we're
using a README.
2025-08-22 22:23:50 +01:00
4a02110b2e [Change] Changed documentation after applying dacav's patches. 2025-08-22 22:23:28 +01:00
dacav
669f5f92f3 Add curl options: -S and -f
-S = show error, very useful with -s
-f = fail on error
2025-08-22 22:21:17 +01:00
dacav
7a776bcf7f Drop unnecessary trap
If we are using a file, the trap is not defined in the first place,
so we don't need to undefined it.
2025-08-22 22:21:17 +01:00
dacav
a114e18fdf Wayland support
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
2025-08-22 22:21:17 +01:00
dacav
e4602aeeec Add 'die' function
Candidate replacement of multiple instances of the same error
handling sequence.
2025-08-22 22:21:17 +01:00
dacav
e8e8080e08 Replace ~/.config/imgbb_uploader/api_key with generic config file
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.
2025-08-22 22:21:17 +01:00
a796d694b2 [Fix] Newline in README 2025-08-22 22:21:17 +01:00
c9596e0a28 [Add] Initial commit. 2025-08-22 22:20:58 +01:00
b1192f2013 Initial commit 2025-04-22 16:27:51 +00:00