diff options
| author | Pavel Egorov <[email protected]> | 2025-12-19 07:53:19 +0300 |
|---|---|---|
| committer | Pavel Egorov <[email protected]> | 2025-12-19 07:53:19 +0300 |
| commit | c06272e8c712dd57b0f4aa6f6583d8c2ee379d2d (patch) | |
| tree | 099937d45a9176a51f7a6d7a30e5b1e63e60477a /.config/fastfetch | |
| parent | 6e69f5579120c046f435f1be97fa74d765a0f201 (diff) | |
| download | dotfiles-c06272e8c712dd57b0f4aa6f6583d8c2ee379d2d.tar.gz dotfiles-c06272e8c712dd57b0f4aa6f6583d8c2ee379d2d.zip | |
[fastfetch] pretty print json into config file
Diffstat (limited to '')
| -rw-r--r-- | .config/fastfetch/confgen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/fastfetch/confgen.py b/.config/fastfetch/confgen.py index 4fc2916..d0a3cc2 100644 --- a/.config/fastfetch/confgen.py +++ b/.config/fastfetch/confgen.py | |||
| @@ -316,7 +316,7 @@ def main(): | |||
| 316 | final_config = build_config(filtered_roots) | 316 | final_config = build_config(filtered_roots) |
| 317 | fastfetch_config = Path.home() / ".config" / "fastfetch" / "config_generated.jsonc" | 317 | fastfetch_config = Path.home() / ".config" / "fastfetch" / "config_generated.jsonc" |
| 318 | with open(fastfetch_config, "w") as config_file: | 318 | with open(fastfetch_config, "w") as config_file: |
| 319 | json.dump(final_config, config_file) | 319 | json.dump(final_config, config_file, indent=2) |
| 320 | 320 | ||
| 321 | 321 | ||
| 322 | if __name__ == "__main__": | 322 | if __name__ == "__main__": |
