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 = []