From 2029e104d45e291cdcc2609893b026362497f4ce Mon Sep 17 00:00:00 2001 From: Andreas Fehn Date: Thu, 4 Jul 2019 13:44:59 +0200 Subject: [PATCH] xsuspender: write all options to config --- modules/services/xsuspender.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/services/xsuspender.nix b/modules/services/xsuspender.nix index 17aaa244..22a5ca53 100644 --- a/modules/services/xsuspender.nix +++ b/modules/services/xsuspender.nix @@ -150,12 +150,16 @@ in services.xsuspender.iniContent = let 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; resume_every = values.resumeEvery; resume_for = values.resumeFor; exec_suspend = values.execSuspend; exec_resume = values.execResume; send_signals = values.sendSignals; + suspend_subtree_pattern = values.suspendSubtreePattern; only_on_battery = values.onlyOnBattery; auto_suspend_on_battery = values.autoSuspendOnBattery; downclock_on_battery = values.downclockOnBattery;