This is a collection of Bash scripts that I use on Linux.
- 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
.shextension. - 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.
| Script | Description |
|---|---|
| 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. |
| Script | Description |
|---|---|
| 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. |
See the Sway Window Manager Scripts README for more information.
| Script | Description |
|---|---|
| gammatoggle.sh | Toggles Gammastep (blue light filter) on and off. |
| libremute.sh | Toggles mute/unmute for a specific application using PulseAudio. |
| move-workspace-next.sh | Moves the focused workspace to the next workspace in sequence. |
| move-workspace-prev.sh | Moves the focused workspace to the previous workspace in sequence. |
| swayshot.sh | Takes a screenshot of a selected area, saves it with a timestamp, and copies it to the clipboard. |
| nameshot.sh | Similar to swayshot but allows for custom filename specification. |
See the Thunar Custom Actions README for more information.
| Script | Description |
|---|---|
| thunar-bak.sh | Creates a timestamped backup of a file or directory. Filemanager version of bak. |
| thunar-mp3oncat.sh | Concatenates multiple audio files into a single file. |
| thunar-swapname.sh | Swaps the names of two selected files or folders. |
| thunar-verify256.sh | Verifies the SHA256 checksum of a file. Filemanager version of verify256. |
See the Obsidian Scripts README for more information.
| Script | Description |
|---|---|
| todo | Add todo items to a markdown table with support for urgency levels and status flags. |
| obsidian_todo.sh | Adds new todo items to a markdown table. See todo for more information. |
| shoplist.sh | Quickly adds items to your Obsidian shopping list as unchecked tasks. |
| copyspace.sh | Appends selected text to an Obsidian copyspace file (or any other file) with a notification. |
MIT License. See the LICENSE file for details.