$ show LukeSmithxyz/voidrice
This repository, known as voidrice, is a comprehensive collection of personal dotfiles and shell scripts for a minimal, keyboard-driven Linux desktop environment built around suckless tools (dwm, dwmblocks, st). It is deployed via the LARBS installer to transform a fresh Arch Linux install into a highly customized workflow. The codebase consists of configuration files for the window manager, terminal, file manager, media players, notifications, and more, along with dozens of standalone utility scripts in ~/.local/bin/. These scripts handle tasks such as launching applications via dmenu, opening files by MIME type, compiling documents, setting wallpapers, managing mounts, and generating cross-application shortcuts from simple bookmark files. The status bar is modular, with independent scripts for clock, battery, network, music, and other system information. While the repository is tightly coupled to Luke Smith's personal setup and assumes specific software packages, many of the shell scripts exhibit clean, self-contained patterns that can be reused or adapted for other environments. The overall architecture is a federation of independently configured programs rather than a monolithic application.
The LLM identified 4 files worth highlighting for reuse:
A generic file/URL handler that presents options via dmenu. It takes a URL or file path as an argument, shows a list of actions (open, copy, etc.), and executes the chosen action. The script is self-contained, uses standard shell commands, and can be reused in any dmenu-based environment to handle arbitrary inputs.
Opens files or URLs based on their MIME type, determined by the `file` command. It dispatches images to nsxiv, videos to mpv, PDFs to zathura, etc. The pattern of using a case statement on MIME types is clean and extensible, making it reusable for any system that needs to open files in appropriate viewers.
Detects file extension and runs the appropriate compiler or formatter. Supports LaTeX, groff, Markdown (pandoc), C, and more. It is self-contained, requires only standard utilities, and can be extracted into any project that needs automatic compilation of source files based on extension.
Generates shell aliases, vim shortcuts, lf keybindings, and other configuration snippets from simple bookmark files (bm-dirs, bm-files). This demonstrates a non-obvious pattern of creating a single source of truth for common directories and files, then generating bindings for multiple applications. Reusable for any environment that wants consistent shortcuts across tools.