Code Monkey home page Code Monkey logo

hdrtray's Introduction

HDRTray

Windows Notification Area icon to show and change HDR status. Useful if you quickly want to check the current setting, maybe because it might been changed automatically by some applications, or maybe just because you're forgetful. Also allows quick toggling.

Usage

After starting the program you can see a new notification area icon, displaying either “SDR” or “HDR” depending on whether HDR is off or on.

HDR can be toggled on or off with a left-click on the icon.

Right-clicking opens the context menu offering an option to automatically start the program when you log in to Windows.

Command line utility

Since version 0.5, the HDRCmd command line utility is included. It can be used to toggle HDR on and off from scripts and check it's status.

Syntax:

HDRCmd [SUBCOMMAND] [SUBCOMMAND-OPTIONS]

on command

Turns HDR on on all supported displays.

Does not accept any options.

off command

Turns HDR off on all supported displays.

Does not accept any options.

status command

Prints the current HDR status to the console. Has a special mode that returns an exit code depending on the status.

--mode (-m) option

Specifies how the status should be reported. Accepts the following values:

  • short, s (default): Print a single line indicating the overall HDR status.
  • long, l: Print the overall HDR status and status per display.
  • exitcode, x: Special mode for scripting. Exit code is 0 if HDR is on, 1 if HDR is off, and 2 if HDR is unsupported. (Other values indicate some error.)

Latest Release

The latest release can be found on the “Releases” tab of the GitHub project page.

Feedback, Issues

Please use the “Issues” tab of the GitHub project page to provide feedback or report any issues you may encounter.

License

HDRTray, a notification icon for the “Use HDR” option

Copyright (C) 2022-2023 Frank Richter

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Full text of GNU General Public License, Version 3.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.