Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8f84e75

Browse files
committed
docs(configuration): update documentation to include YASB_CONFIG_HOME for custom config directory
1 parent6a2b368 commit8f84e75

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

‎docs/Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The configuration uses the YAML file format and is named`config` or`config.yaml`.
44

5-
Valid directories for this file are`C:/Users/{username}/.config/yasb/`.
5+
Valid directories for this file are`C:/Users/{username}/.config/yasb/` or ENV variable`YASB_CONFIG_HOME` if set.
66
A good starting point is the[default config](https://github.com/amnweb/yasb/blob/main/src/config.yaml).
77

88
All valid options for the widgets are listed on the widgets page.

‎docs/FAQ.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ Required files:
2323
-`config.yaml` - Main configuration
2424
-`styles.css` - Visual styling
2525

26+
###Q: How to set custom configuration directory?
27+
**A:** Set the`YASB_CONFIG_HOME` environment variable to the desired directory path.
28+
2629
###Q: YASB crashes after updating?
2730
**A:** After updates:
2831
- Check release notes for breaking changes

‎docs/Installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ winget install --id AmN.yasb
2121
- Install Python 3.12
2222
- Install required Python Modules:
2323
-`pip install -r requirements.txt`
24-
- Create the directory`C:/Users/{username}/.config/yasb/` and copy[styles.css](https://github.com/amnweb/yasb/blob/main/src/styles.css) and[config.yaml](https://github.com/amnweb/yasb/blob/main/src/config.yaml) into folder. If you don't have the`.config/yasb/` directory, on first run the application will create it for you.
24+
- Create the directory`C:/Users/{username}/.config/yasb/` and copy[styles.css](https://github.com/amnweb/yasb/blob/main/src/styles.css) and[config.yaml](https://github.com/amnweb/yasb/blob/main/src/config.yaml) into folder. If you don't have the`.config/yasb/` directory, on first run the application will create it for you. To use a custom directory, set the`YASB_CONFIG_HOME` environment variable.
2525
- Configure[styles.css](https://github.com/amnweb/yasb/blob/main/src/styles.css) and[config.yaml](https://github.com/amnweb/yasb/blob/main/src/config.yaml) to your liking.
2626
- Start the application:
2727
- run`python src/main.py` in your terminal (or click[yasb.vbs](https://github.com/amnweb/yasb/blob/main/src/yasb.vbs))

‎docs/Styling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Styling is done using the CSS file format and with a file named`styles.css`.
44

5-
Valid directories for this file are`C:/Users/{username}/.config/yasb/` orpath where YASB is Installed. A good starting point is the[default style](https://github.com/amnweb/yasb/blob/main/src/styles.css).
5+
Defaul directories for this file are`C:/Users/{username}/.config/yasb/` orENV variable`YASB_CONFIG_HOME` if set. A good starting point is the[default style](https://github.com/amnweb/yasb/blob/main/src/styles.css).
66

77
##Bar styling
88

‎src/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ QToolTip {
4444
font-size:12px;
4545
color:var(--subtext0);
4646
font-weight:600;
47-
font-family:"JetBrainsMonoNerd Font Propo";
47+
font-family:"JetBrainsMonoNFP";
4848
margin:0;
4949
padding:0;
5050
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp