Module selectors

Module selectors 

Source
Expand description

This module implements selectors for Node, Desktop and Monitor.

It works just like you would expect it from bspc command. However it offers you one cool feature: it checks if selector is valid at compile-time.

However, in order for this to work, selector (represented by a string slice) is wrapped in struct, representing what kind of selector is that: node, dekstop or monitor.

Structs§

DesktopSelector
String slice inside represents desktop selector.
MonitorSelector
String slice inside represents monitor selector.
NodeSelector
String slice inside represents node selector.

Traits§

Selector