Hyprtheme
works with themes installed at ~/.config/hypr/themes
additional themes can be installed from hyprland-community/theme-repo
theme.toml
this file is required to be present at the root of your theme folder
example toml
[theme]
name = "fancy theme name"
desc = "a very nice theme description"
version = "0.00001"
author = "me!"
git = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
config = "path_to_hyprland_config.conf"
subthemes = ["path_to_subtheme.toml", "oh_another_one.toml"]
default_subtheme = "the theme name present in path_to_subtheme"
[kill]
exclude_bar = ["eww"]
exclude_wallpaper = ["swww"]
note all paths will be relative to your toml file path
sections
kill -> includes exclude_bar
and exclude_wallpaper
these take an array or strings which specify which programs to skip killing when applying this theme
a variable named $THEME_DIR
will be passed to config files that can be used to link to other files inside theme folder
Commands:
- apply
- list
- repo
- list
- install
- util
- kill [-b|--bars] [-w|--wallpaper]
- init [path]
- help
Wiki
https://github.com/hyprland-community/theme-repo/wiki
Install
from git
git clone https://github.com/hyprland-community/hyprtheme
cd hyprtheme
make all
Example
2023-01-10.21-24-01.mp4
a waybar button that switches active theme using hyprtheme
Todo
- better cli
- async requests
- handle dependancies for themes
- aur pkg
- control value of variables in theme
- control which components to enable in theme
- cleanup script
- allow including programs to kill