hypr-cycle 0.5.0

A fast and monitor-aware workspace cycler for Hyprland, written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use hypr_cycle::Args;
use hypr_cycle::HyprCycle;

fn main() -> anyhow::Result<()> {
    let mut svc = HyprCycle::real();
    let args = Args::parse_args();
    let direction = args.direction;
    let target = svc.get_target_workspace(direction)?;

    svc.switch_to_workspace(&target)
}