wm/cmd/bspc/cli.go

58 lines
1.0 KiB
Go

package main
import "tuxpa.in/t/wm/src/cmd"
type Api struct {
Node Node `name:"node" cmd:"node"`
Desktop Desktop `name:"desktop" cmd:"desktop"`
}
type NodeSel string
type Node struct {
NODE_SEL NodeSel `name:"NODE_SEL" arg:"" default:"focused" optional:"" help:"default is focused"`
Focus NodeFocus `name:"focus" cmd:"focus"`
// Activate NodeSel `name:"activate" cmd:"activate"`
// ToDesktop NodeSel `name:"to-desktop" cmd:"to-desktop"`
}
type NodeFocus struct {
}
func (n *NodeFocus) Run(ctx *cmd.Context) error {
panic("not implemented") // TODO: Implement
}
func (n *Node) Run(ctx *cmd.Context) error {
panic("not implemented") // TODO: Implement
}
type Desktop struct {
DESKTOP_SEL string `name:"DESKTOP_SEL"`
}
func (d *Desktop) Run(ctx *cmd.Context) error {
panic("not implemented") // TODO: Implement
}
type Monitor struct {
MONITOR_SEL string `name:"MONITOR_SEL"`
}
type Query struct {
}
type Wm struct {
}
type Rule struct {
}
type Config struct {
}
type Subscribe struct {
}
type Quit struct {
}