launcher/sys.py/config.py
2018-07-05 12:30:26 +08:00

30 lines
646 B
Python

# -*- coding: utf-8 -*-
CurKeySet = "GameShell" ## >>> PC or GameShell <<<
DontLeave = False
BackLight = "/proc/driver/backlight"
Battery = "/sys/class/power_supply/axp20x-battery/uevent"
MPD_socket = "/tmp/mpd.socket"
UPDATE_URL="https://raw.githubusercontent.com/clockworkpi/CPI/master/launcher_ver.json"
VERSION="stable 1.0"
SKIN="default"
## three timer values in seconds: dim screen, close screen,PowerOff
## zero means no action
PowerLevels = {}
PowerLevels["supersaving"] = [10,15,20]
PowerLevels["powersaving"] = [40,120,300]
PowerLevels["balance_saving"] = [40,0,0]
PowerLevel = "balance_saving"
##sys.py/.powerlevel