Overview
Thetheme-selector script provides an interactive graphical menu using Wofi that allows you to quickly switch between available themes. It acts as a user-friendly frontend to the theme-switcher script.
The theme selector is bound to Super + T by default in Hyprland for quick access.
How It Works
The script presents a Wofi menu with all available themes and passes your selection to the theme-switcher script:- Displays a list of available themes in a Wofi dmenu
- Waits for user selection
- Calls
theme-switcherwith the selected theme - If you press Escape, nothing happens
Complete Script
Script Breakdown
Available Themes
Wofi Menu Display
--dmenu: Runs Wofi in dmenu mode for simple list selection--prompt: Sets the prompt text with an emoji icon--width 250: Sets menu width to 250 pixels--height 350: Sets menu height to 350 pixels
Theme Application
Usage Examples
From Terminal
From Hyprland
The default keybinding is already configured:Integration with Theme Switcher
The theme selector is a lightweight wrapper around the theme-switcher script. When you select a theme:Customization
Adding New Themes
To add a new theme to the selector:- Add the theme configuration files (see Theme Customization)
- Update the
TEMASvariable:
Changing Menu Appearance
Modify the Wofi parameters:Using a Different Menu
Replace Wofi with Rofi or another dmenu alternative:Troubleshooting
Wofi menu doesn't appear
Wofi menu doesn't appear
Theme doesn't change after selection
Theme doesn't change after selection
Verify the theme-switcher script is executable and in your PATH:Make it executable if needed:
Custom theme not showing in menu
Custom theme not showing in menu
Related Scripts
Theme Switcher
The backend script that applies theme changes
Custom Scripts
Learn how to create your own scripts