xsuspender: write all options to config
This commit is contained in:
parent
7c76f4a71f
commit
2029e104d4
|
@ -150,12 +150,16 @@ in
|
||||||
services.xsuspender.iniContent =
|
services.xsuspender.iniContent =
|
||||||
let
|
let
|
||||||
mkSection = values: filterAttrs (_: v: v != null) {
|
mkSection = values: filterAttrs (_: v: v != null) {
|
||||||
|
match_wm_class_contains = values.matchWmClassContains;
|
||||||
|
match_wm_class_group_contains = values.matchWmClassGroupContains;
|
||||||
|
match_wm_name_contains = values.matchWmNameContains;
|
||||||
suspend_delay = values.suspendDelay;
|
suspend_delay = values.suspendDelay;
|
||||||
resume_every = values.resumeEvery;
|
resume_every = values.resumeEvery;
|
||||||
resume_for = values.resumeFor;
|
resume_for = values.resumeFor;
|
||||||
exec_suspend = values.execSuspend;
|
exec_suspend = values.execSuspend;
|
||||||
exec_resume = values.execResume;
|
exec_resume = values.execResume;
|
||||||
send_signals = values.sendSignals;
|
send_signals = values.sendSignals;
|
||||||
|
suspend_subtree_pattern = values.suspendSubtreePattern;
|
||||||
only_on_battery = values.onlyOnBattery;
|
only_on_battery = values.onlyOnBattery;
|
||||||
auto_suspend_on_battery = values.autoSuspendOnBattery;
|
auto_suspend_on_battery = values.autoSuspendOnBattery;
|
||||||
downclock_on_battery = values.downclockOnBattery;
|
downclock_on_battery = values.downclockOnBattery;
|
||||||
|
|
Loading…
Reference in a new issue