Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c8261dc9a | |||
| 3219547c92 |
@@ -48,6 +48,14 @@ Feel free to experiment with it!
|
||||
* [ ] Add interactive configurator for adjusting brightness
|
||||
* [ ] Add configuration to emphasize certain parts of the original ASCII art (to make icons like Fedora and Ubuntu look nicer)
|
||||
|
||||
### 1.0.7
|
||||
|
||||
* Fix: Make config path not on init but when it's actually needed.
|
||||
|
||||
### 1.0.6
|
||||
|
||||
* Remove `hypy_utils` dependency to make packaging easier.
|
||||
|
||||
### 1.0.5
|
||||
|
||||
* Fix terminal emulator detection ([PR #2](https://github.com/hykilpikonna/hyfetch/pull/2))
|
||||
|
||||
+2
-2
@@ -13,8 +13,7 @@ from .presets import PRESETS, ColorProfile
|
||||
from .serializer import json_stringify
|
||||
|
||||
CONFIG_PATH = Path.home() / '.config/hyfetch.json'
|
||||
CONFIG_PATH.parent.mkdir(exist_ok=True, parents=True)
|
||||
VERSION = '1.0.6'
|
||||
VERSION = '1.0.7'
|
||||
|
||||
|
||||
@dataclass
|
||||
@@ -23,6 +22,7 @@ class Config:
|
||||
mode: AnsiMode
|
||||
|
||||
def save(self):
|
||||
CONFIG_PATH.parent.mkdir(exist_ok=True, parents=True)
|
||||
CONFIG_PATH.write_text(json_stringify(self), 'utf-8')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user