From 9b16a3374770616c77dca9dd5ea8840fbdea14f6 Mon Sep 17 00:00:00 2001 From: Alexis Date: Thu, 9 Aug 2018 00:37:23 +0200 Subject: [PATCH] chore(README): update --- README.md | 1 + protocol/idle.xml | 49 ++++++++++++++++++++++++++++++++++++++++++++ protocol/meson.build | 1 + 3 files changed, 51 insertions(+) create mode 100644 protocol/idle.xml diff --git a/README.md b/README.md index 8c5afa86..e7dbdcd0 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ Highly customizable wayland bar for sway or wlroots based compositor. ![Waybar](https://raw.githubusercontent.com/alexays/waybar/master/preview.png) **Current features** +- Customization via [CSS file](./ressources/style.css) - Sway workspaces - Local time - Battery diff --git a/protocol/idle.xml b/protocol/idle.xml new file mode 100644 index 00000000..92d9989c --- /dev/null +++ b/protocol/idle.xml @@ -0,0 +1,49 @@ + + + . + ]]> + + + This interface allows to monitor user idle time on a given seat. The interface + allows to register timers which trigger after no user activity was registered + on the seat for a given interval. It notifies when user activity resumes. + + This is useful for applications wanting to perform actions when the user is not + interacting with the system, e.g. chat applications setting the user as away, power + management features to dim screen, etc.. + + + + + + + + + + + + + + + + + + + + + + diff --git a/protocol/meson.build b/protocol/meson.build index 9f961f4e..b9061478 100644 --- a/protocol/meson.build +++ b/protocol/meson.build @@ -24,6 +24,7 @@ wayland_scanner_client = generator( client_protocols = [ [wl_protocol_dir, 'stable/xdg-shell/xdg-shell.xml'], ['wlr-layer-shell-unstable-v1.xml'], + ['idle.xml'], ] client_protos_src = []