ctmcontrol

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: MIT, MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package ctmcontrol implements hyprland_ctm_control_manager_v1: the first client to bind it sets the colour transform matrix of outputs, as hyprsunset does, and every output it changed returns to the identity when it lets go. Managers bound while another one owns the outputs are blocked.

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func New

func New(d *server.Display, outputs Outputs, report func(error)) (*Manager, error)

func (*Manager) Removed

func (m *Manager) Removed(o *output.Output)

type Outputs

type Outputs interface {
	Owner(res *sw.WlOutput) *output.Output
	ApplyColorMatrix(o *output.Output, m backend.Matrix) error
}

Jump to

Keyboard shortcuts

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