gscripts/Readme.md
Robert Morrison abcbdcd550
feat(PullPix): Add PullPix
Introducing PullPix a script I wrote to take images off of a Mavica
Floppy disk cameras floppy disk. Although technically it will pull all
the images from any directory tree.
2024-08-16 02:14:43 +01:00

2.3 KiB

GScripts

A set of scripts which I use in my current Gentoo system, all are installed through portage and of course are tested to work on my system and my system alone. Where possible I only use dependencies available in the main Gentoo repo and each script has the dependencies listed.

All scripts are licensed under the MIT (Expat) License (for more information on why I give two names for one license please see what the GNU project has to say on the matter) I intentionally use the term MIT license as that is the accepted SPDX license identifier.

Coming Eventually: A portage repo that contains my ebuilds (where I am certain of the accuracy of the license data).

Where scripts have configuration all environment variables are pseudo-namespaced by $GScripts_<OPTION>

The Scripts

WallChooser

A simple script that lets you pick a new wallpaper, it automatically runs all the required steps to generate a new pywal theme and set the wallpaper using swww

Requirements

  • fzf
  • swww
  • wal
  • bemenu

BarRunner

A tool to run waybar, Automatically restarting the bar if any of the required config files are changed. NOTE: This tool is very much designed around my system and will likely fail to operate properly for you. It is designed with special handling for different compositors. And compatibility with pywal

Arguments

  • $1 The name of the compositor
  • $2 Use pywal? (y|Y|yes triggers pywal support)

Requirements

  • waybar
  • inotifywait

blogv

A simple and naive script to read build log entries. Really just a bunch of pipes in a shellscript file so it has a name. Heavily depends on portage build logs being done in a specific way

## Portage logging
PORTAGE_ELOG_CLASSES="info warn error log qa"
PORTAGE_ELOG_SYSTEM="echo save"
PORTAGE_LOGDIR="/var/log/portage"
PORTAGE_LOG_FILTER_FILE_CMD="bash -c \"ansifilter; exec cat\""
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +30 -delete"
## Change some features
FEATURES="clean-logs \
split-elog \
split-log "

Requirements

  • fzf
  • xargs
  • bat

PullPix

A simple CLI way to get images from a mounted camera to your computer. Functionality is still not set in stone. But it works as is.

Requirements

  • file
  • fzf