[GH-ISSUE #1858] Feature: CLI tool and Shortcuts support for display control #1015

Open
opened 2026-05-05 07:01:54 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @Darkroom4364 on GitHub (Apr 15, 2026).
Original GitHub issue: https://github.com/MonitorControl/MonitorControl/issues/1858

Interested in contributing CLI and Shortcuts support for MonitorControl. This would address several prior requests (#1601, #1515, #1620).

What's built so far (on my fork):

  • A lightweight monitorcontrol CLI bundled inside the app bundle
  • Uses DistributedNotificationCenter to talk to the running app — no new dependencies
  • Supports list, get <property>, set <property> <value> with --display targeting and --json output
  • Proper exit codes, stderr for errors, UUID-scoped replies

Example usage:

monitorcontrol list
monitorcontrol get brightness --display "LG"
monitorcontrol set volume 50 --display 2

Next step would be App Intents / Shortcuts integration, reusing the same control logic.

The CLI requires the app to be running (no daemon, no extra processes). Happy to open a PR if there's interest, or adjust the approach based on feedback.

Originally created by @Darkroom4364 on GitHub (Apr 15, 2026). Original GitHub issue: https://github.com/MonitorControl/MonitorControl/issues/1858 Interested in contributing CLI and Shortcuts support for MonitorControl. This would address several prior requests (#1601, #1515, #1620). **What's built so far** (on my fork): - A lightweight `monitorcontrol` CLI bundled inside the app bundle - Uses DistributedNotificationCenter to talk to the running app — no new dependencies - Supports `list`, `get <property>`, `set <property> <value>` with `--display` targeting and `--json` output - Proper exit codes, stderr for errors, UUID-scoped replies **Example usage:** ``` monitorcontrol list monitorcontrol get brightness --display "LG" monitorcontrol set volume 50 --display 2 ``` **Next step** would be App Intents / Shortcuts integration, reusing the same control logic. The CLI requires the app to be running (no daemon, no extra processes). Happy to open a PR if there's interest, or adjust the approach based on feedback.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/MonitorControl#1015
No description provided.