Add requirements

This commit is contained in:
Andros Fenollosa 2021-09-02 13:43:58 +02:00
parent 80683aee66
commit aace45581d
2 changed files with 6 additions and 3 deletions

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
notify-py==0.3.3
psutil==5.8.0

View File

@ -13,10 +13,11 @@ LIMIT_BELOW_BATTERY = 15
MESSAGE_LIMIT_BELOW_BATTERY = "Connect your charger"
FILE_NAME_TEMP = "alert_battery_to_maintain_health"
PATH_FILE_NAME_TEMP = os.path.join(gettempdir(), FILE_NAME_TEMP)
NOTIFICATION_PATH_ICON = os.path.abspath(os.path.join(__file__, "..", ".." ,"icons/battery-status.png"))
NOTIFICATION = Notify(
default_notification_title="Alert battery",
default_application_name="Alert battery",
default_notification_icon=os.path.abspath("icons/battery-status.png"),
default_notification_title="Alert battery",
default_application_name="Alert battery",
default_notification_icon=NOTIFICATION_PATH_ICON,
)