Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Runner
}
Client is able to send commands to river.
func DefaultClient ¶
func DefaultClient() Client
DefaultClient returns a client configured with the default runner.
func (Client) BindScript ¶
BindComplex creates a new keybinding that runs a script.
func (Client) BindScriptF ¶
BindF creaets a new script binding and fatally logs any error.
type ExecRunner ¶
type ExecRunner struct {
// contains filtered or unexported fields
}
ExecRunner runs river commands by executing them on the system.
func NewExecRunner ¶
func NewExecRunner(opts ...func(*ExecRunner)) ExecRunner
NexExecRunner creates a new ExecRunner, applies the options to it, and then returns it.
Click to show internal directories.
Click to hide internal directories.