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.
Steven Saus 7ae65b5ca2 Updated with -x flag for GUI reader 2 months ago
LICENSE Initial commit 5 years ago
PS1_functions Added ps1 helper functions, started with myman 4 years ago
README.md Updated readme with link to blog for patreon converter script 4 months ago
book_search_preview.sh Updated with -x flag for GUI reader 2 months ago
books_search.sh Updated with -x flag for GUI reader 2 months ago
briefing.sh Added copy image and tmux scripts 4 years ago
clipimg.sh adding some more stuff, mostly working 4 months ago
cont-stop.sh Starting on start/stop/pause script 4 years ago
convert_patreon_downloader_files.sh Added script to convert downloaded Patreon works 4 months ago
isobash Added isobash 2 years ago
joplin_search.sh Added bespoke quick joplin search and updated vbox helper 3 years ago
kpf.sh Should report out TOTP, though I don't know a way to get remaining time 3 years ago
lowload.sh kpf added as a utility script 3 years ago
mu-search.sh Added ytube and mu-search 4 years ago
openaudible_to_audiobookshelf.sh adding some more stuff, mostly working 4 months ago
patootie.sh Whoops, fixed an error 4 months ago
patootie_1.jpg updating readme 4 months ago
patootie_2.jpg updating readme 4 months ago
pulse-fzf-autoconf Fixed a typo, added OB menu 2 years ago
sbagen_select.sh Tweaks 2 years ago
set-xwindow-icon-by-pid.sh Added sxibp 3 years ago
sr-dot-sh.gif cleaned up video filenames, sr-dot-sh example gif 4 years ago
sr.sh Fixed issue with sr recursively calling itself 4 years ago
ss_to_clipboards.sh Added to clipboard function/file 2 years ago
swap_ncmpcpp kpf added as a utility script 3 years ago
topcpu.sh swapped uniq for AWK array 3 years ago
topmem.sh swapped uniq for AWK array 3 years ago
video-fzf-config Added to clipboard function/file 2 years ago
virtualbox-openbox.sh adding some more stuff, mostly working 4 months ago
yad-todo.png Added image example 2 years ago
yad-todo.sh Fixed formatting error with date 2 years ago
ytube Added in headers for files 4 years ago

README.md

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