mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-09-06 05:24:36 +02:00
main_screen
remove all DBUS handler,and in related plugins wifi use wpa-connect to do the connecting / scanning , use wpa_cli to do disconnect
This commit is contained in:
@@ -9,8 +9,8 @@ type PowerLevel struct {
|
||||
var PowerLevels map[string]*PowerLevel
|
||||
|
||||
var (
|
||||
//CurKeySet = "PC" // PC or GameShell
|
||||
CurKeySet = "GameShell"
|
||||
CurKeySet = "PC" // PC or GameShell
|
||||
//CurKeySet = "GameShell"
|
||||
DontLeave = false
|
||||
BackLight = "/proc/driver/backlight"
|
||||
Battery = "/sys/class/power_supply/axp20x-battery/uevent"
|
||||
@@ -25,13 +25,13 @@ var (
|
||||
//load from dot files
|
||||
CurPowerLevel= "performance"
|
||||
Lang = "English"
|
||||
WifiDev = "wlan0"
|
||||
//WifiDev = "wlan0"
|
||||
WifiDev = "wlp5s0"
|
||||
|
||||
|
||||
)
|
||||
|
||||
|
||||
|
||||
func init() {
|
||||
if PowerLevels == nil {
|
||||
PowerLevels = make(map[string]*PowerLevel)
|
||||
|
||||
Reference in New Issue
Block a user