e config - make power and suspend things a bit nicer by default

no "are u sure u want to power off" but power button will bring up
syscon whihc is far nicer (select what to do) for power button now
(double press power to power off of course) and lid close now uses the
smart suspend that accounts for lid state etc. as well.
This commit is contained in:
Carsten Haitzler 2019-07-04 22:08:57 +01:00
parent 5f47c52f7c
commit 515b8cd2b5
2 changed files with 6 additions and 6 deletions

View File

@ -37,7 +37,7 @@ group "E_Config_Bindings" struct {
value "context" int: 0;
value "type" int: 6;
value "status" int: -1;
value "action" string: "halt";
value "action" string: "syscon";
}
group "E_Config_Binding_Acpi" struct {
value "context" int: 0;
@ -57,7 +57,7 @@ group "E_Config_Bindings" struct {
value "context" int: 0;
value "type" int: 5;
value "status" int: 1;
value "action" string: "suspend";
value "action" string: "suspend_smart";
value "params" string: "now";
}
group "E_Config_Binding_Acpi" struct {
@ -895,7 +895,7 @@ group "E_Config_Bindings" struct {
value "context" int: 9;
value "modifiers" int: 0;
value "key" string: "XF86PowerOff";
value "action" string: "halt";
value "action" string: "syscon";
value "any_mod" uchar: 0;
}
group "E_Config_Binding_Key" struct {

View File

@ -37,7 +37,7 @@ group "E_Config_Bindings" struct {
value "context" int: 0;
value "type" int: 6;
value "status" int: -1;
value "action" string: "halt";
value "action" string: "syscon";
}
group "E_Config_Binding_Acpi" struct {
value "context" int: 0;
@ -57,7 +57,7 @@ group "E_Config_Bindings" struct {
value "context" int: 0;
value "type" int: 5;
value "status" int: 1;
value "action" string: "suspend";
value "action" string: "suspend_smart";
value "params" string: "now";
}
group "E_Config_Binding_Acpi" struct {
@ -921,7 +921,7 @@ group "E_Config_Bindings" struct {
value "context" int: 9;
value "modifiers" int: 0;
value "key" string: "XF86PowerOff";
value "action" string: "halt";
value "action" string: "syscon";
value "any_mod" uchar: 0;
}
group "E_Config_Binding_Key" struct {