brightness

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package brightness provides the control of getting and setting display brightness.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Percent

func Percent(ctx context.Context) (float64, error)

Percent gets the current brightness of the system.

func SetPercent

func SetPercent(ctx context.Context, percent float64) error

SetPercent sets the brightness of the system.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL