Compare commits
1 commit
ed30340ed0
...
13b36b2dcf
Author | SHA1 | Date | |
---|---|---|---|
13b36b2dcf |
2 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "jpassmenu"
|
name = "jpassmenu"
|
||||||
|
description = "A simple program that uses dmenu compatible menu to select a password to type/copy"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
|
@ -88,10 +88,10 @@ impl Opts {
|
||||||
Some(store_dir)
|
Some(store_dir)
|
||||||
};
|
};
|
||||||
// Prepare pass command
|
// Prepare pass command
|
||||||
let args: &[&str] = if typeit {
|
let args = if typeit {
|
||||||
&["show", selected]
|
vec!["show", selected]
|
||||||
} else {
|
} else {
|
||||||
&["show", "-c", selected]
|
vec!["show", "-c", selected]
|
||||||
};
|
};
|
||||||
let pass = cmd(pass_bin, args);
|
let pass = cmd(pass_bin, args);
|
||||||
let pass = if let Some(env) = set_env {
|
let pass = if let Some(env) = set_env {
|
||||||
|
|
Loading…
Add table
Reference in a new issue