Commit Graph

19 Commits

Author SHA1 Message Date
b3de100aed [Add] Brought documentation up to date with recent changes. This project
is prety much complete now. Have fun with it. Feel free to send patches.
2025-04-27 13:25:51 +01:00
f55e57f083 [Change] Small documentation update.
[Note] This is just another test of my Discord script.
2025-04-27 02:33:23 +01:00
c21b0ac027 [Change] Updated version bump date in README.
[NOTE] Again, this is a test of my script webhook to Discord.
2025-04-27 02:19:56 +01:00
a1096b731f [Change] Bumped version number in README.
[Note] This commit is just to test my webhook to Discord.
2025-04-27 02:17:21 +01:00
a4d90f5e9e [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-04-26 00:32:42 +01:00
b4ff80b9d0 [Add] Added options for some different screenshot tools.
[Change] A bit of housekeeping because I made a mess.
2025-04-25 22:52:32 +01:00
a89ce0b2c4 [Add] Ability to use a screenshot tool directly from imgbb with 'imgbb
-s'
2025-04-25 21:48:38 +01:00
668cb93a38 [Added] Added example config file 2025-04-25 19:39:47 +01:00
12860165dc [Add] Orgmode output 2025-04-23 20:22:47 +01:00
38890a4da5 [Remove] Long ass comment atop the imgbb file is obsolute now that we're
using a README.
2025-04-23 00:33:35 +01:00
5a59ee60f3 [Change] Changed documentation after applying dacav's patches. 2025-04-22 23:49:15 +01:00
dacav
034d4a58d5 Add curl options: -S and -f
-S = show error, very useful with -s
-f = fail on error
2025-04-22 22:54:56 +01:00
dacav
0cff8e7c41 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-04-22 22:54:56 +01:00
dacav
86fbb6daba 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-04-22 22:54:56 +01:00
dacav
da20b17526 Add 'die' function
Candidate replacement of multiple instances of the same error
handling sequence.
2025-04-22 22:54:56 +01:00
dacav
14c467a764 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-04-22 22:54:56 +01:00
2cce3dca23 [Fix] Newline in README 2025-04-22 18:00:31 +01:00
af1f264789 [Add] Initial commit. 2025-04-22 17:58:11 +01:00
b1192f2013 Initial commit 2025-04-22 16:27:51 +00:00