This is a collection of Bash scripts that I use on Linux. Hosted on GitHub, see the repository here .

  • For configuration information and a list of required dependencies, be sure to check the README files associated with each script.
  • Scripts executed from the command line do not have an extension. Scripts executed by hotkeys and graphical applications have a .sh extension.
  • Most scripts rely on functions defined in my .bash_functions file, especially for error handling and debugging. I have tried to include the required functions in each script, and information about any optional functions in the script’s README.

General Purpose Scripts

  • agent
    User-friendly wrapper for the age encryption tool.

  • cpicker
    Terminal color picker utility for Wayland.

  • photo-rename
    Renames photos based on their location metadata.

  • playnow
    Searches (locally) for a song and plays it in a new window with mpv.

  • terminal-header.sh
    A simple script that displays information in the terminal.

  • verify256
    User-friendly script to quickly verify SHA256 checksums.


Scripts that backup stuff

  • bak
    Creates a timestamped copy of a file or directory with various options.

  • bakcloud
    Backs up files to cloud storage using rclone.

  • bakhome
    Backs up the home directory to an external drive using rsync.


Scripts for Sway Window Manager

See the Sway Window Manager Scripts README for more information.


Thunar Custom Actions

See the Thunar Custom Actions README for more information.


Scripts that add content to Markdown files (for Obsidian)

See the Obsidian Scripts README for more information.

  • todo
    A command-line tool for managing todo list entries in markdown table format with urgency level and status tracking.

  • obsidian_todo.sh
    Adds new todo items to a markdown table. See todo for more information.

  • copyspace.sh
    Appends selected text to an Obsidian copyspace file (or any other file) with a notification.

  • shoplist.sh
    Quickly adds items to your Obsidian shopping list as unchecked tasks.


License

Scripts are licensed under the MIT License. See the LICENSE file on GitHub for details.