Moved sensor settings to separate file
This commit is contained in:
parent
058a52961d
commit
8add6f634c
2 changed files with 20 additions and 13 deletions
|
|
@ -4,19 +4,7 @@ import json
|
|||
import re
|
||||
|
||||
from functions.tmux import *
|
||||
|
||||
|
||||
# STATIC VARIABLES
|
||||
TEMP_LIMITS = {
|
||||
'GREEN': 60,
|
||||
'YELLOW': 70,
|
||||
'ORANGE': 80,
|
||||
'RED': 90,
|
||||
}
|
||||
|
||||
|
||||
# REGEX
|
||||
REGEX_COLORS = re.compile(r'\033\[\d+;?1?m')
|
||||
from settings.sensors import *
|
||||
|
||||
|
||||
# Error Classes
|
||||
|
|
|
|||
19
.bin/Scripts/settings/sensors.py
Normal file
19
.bin/Scripts/settings/sensors.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Wizard Kit: Settings - Sensors
|
||||
|
||||
# General
|
||||
TEMP_LIMITS = {
|
||||
'GREEN': 60,
|
||||
'YELLOW': 70,
|
||||
'ORANGE': 80,
|
||||
'RED': 90,
|
||||
}
|
||||
|
||||
|
||||
# Regex
|
||||
REGEX_COLORS = re.compile(r'\033\[\d+;?1?m')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
print("This file is not meant to be called directly.")
|
||||
|
||||
# vim: sts=2 sw=2 ts=2
|
||||
Loading…
Reference in a new issue