screensize

package
v0.0.0-...-b75ae3a Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(priority string) (int, int, error)

Get does

func GetMonitors

func GetMonitors()

GetMonitors returns all connected monitors

func XrandrReader

func XrandrReader() *bytes.Reader

XrandrReader does...

Types

type Monitor

type Monitor struct {
	Width, Height int

	Name string
	// contains filtered or unexported fields
}

Monitor holds information about a single monitor

func NewMonitor

func NewMonitor(priority string) Monitor

NewMonitor returns...

type Monitors

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

Monitors holds one or more monitor structs

Jump to

Keyboard shortcuts

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