bspc_rust_lib 0.2.0

A library that allows bspc commands to be executed through rust programs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub enum CycleDir {
    Next,
    Prev,
}

impl CycleDir {
    pub fn get_string(&self) -> String {
        String::from(
            match self {
                CycleDir::Next => "next",
                CycleDir::Prev => "prev",
            }
        )
    }
}