waydabber / BetterDisplay

Unlock your displays on your Mac! Flexible HiDPI scaling, XDR/HDR extra brightness, virtual screens, DDC control, extra dimming, PIP/streaming, EDID override and lots more!
https://betterdisplay.pro
17.16k stars 317 forks source link

Brightness, contrast, color and other display configuration presets by application on-screen #2313

Open waydabber opened 8 months ago

waydabber commented 8 months ago

Presets could be applied/recalled automatically by the presence of an app window on-screen.

Related request from MonitorControl: https://github.com/MonitorControl/MonitorControl/issues/1337

waydabber commented 3 weeks ago

https://github.com/waydabber/BetterDisplay/issues/3127

https://github.com/yungslime:

Hi, I've recently installed BD and noticed that launching Final Fantasy XIV through XIV on Mac will hard-crash my M2 Mac Studio if I have my main display set to HiDPI mode through BD. (Screens turn pink and green followed by a restart).

I wouldn't really consider the crashing an issue with BD itself since the game is kinda janky as is (some WINE/DXVK wizardry), but it would be nice to have the option to have BD turn off HiDPI mode / switch back to my display's default profile while specific apps are running as there are several situations besides my own where context-based screen adjustments could be very useful.

Thanks Tom

yungslime commented 3 weeks ago

Thank you! I guess I wasn't searching for the right terms.

bradcar commented 2 weeks ago

Sorry, I'm confused. What is the status of brightness presets? I'd really like to have one "bright" display setting when I'm in a well-light room, and when I want to do photo editing then go to a known dim brightness (set by adjusting brightness levels from a color calibration device). I've downloaded the app for trial and looked around but don't see how to do this.

bradcar commented 2 weeks ago

I see in the betterdisplaycli I can set the brightness, but I'm confused how I can get the brightness in the cli. My thought is if I can get the brightness at one adjustment, then I can script and set the brightness in the cli to meet my needs. At least until there are presets.

waydabber commented 2 weeks ago

Hi there,

this is how to get the brightness:

betterdisplaycli get -brightness

If you have more than one displays, you want to specify the display:

betterdisplaycli get -namelike=some_part_of_display_name -brightness

I plan to add presets in a future update in the UI as well.

bradcar commented 2 weeks ago

Perfect! Many thanks!

bradcar commented 2 weeks ago

BTW, the App shows "Color LCD", but the CLI seems only to respond to "Apple Display"

waydabber commented 2 weeks ago

When using namelike? There are multiple ways to address a display with betterdisplaycli: https://github.com/waydabber/BetterDisplay/wiki/Integration-features,-CLI#device-identification-and-device-listing