d0e6412 Fix explicit reference to 'pkg-config' in Makefile
~dsemy pushed to ~dsemy/wlr-dpms git
wlr-dpms - change output power modes in wlroots compositors Build: $ make Build requires Wayland development files (headers, 'wayland-scanner'), pkg-config(1) and a C compiler (tested with gcc(1) and clang(1)). Runtime requires a Wayland compositor which supports the 'wlr_output_power_manager_v1' protocol. Usage: Turn all outputs off: $ wlr-dpms off Turn all outputs on: $ wlr-dpms on Toggle the power state of all outputs: $ wlr-dpms toggle Query the power state of all outputs (assuming output "DP-1" is off and "HDMI-A-2" is on): $ wlr-dpms query DP-1 off HDMI-A-2 on 'toggle' is the default operation (if none are specified). All operations (including none) may be suffixed by output names (as separate arguments) to operate on. For example, to toggle two outputs named "DP-1" and "HDMI-A-2": $ wlr-dpms DP-1 HDMI-A-2 To turn them off: $ wlr-dpms off DP-1 HDMI-A-2 Outputs are not turned back on automatically, you can use a 'resume' command with a 'timeout' event through swayidle(1) for this functionality. Output names can be obtained through 'wlr-randr' and various other tools. Copyright: Licensed under MIT. File "wlr-output-power-management-unstable-v1.xml" is copyright © 2019 Purism SPC. All other files are copyright © 2024 Daniel Semyonov.