Update src folder
This commit is contained in:
parent
12bea24783
commit
2cc7c87cc5
@ -27,7 +27,7 @@ poetry install
|
|||||||
# Run
|
# Run
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
poetry run python3 alert_battery_to_maintain_health/__init__.py
|
poetry run python3 src
|
||||||
```
|
```
|
||||||
|
|
||||||
# Cron
|
# Cron
|
||||||
@ -39,5 +39,5 @@ crontab -e
|
|||||||
Add the following:
|
Add the following:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
* * * * * cd [absolute path folder] && poetry run python3 alert_battery_to_maintain_health/__init__.py
|
* * * * * 'cd [absolute path folder] && poetry run python3 src'
|
||||||
```
|
```
|
||||||
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.2 KiB |
@ -16,7 +16,7 @@ PATH_FILE_NAME_TEMP = os.path.join(gettempdir(), FILE_NAME_TEMP)
|
|||||||
NOTIFICATION = Notify(
|
NOTIFICATION = Notify(
|
||||||
default_notification_title="Alert battery",
|
default_notification_title="Alert battery",
|
||||||
default_application_name="Alert battery",
|
default_application_name="Alert battery",
|
||||||
default_notification_icon=os.path.abspath("alert_battery_to_maintain_health/icons/battery-status.png"),
|
default_notification_icon=os.path.abspath("icons/battery-status.png"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user