property display-name added
This commit is contained in:
@ -7,6 +7,10 @@ import (
|
||||
"git.milar.in/milarin/channel"
|
||||
)
|
||||
|
||||
func ObserveDisplayNames(ctx context.Context, socket string) (<-chan []string, error) {
|
||||
return ObserveProperty[[]string](ctx, socket, "display-names")
|
||||
}
|
||||
|
||||
func ObserveFullscreen(ctx context.Context, socket string) (<-chan bool, error) {
|
||||
return ObserveProperty[bool](ctx, socket, "fullscreen")
|
||||
}
|
||||
|
Reference in New Issue
Block a user