Documentation ¶
Overview ¶
root contains the files that define the callbacks on the root window
base.go - minimal callbacks such as locking the screen, focusing, shutting down the window manager, and creating a window brightness.go - callbacks for raising/lowering the backlight choose.go - callbacks implementing an alt-tab like interface launchers.go - callbacks for prompts that launch new windows (including the paritioning launch) monitor.go - a side event loop that monitors for changes of the screen configuration volume.go - callbacks for raising/lowering/muting volume taskbar.go - callbacks for interacting with the taskbar
Index ¶
- func GenerateHelp(ctx *frame.Context) string
- func GetBrightnessAndMaxBrightness(ctx *frame.Context) (int, int, error)
- func GetCurrentAudio() (int, error)
- func MonitorScreens(ctx *frame.Context, inj *sideloop.Injector)
- func RegisterBaseHooks(ctx *frame.Context) error
- func RegisterBrightnessHooks(ctx *frame.Context) error
- func RegisterChooseHooks(ctx *frame.Context)
- func RegisterSplitHooks(ctx *frame.Context) error
- func RegisterTaskbarHooks(ctx *frame.Context) error
- func RegisterVolumeHooks(ctx *frame.Context) error
- func Split(ctx *frame.Context) *frame.Frame
- type AnchorTo
- type Choice
- type CycleWrap
- type VolumeContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateHelp ¶
func GetCurrentAudio ¶
func MonitorScreens ¶
MonitorScreens runs an X event loop on the side just listening to whether the root geometry has changed. Once we notice a change, we pause the main event loop to update the screens, and then start monitoring again.
func RegisterBaseHooks ¶
func RegisterBrightnessHooks ¶
func RegisterChooseHooks ¶
func RegisterSplitHooks ¶
func RegisterTaskbarHooks ¶
func RegisterVolumeHooks ¶
Types ¶
type Choice ¶
func (*Choice) CycleHighlighted ¶
func (c *Choice) CycleHighlighted()
func (*Choice) CycleImage ¶
func (*Choice) CycleIsActive ¶
func (*Choice) CycleSelected ¶
func (c *Choice) CycleSelected()
type VolumeContext ¶
type VolumeContext struct {
Volume int
}