aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/output.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-06-22 22:06:21 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-06-23 14:47:50 -0400
commit445bc2a943d905a0e5b1dc607a6797919c8cf341 (patch)
treef6a8da587e1a324d0f1ec2fa69eaa487c1184be5 /sway/commands/output.c
parent122d8ce95484bd097bf3a15b8191213bd6969b41 (diff)
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".
Diffstat (limited to 'sway/commands/output.c')
-rw-r--r--sway/commands/output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands/output.c b/sway/commands/output.c
index 125df5a7..c102344d 100644
--- a/sway/commands/output.c
+++ b/sway/commands/output.c
@@ -18,6 +18,7 @@ static const struct cmd_handler output_handlers[] = {
{ "modeline", output_cmd_modeline },
{ "pos", output_cmd_position },
{ "position", output_cmd_position },
+ { "power", output_cmd_power },
{ "render_bit_depth", output_cmd_render_bit_depth },
{ "res", output_cmd_mode },
{ "resolution", output_cmd_mode },