-
Notifications
You must be signed in to change notification settings - Fork 11
Theming System
Cybersnake edited this page May 6, 2026
·
1 revision
Vicious Viper uses Matugen to generate a full color palette from your current wallpaper using Material You color extraction. This means every time you change your wallpaper, the entire desktop — Waybar, Rofi, Mako, Hyprlock, GTK apps — recolors itself automatically.
- You set a new wallpaper (via
swwwor a custom script) - Matugen reads the wallpaper and extracts dominant colors using the Material You algorithm
- It injects those colors into template files defined in
.config/matugen/ - All configured apps reload with the new palette
Matugen templates are stored in .config/matugen/. Each template maps Material You color variables (e.g., {{colors.primary.default.hex}}) to the target app's config file format.
Use the wallpaper script (installed to ~/.local/bin/scripts/) or set via swww directly:
swww img /path/to/wallpaper.jpg --transition-type grow --transition-pos center
matugen image /path/to/wallpaper.jpgIf colors get out of sync (e.g., after an app config update), regenerate manually:
matugen image ~/.config/hyprwat/current_wallpaper