sway-patched-tray-menu-github/sway/commands/output/dpms.c
Simon Ser 445bc2a943 Rename dpms output command to power
The "dpms" command refers to VESA Display Power Management
Signaling, a deprecated standard. It's superseded by VESA DPM.

Instead of tying out command name to a particular standard, use the
neutral term "power".
2022-06-23 14:47:50 -04:00

8 lines
248 B
C

#include "log.h"
#include "sway/commands.h"
struct cmd_results *output_cmd_dpms(int argc, char **argv) {
sway_log(SWAY_INFO, "The \"output dpms\" command is deprecated, "
"use \"output power\" instead");
return output_cmd_power(argc, argv);
}