Finally making this public. Have not gotten around to a full README yet, but will soon.
An important "feature" to note is koppa, other items you can just poke around.
All files that have the suffix __ are template files that are parsed by koppa.
Template files contain variables to be replaced for the final output file.
It also restarts services so changes happen on the fly (see config).
Basics:
- run
koppa mk allto generate all configs at once, orkoppa mk hypr - a template file must contain
__suffix before the file extension, or end in__if no file extension - a template file will generate a config file with the exact same name, simply
__is removed - generated configs are write protected
- if you want a hidden template file, but not the generated file, add a comment with
koppa:unhideat end of file (see~/.config/environment.dfor an example) %{variable_name}%- is the default syntax for variables"!{variable_name}!"- alternate syntax, aids in not breaking language syntax highlighting in editors- usage is mainly to keep consistent color pallete (vibra16.3 to be published soon)
- color variables are by default in hex, if you want to output them in rgb simply add
--rgbto the variable:%{red}%=ff0000%{red--rgb}%=255, 0, 0
Related koppa files:
~/.local/binfor script~/.local/share/zshfor autocomplete~/.config/koppafor configuration
Lastly, improvements/suggestions welcome for this little script...