Compare commits

..

1 commit

Author SHA1 Message Date
13b36b2dcf
[feat] scripts: import jpassmenu and RiiR
Some checks failed
/ check (push) Failing after 32s
/ build (docs) (push) Successful in 3s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 57s
/ build (nvim) (push) Successful in 16s
2024-07-18 23:14:43 +02:00
2 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,6 @@
[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: &[&str] = if typeit {
&["show", selected]
let args = if typeit {
vec!["show", selected]
} else {
&["show", "-c", selected]
vec!["show", "-c", selected]
};
let pass = cmd(pass_bin, args);
let pass = if let Some(env) = set_env {