MCPcopy Index your code
hub / github.com/bjarneo/tema

github.com/bjarneo/tema @v2.1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.1.1 ↗ · + Follow
191 symbols 438 edges 8 files 20 documented · 10%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Looking for maintainers. I simply do not have time to work on this project.

Tema

Wallpaper-based theme generator for Hyprland/Omarchy. Extracts colors from wallpapers using ImageMagick and applies them system-wide.

Install

yay -S tema-git

Dependencies: gjs gtk4 libadwaita imagemagick

Usage

  1. Add wallpapers to ~/Wallpapers/
  2. Launch Tema
  3. Select a wallpaper → choose Dark/Light
  4. Done. Theme applied.

Shortcuts

Key Action
hjkl / Arrows Navigate
Enter Apply wallpaper
e Eject as standalone theme
? Settings
q Quit

Hyprland Keybind

# ~/.config/hypr/bindings.conf
bindd = SUPER SHIFT, T, Tema, exec, uwsm app -- tema

Supported Apps

Generates configs for: Alacritty, Kitty, Ghostty, Waybar, Hyprland, Hyprlock, Mako, Wofi, Walker, btop, SwayOSD, GTK, Neovim (aether.nvim), Warp, Chromium, Firefox (requires pywalfox firefox extension and python-pywalfox)

Pywalfox Setup (requires python3)

  1. Install the pywalfox extension in your firefox instance.
  2. Install pywalfox package using pip.
pip install pywalfox
pywalfox install

Theme Ejection

Press e to export any wallpaper as a complete standalone Omarchy theme package.

Troubleshooting

# ImageMagick not found
sudo pacman -S imagemagick

# Clear thumbnail cache
rm -rf ~/.cache/tema

License

MIT

Core symbols most depended-on inside this repo

getColorHSL
called by 25
src/services/ColorExtractor.js
hslToHex
called by 18
src/services/ColorExtractor.js
hexToRgb
called by 17
src/utils/ColorUtils.js
hslToHex
called by 8
src/utils/ColorUtils.js
rgbToHsl
called by 7
src/utils/ColorUtils.js
showError
called by 7
src/utils/DialogManager.js
generateBrightVersion
called by 7
src/services/ColorExtractor.js
_generateWithPixbuf
called by 4
src/components/ThumbnailManager.js

Shape

Method 111
Function 68
Class 12

Languages

TypeScript100%

Modules by API surface

src/services/ColorExtractor.js43 symbols
src/services/ThemeGenerator.js33 symbols
src/main.js26 symbols
src/utils/ColorUtils.js25 symbols
src/components/ThumbnailManager.js22 symbols
src/utils/DialogManager.js16 symbols
src/services/WallpaperManager.js16 symbols
src/services/TemaTheming.js10 symbols

For agents

$ claude mcp add tema \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact