Simple app to manage font setting by replacing config files.
- Create
setting.yamlin~/.config/mtype.
# example
- app: vs code # Name to display in the log.
src: /home/kyohei/.config/Code/User/settings.json # Path to the config file.
key: ' "editor.fontFamily": ' # Words to detect the font-setting part (should start with these words).
txt: ' "editor.fontFamily": "Berkeley Mono",' # Whole text for replacement. Multiple lines can also be used.- Update
txtlines insetting.yaml. git clonethis repo andcargo run. Or,cargo install --path .andmtype.
At this moment, this program covers only apps whose config file is stored locally (i.e. ~/.config/app).