Skip to main content
All custom commands are located in ~/dotfiles/bin/ and symlinked to ~/.local/bin/ for system-wide access.

Core Commands

CommandDescriptionUsage
updateSystem-wide update utility for packages and toolsupdate or update --all
stotStow wrapper for easier dotfile managementstot [OPTIONS] SOURCE [DEST]
PATHDisplay $PATH environment variable in readable formatPATH
colorTerminal color test utility showing all ANSI color combinationscolor
passGenerate a secure 42-character random passwordpass
radioInteractive internet radio player using mpvradio

Development Commands

CommandDescriptionUsage
cclCompile and run C programsccl filename.c
cclpCompile and run C++ programs with standard librarycclp filename.cpp
git-remoteAdd remote origin and push to main branchgit-remote <url>
gpt-importImport GPG keys from keyservergpt-import <key-id>

i3 Window Manager Commands

CommandDescriptionUsage
i3-layout-saveSave current i3 workspace layout to JSONi3-layout-save <workspace> [filename]
i3loadLoad saved i3 workspace layouti3load <workspace> [filename]

System Utilities

CommandDescriptionUsage
systemctl-enableEnable and restart systemd service with status displaysystemctl-enable <service-name>
wallpaperSet animated video wallpapers on dual monitorswallpaper <video-file>
wallpaper-convertConvert MP4 videos to WebM format for wallpaperswallpaper-convert <filename>
notify-testTest notification system with multiple notificationsnotify-test

Helper Commands

CommandDescriptionUsage
echo_separatePrint a formatted section header with separator lineecho_separate "Section Title"
hdlnCreate symbolic link for directoryhdln <source> <destination>

Detailed Command Documentation

Updates multiple package managers and tools in sequence.
#!/usr/bin/env zsh
update          # Standard update
update --all    # Includes VS Code Insiders build
Updates:
  • yay (AUR helper)
  • tldr (man page alternative)
  • zinit (Zsh plugin manager)
  • Optional: VS Code Insiders (with --all flag)
Source: bin/update
Displays the $PATH environment variable with each directory on a new line for better readability.
PATH
Output Example:
/usr/local/bin
/usr/bin
/bin
~/.local/bin
Implementation:
echo -e ${PATH//:/\\n}
Source: bin/PATH
Displays a comprehensive matrix of all ANSI color combinations for terminal testing.
color
Shows foreground and background color combinations with:
  • Normal and bold text
  • 8 background colors (40m-47m)
  • 16 foreground variations
Source: bin/color
Generates a cryptographically secure 42-character random password and copies it to clipboard.
pass
Character Set: 0-9a-zA-ZOutput: Password is copied to clipboard using xsel and displayed in terminal.Implementation:
</dev/urandom tr -dc '0-9a-zA-Z' | head -c42
Source: bin/pass
Interactive menu-driven internet radio player using mpv.
radio
Features:
  • Arrow key navigation
  • Pre-configured radio stations
  • Direct streaming via mpv
  • No caching for live playback
Included Stations (Rio de Janeiro):
  • 95.7 - SulAmérica Paradiso
  • 99.9 - JB FM
  • 102.1 - Mix FM
  • 102.9 - Jovem Pan
Source: bin/radio
Quick compile and execute commands for C and C++ programs.
ccl program.c      # Compile and run C program
cclp program.cpp   # Compile and run C++ program
ccl (C):
gcc filename.c -o filename && ./filename
cclp (C++):
gcc filename.cpp -o filename -lstdc++ && ./filename
Source: bin/ccl, bin/cclp
Save and restore i3 workspace layouts for consistent window arrangements.
i3-layout-save <workspace-number> [layout-name]
i3load <workspace-number> [layout-name]
Examples:
i3-layout-save 1 dev        # Save workspace 1 as 'dev'
i3load 1 dev                # Load 'dev' layout to workspace 1
i3-layout-save 2            # Save workspace 2 with number as name
Save Location: ~/dotfiles/.config/i3layouts/Source: bin/i3-layout-save, bin/i3load
Set looping video wallpapers on dual monitors using xwinwrap and mpv.
wallpaper /path/to/video.mp4
Features:
  • Dual monitor support (1920x1080 each)
  • Automatic loop
  • No audio playback
  • Kills existing wallpaper instances
Monitor Configuration:
  • Monitor 1: 1920x1080+0+0
  • Monitor 2: 1920x1080+1920+0
Companion Command: Use wallpaper-convert to optimize videos for wallpaper use.Source: bin/wallpaper
Quickly enable, restart, and check status of systemd services.
systemctl-enable <service-name>
Actions Performed:
  1. Clears terminal
  2. Displays formatted header
  3. Enables service
  4. Restarts service
  5. Waits 3 seconds
  6. Shows service status
Example:
systemctl-enable nginx
Source: bin/systemctl-enable

Installation

All commands are automatically symlinked during the dotfiles sync process:
stot -l bin .local/bin
This creates symbolic links from ~/dotfiles/bin/* to ~/.local/bin/.

Build docs developers (and LLMs) love