diff options
author | Mattias Eriksson <[email protected]> | 2018-04-17 09:54:02 +0200 |
---|---|---|
committer | Mattias Eriksson <[email protected]> | 2018-05-13 00:30:09 +0200 |
commit | 8fbafbfab5671d56dd469f2205b7906c4a7f7c7c (patch) | |
tree | ab4eab0020d97dc5091b72479c383989ccc84729 /include/sway/config.h | |
parent | 9d607b72532096e469fdaccf474836c310b629ff (diff) |
Idle handling for dpms/lockscreen et al
Swayidle handles idle events and allows
for dpms and lockscreen handling. It also
handles systemd sleep events, and can
raise a lockscreen on sleep
Fixes #541
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index b20458cb..f77c3b50 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -107,6 +107,12 @@ struct seat_config { list_t *attachments; // list of seat_attachment configs }; +enum config_dpms { + DPMS_IGNORE, + DPMS_ON, + DPMS_OFF +}; + /** * Size and position configuration for a particular output. * @@ -123,6 +129,7 @@ struct output_config { char *background; char *background_option; + enum config_dpms dpms_state; }; /** |