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
This commit is contained in:
Mattias Eriksson 2018-04-17 09:54:02 +02:00
parent 9d607b7253
commit 8fbafbfab5
16 changed files with 703 additions and 2 deletions

17
swayidle/meson.build Normal file
View file

@ -0,0 +1,17 @@
threads = dependency('threads')
executable(
'swayidle', [
'main.c',
],
include_directories: [sway_inc],
dependencies: [
client_protos,
wayland_client,
wayland_server,
wlroots,
swayidle_deps,
],
link_with: [lib_sway_common, lib_sway_client],
install: true
)