A simple, efficient theme manager for Rofi with bash completion support.
The install docs were written primarily by an AI, as I don't have time to do it from scratch. While they do seem fine at first glance there might be issues in it.
- Theme Switching: Easily switch between available Rofi themes
- Theme Navigation: Cycle through themes with
nextandprevcommands - Theme Listing: View all available themes with the
listcommand - Current Theme: Check which theme is currently active
- Bash Completion: Tab completion for commands and theme names
- Clean Interface: Simple command-line interface with helpful messages
Usage: rofi-theme-manager [COMMAND] [THEME_NAME]
Options:
-h, --help Show this help message
Commands:
list List all available themes
current Show current theme
next Switch to next theme
prev Switch to previous theme
set, switch THEME Switch to specific theme
themes List all themes (machine-friendly format for completion)
Examples:
rofi-theme-manager list
rofi-theme-manager current
rofi-theme-manager next
rofi-theme-manager prev
rofi-theme-manager set arthur
rofi-theme-manager switch arthur
- Add the following to your NixOS configuration file (typically
/etc/nixos/configuration.nix):
{ config, pkgs, ... }:
let
custom_packages = import /path/to/custom_packages.nix { inherit config pkgs; };
in
{
# Import the rofi-theme-manager configuration
imports = [ custom_packages ];
# Make sure Rofi is installed (if not already)
environment.systemPackages = with pkgs; [
rofi
];
# Enable bash completion
programs.bash.completion.enable = true;
}- Place the
custom_packages.nixfile in the specified location - Rebuild your NixOS configuration:
sudo nixos-rebuild switchTODO: Add instructions for using the package with flakes
TODO: Add instructions for installing on Ubuntu/Debian systems
The Rofi Theme Manager stores:
- Current theme in
~/.config/rofi/current_theme - Rofi configuration in
~/.config/rofi/config.rasi
These files are created automatically when you set a theme.
The package comes bundled with the Rofi Themes Collection, which provides a variety of visually appealing themes.
Set a specific theme:
rofi-theme-manager set arthurCycle to the next theme:
rofi-theme-manager nextSee which theme is currently active:
rofi-theme-manager currentList all available themes:
rofi-theme-manager list