summaryrefslogtreecommitdiff
path: root/src/login/logind-gperf.gperf
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-12-23 22:32:48 +0100
committerLennart Poettering <lennart@poettering.net>2012-12-24 00:29:40 +0100
commit23406ce58aa7142e8df3c5c9e5ac34a01e90e3e0 (patch)
tree5175b16d46a7dfe59afaf2c8dd85f1b4081f7979 /src/login/logind-gperf.gperf
parent0ad1271f564b9c956685938167f7ea8c301e835e (diff)
logind: add support for automatic suspend/hibernate/shutdown on idle
Diffstat (limited to 'src/login/logind-gperf.gperf')
-rw-r--r--src/login/logind-gperf.gperf10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/login/logind-gperf.gperf b/src/login/logind-gperf.gperf
index 1bd1b285d8..076d116161 100644
--- a/src/login/logind-gperf.gperf
+++ b/src/login/logind-gperf.gperf
@@ -22,11 +22,13 @@ Login.KillExcludeUsers, config_parse_strv, 0, offsetof(Manag
Login.Controllers, config_parse_strv, 0, offsetof(Manager, controllers)
Login.ResetControllers, config_parse_strv, 0, offsetof(Manager, reset_controllers)
Login.InhibitDelayMaxSec, config_parse_usec, 0, offsetof(Manager, inhibit_delay_max)
-Login.HandlePowerKey, config_parse_handle_button, 0, offsetof(Manager, handle_power_key)
-Login.HandleSuspendKey, config_parse_handle_button, 0, offsetof(Manager, handle_suspend_key)
-Login.HandleHibernateKey, config_parse_handle_button, 0, offsetof(Manager, handle_hibernate_key)
-Login.HandleLidSwitch, config_parse_handle_button, 0, offsetof(Manager, handle_lid_switch)
+Login.HandlePowerKey, config_parse_handle_action, 0, offsetof(Manager, handle_power_key)
+Login.HandleSuspendKey, config_parse_handle_action, 0, offsetof(Manager, handle_suspend_key)
+Login.HandleHibernateKey, config_parse_handle_action, 0, offsetof(Manager, handle_hibernate_key)
+Login.HandleLidSwitch, config_parse_handle_action, 0, offsetof(Manager, handle_lid_switch)
Login.PowerKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, power_key_ignore_inhibited)
Login.SuspendKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, suspend_key_ignore_inhibited)
Login.HibernateKeyIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, hibernate_key_ignore_inhibited)
Login.LidSwitchIgnoreInhibited, config_parse_bool, 0, offsetof(Manager, lid_switch_ignore_inhibited)
+Login.IdleAction, config_parse_handle_action, 0, offsetof(Manager, idle_action)
+Login.IdleActionSec, config_parse_usec, 0, offsetof(Manager, idle_action_usec)