Multiple scripts that are useful but don't deserve their own repository.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
multiple_scripts/README.md

4.5 KiB

multiple_scripts

Multiple scripts that are useful but don't deserve their own repository.

This is often a repository when I work on small ideas until they're big enough to deserve thier own repo and README. This readme may very well be outdated or inaccurate!

convert_patreon_downloader_files.sh

See this post on my blog for a full description of how to use this script.

isobash

A simple script using zenity and pkexec to allow for interactive mounting of ISO files with a GUI interface.

video-fzf-config and pulse-fzf-autoconf

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 and toot 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

patootie alt text dialogue box

yad-todo.sh

Uses yad to present a simple GUI for adding entries to todo.txt file. See the yad-todo.png file for what it might look like. If the program is not running, ensure that it is getting the todo.txt file passed to it!

kpf.sh

Uses fd, fzf, and keepassxc-cli to provide a quick and easy way to retrieve passwords from the command line. By default copies the password to the clipboard. If you don't want to type your password (or select your database location) every time, you can set them as environment variables.

See this post for details.

set-xwindow-icon-by-pid.sh

Does exactly what it says on the tin. $1 is the string to search, $2 is the path to the icon file

sr.sh

A transparent wrapper for surfraw that utilizes fzf https://terminalizer.com/view/4d1fd3b34309

ytube.sh

A wrapper for youtube-dl to make easier (and automate) some things.

clipimg.sh

Uses fzf, rofi, fd (optional), and xclip to choose an image, get it onto the clipboard, and select it for pasting. Works for JPG and PNG, does NOT work for GIF, sadly.

tmux_devour.sh

Launch a process in a new pane, zoom the pane, kill the pane when done.

tmux_sidebar.sh

Create a sidebar (e.g. for reading manpages) and kill when done.

tmux_topbar.sh

Create a vertical split and kill when done.

briefing.sh

Used along with Podfox to create a daily briefing without involving Google or Amazon or Apple. The post detailing this is at ideatrash.

virtualbox-openbox

To dynamically create a list of virtualbox VM's (and allow you to run them) as an OpenBox pipe menu

topmem.sh and topcpu.sh

While these aren't exactly speedy or optimized, they do what I want; they show me the top five memory using (or CPU using, respectively) commands. That is, it lumps all vivaldi-bin or firefox-bin processes together before doing the calculation and sort. That way I can see what commands are eating up everything.

A small note - processes from bash, python, and java (at present) are not excluded, but the command they're running is what is counted. So for example, these three commands:

/usr/bin/python /usr/share/kupfer/kupfer.py --no-splash
/usr/bin/python /usr/bin/autokey-gtk
/usr/bin/python /usr/bin/dstat -c -C 0,1,total -d -s -n -y -r

are not lumped together, but are treated as separate commands.

#books_search

#joplin_search