Repository navigation
Releases
Releases · utkudarilmaz/monctl
v0.3.0
Added
- On GNOME, the tray binds the brightness keys to monctl by itself the first time it runs, on computers without a backlight of their own.
brightnessKeyssetting in the config. Set it tofalseto keep monctl away from the brightness keys on GNOME and macOS.
Changed
- The Debian package turns on the tray service for every user. Run
systemctl --user mask monctl-tray.serviceto turn it off for yourself.
v0.2.0
Added
- The tray on macOS catches the brightness keys and changes the external monitor.
- The system brightness indicator shows when the tray changes the brightness: on macOS by itself, on GNOME through a small shell extension in the Debian package.
monctl brightnesswith a value hands the change to a running tray, which is much faster and merges quick changes.- Input names are found without a config: the active input shows the name of this computer, and an input whose
beforecommand runsmonctl wakeshows the name of the other computer. The names are kept in~/.local/state/monctl/names.json, and a configlabelwins. - Homebrew formula for macOS, with a service that runs the tray at login.
Changed
monctl inputand the tray now check that the monitor stays on the new input, and try again up to three times when it comes back. This takes about 14 seconds.- A failed
beforecommand no longer stops the switch. monctl prints a warning and switches anyway. monctl wakefirst printscomputer: <name>with the name of the computer it runs on.- A brightness change no longer reads the value back, which makes it about twice as fast.
Fixed
- Two monctl commands at the same time no longer read each other's replies. They now take turns.
v0.1.0
First release of monctl: change the brightness and the input of an external monitor from the computer, on Debian with GNOME and on macOS with Apple Silicon.
Added
listcommand that shows the external monitors monctl can reach.brightnesscommand to read, set, raise, and lower the brightness.inputcommand to show the current input and switch to another one.probecommand that prints what a monitor reports, to help add new models.- JSON output for
list,brightness,input, andprobe. - Monitor profiles, starting with the MSI MPG 274URDFW E16M (DisplayPort and USB-C inputs).
- User config for input labels and hidden inputs.
- Linux support through I2C, with a udev rule for bus access.
- macOS support on Apple Silicon.
- Tray menu for brightness and input on GNOME and in the macOS menu bar.
- Debian packages for amd64 and arm64, and release archives for Linux and macOS.
wakecommand that turns on the screen of the computer it runs on.beforesetting per input in the config: a command monctl runs before it switches to that input, for example to wake the other computer over SSH.- The tray can run as a systemd user service on Linux and as a launchd agent on macOS.
See the README for how to install.