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
12
13
14
15
16
use clap::Parser;
use crate::domain::Direction;

#[derive(Parser)]
#[command(version, about, long_about = None)]
pub struct Args {
    #[arg(default_value = "next")]
    /// Direction to switch workspace ('next' or 'prev[ious]')
    pub direction: Direction,
}

impl Args {
    pub fn parse_args() -> Self {
        Args::parse()
    }
}