Help us shape the future of Go! Take the 2026 Go Developer Survey

theme

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package theme switches the colours every client draws in, with :theme, and centers the windows on a wide screen, with :center and <Plug>(theme.center) (B158, B199).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct{}

Module is theme.

func New

func New() *Module

New returns theme.

func (*Module) Call

func (m *Module) Call(_ context.Context, id uint32, s api.Scope, _ ...int) (api.Result, error)

Call switches or shows the theme, or toggles the windows centered, as setting theme or center does, which a guest may not (B39).

func (*Module) Callback

func (m *Module) Callback(context.Context, uint32, api.Scope) (api.Result, error)

func (*Module) Close

func (m *Module) Close(context.Context) error

func (*Module) Event

func (m *Module) Event(context.Context, string, api.Scope) (api.Result, error)

func (*Module) Init

func (m *Module) Init(context.Context, api.Scope) (api.Result, error)

func (*Module) Name

func (m *Module) Name() string

func (*Module) Registered

func (m *Module) Registered() []api.Registration

func (*Module) Subscribed

func (m *Module) Subscribed() []string

func (*Module) Work

func (m *Module) Work(context.Context, api.Job) (string, error)

Jump to

Keyboard shortcuts

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