desktops

package
v0.0.0-...-24dab48 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2015 License: MIT, MIT Imports: 6 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(desktops *branch.Branch, monitor uint32, name string, s settings.Settings)

func Focus

func Focus(desktops *branch.Branch, desk Desktop)

func Initialize

func Initialize(desktops *branch.Branch, monitor uint32, s settings.Settings)

func New

func New(monitor uint32, s settings.Settings) *branch.Branch

func UpdateDesktopsIndex

func UpdateDesktopsIndex(desktops *branch.Branch)

func UpdateDesktopsMonitor

func UpdateDesktopsMonitor(desktops *branch.Branch, id uint32)

Types

type Desktop

type Desktop interface {
	settings.Settings
	Set(string, interface{})
	Index() int
	Monitor() uint32
	Id() string
	Name() string
	Focus()
	Focused() bool
	Floating() bool
	Layout() string
	Clients() *branch.Branch
}

func All

func All(desktops *branch.Branch) []Desktop

func Cycled

func Cycled(desktops *branch.Branch, sel selector.Selector) Desktop

func Focused

func Focused(desktops *branch.Branch) Desktop

func NewDesktop

func NewDesktop(monitor uint32, name string, s settings.Settings) Desktop

func Next

func Next(desktops *branch.Branch) Desktop

func Prev

func Prev(desktops *branch.Branch) Desktop

func Select

func Select(selectors []selector.Selector, ds ...*branch.Branch) Desktop

func Tagged

func Tagged(desktops *branch.Branch, sel selector.Selector) Desktop

type MatchDesktop

type MatchDesktop func(Desktop) bool

type UpdateDesktop

type UpdateDesktop func(d Desktop) error

Jump to

Keyboard shortcuts

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