diff --git a/README.md b/README.md index 6a64e40..a6c95f5 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,20 @@ A simple script using zenity and pkexec to allow for interactive mounting of ISO Scripts for moving and manipulating video and pulse streams easily. See https://ideatrash.net/2022/02/manipulating-audio-and-video-streams-for-streaming-on-linux.html +# patootie.sh + + Because sometimes you want a GUI *and* the speed of a command line, and just want to say something stupid on Mastodon without firing up a browser or Sengi or grabbing your phone, or or or... + + Uses [YAD](https://sourceforge.net/projects/yad-dialog/) and [toot](https://toot.bezdomni.net/) to have a GUI for sending a quick toot (with possible + image attachments, content warnings, and alt text. Includes interactive image selector and *displaying* the image while you are presented with a dialogue box to enter alt text. + + Patootie uses the environment variable TOOTACCT to specify the tooting account otherwise it uses whichever one is currently active in toot. + + You may specify the full path to an image file as the first (and only) command-line variable to "pre-load" the image attachment portion of the script. + +![patootie first dialogue box](https://raw.githubusercontent.com/uriel1998/multiple_scripts/master/patootie_1.jpg) + +![patootie alt text dialogue box](https://raw.githubusercontent.com/uriel1998/multiple_scripts/master/patootie_2.jpg) ## yad-todo.sh @@ -94,16 +108,7 @@ are *not* lumped together, but are treated as separate commands. #joplin_search -#patootie - - Patootie - Using YAD and toot to have a GUI for sending a quick toot (with possible - images, content warnings, etc) - YAD = https://sourceforge.net/projects/yad-dialog/ - toot = https://toot.bezdomni.net/ - Patootie uses the environment variable TOOTACCT to specify the tooting account - otherwise it uses whichever one is currently active in toot. diff --git a/patootie.sh b/patootie.sh index 870449c..4018da7 100755 --- a/patootie.sh +++ b/patootie.sh @@ -16,7 +16,6 @@ # otherwise it uses whichever one is currently active in toot. # If an argument is passed, it is assumed to be the image file to attach. -# TODO - test with spaces for this - do I need to mess with IFS here as well? Need_Image="" IMAGE_FILE="" diff --git a/patootie_1.jpg b/patootie_1.jpg new file mode 100644 index 0000000..163d5e3 Binary files /dev/null and b/patootie_1.jpg differ diff --git a/patootie_2.jpg b/patootie_2.jpg new file mode 100644 index 0000000..48fad44 Binary files /dev/null and b/patootie_2.jpg differ