Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions wallr-core/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,24 +180,6 @@ pub enum Commands {
effect_args: EffectArgs,
},

/// Alias for `set`
#[command(hide = true)]
Img {
path: PathBuf,
#[arg(long)]
animation: Option<String>,
#[arg(short = 'm', long)]
monitor: Option<String>,
#[arg(long, value_enum)]
mode: Option<ScalingMode>,
#[arg(long)]
no_theme: bool,
#[arg(short = 't', long, value_enum)]
theme: Option<ThemeProvider>,
#[command(flatten)]
effect_args: EffectArgs,
},

/// Run system and dependency diagnostics
Doctor,

Expand Down
11 changes: 1 addition & 10 deletions wallr/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,7 @@ async fn async_main() -> Result<()> {
let config = config::load_config(config_path)?;

match cli.command {
Commands::Img {
path,
no_theme,
theme,
monitor,
animation,
mode,
effect_args,
}
| Commands::Set {
Commands::Set {
path,
no_theme,
theme,
Expand Down
Loading