use std::path::PathBuf; /// Create Niri window rules for apps that set their app-id and title after window creation. #[derive(Debug, Clone, clap::Parser)] #[command(color(clap::ColorChoice::Always))] pub enum Args { /// Check if the configuration file is valid Check { /// Config file for defined window rules in TOML format #[arg(env = "NIRI_LATE_CONFIG")] config: PathBuf, }, /// Run daemon Run { /// Config file for defined window rules in TOML format #[arg(short, long, env = "NIRI_LATE_CONFIG")] config: PathBuf, /// Niri IPC socket #[arg(short, long, env = "NIRI_SOCKET")] socket: PathBuf, }, }