Compare commits

..

1 commit

Author SHA1 Message Date
Breadway
1671af82ee fix: rustfmt violations
Some checks failed
Mirror to GitHub / mirror (push) Failing after 2s
2026-06-19 08:38:41 +08:00

View file

@ -4,7 +4,11 @@ use std::process;
use clap::{Parser, Subcommand}; use clap::{Parser, Subcommand};
#[derive(Parser)] #[derive(Parser)]
#[command(name = "breadpaper", version, about = "Wallpaper manager for the bread desktop")] #[command(
name = "breadpaper",
version,
about = "Wallpaper manager for the bread desktop"
)]
struct Cli { struct Cli {
/// Image file to set as wallpaper (shorthand for `set`) /// Image file to set as wallpaper (shorthand for `set`)
path: Option<PathBuf>, path: Option<PathBuf>,
@ -16,9 +20,7 @@ struct Cli {
#[derive(Subcommand)] #[derive(Subcommand)]
enum Command { enum Command {
/// Set wallpaper, generate pywal palette, and reload bread themes /// Set wallpaper, generate pywal palette, and reload bread themes
Set { Set { path: PathBuf },
path: PathBuf,
},
/// Print the current wallpaper path /// Print the current wallpaper path
Get, Get,
} }