handler

package
Version: v0.0.0-...-0096a23 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	ModAlt = 1 << iota
	ModCtrl
	ModShift
	ModWin
)

Variables

This section is empty.

Functions

func Apply

func Apply(a *arrangements.Arrangement)

Apply repositions the currently running windows according to the input arrangements

func GetCurrentWindowPositions

func GetCurrentWindowPositions() *arrangements.Arrangement

GetCurrentWindowPositions returns a pointer to a WindowPreferences struct representing the current layout of all windows.

func OpenFile

func OpenFile(file string)

OpenFile uses the default application to open the specified file.

func RegisterHotkeysAndListen

func RegisterHotkeysAndListen(as *arrangements.Arrangements)

RegisterHokeysAndListen assigns a hotkey for each arrangement and begins listening for their activation.

Types

type Handler

type Handler struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL