Compare commits

..

1 commit

Author SHA1 Message Date
ed30340ed0
[feat] scripts: import jpassmenu and RiiR
Some checks failed
/ check (push) Failing after 31s
/ build (docs) (push) Successful in 3s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Failing after 50s
/ build (nvim) (push) Successful in 15s
2024-07-18 23:10:03 +02:00
2 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,5 @@
[package]
name = "jpassmenu"
description = "A simple program that uses dmenu compatible menu to select a password to type/copy"
version = "0.1.0"
edition = "2021"

View file

@ -88,10 +88,10 @@ impl Opts {
Some(store_dir)
};
// Prepare pass command
let args = if typeit {
vec!["show", selected]
let args: &[&str] = if typeit {
&["show", selected]
} else {
vec!["show", "-c", selected]
&["show", "-c", selected]
};
let pass = cmd(pass_bin, args);
let pass = if let Some(env) = set_env {