Skip to content

Commit

Permalink
Update pass prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
fxdave committed Apr 24, 2023
1 parent a60a1b4 commit 0d0355a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ Currently, there are 3 plugins:
- `= sin(radians(90))` prints `1.0`
- `= [i for i in range(1000) if i %99 == 0]` shows the numbers between 0 and 999 that are dividable by 99
- **Password manager (pass_plugin):** A configurable password manager plugin. It works with every password managers, however, the default config is only for GNU pass. This is not meant to be used from the search menu although you can reach it that way as well.
- suggested binding: `super+p` `vonalc set_query pass_plugin show`
- trigger: `pass_plugin`
- suggested binding: `super+p` `vonalc set_query "pass " show`
- trigger: `pass`
- example commands:
- `pass fa` list every account name containing "fa"

Warning: On update you have to manually enable new plugins.

Expand Down
2 changes: 1 addition & 1 deletion src/vonal_daemon/plugins/pass/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl Pass {
}
}

const DEFAULT_PREFIX: &str = "pass_plugin";
const DEFAULT_PREFIX: &str = "pass";
const DEFAULT_LIST_PASSWORDS_COMMAND: &str = r#"
shopt -s nullglob globstar
prefix=${PASSWORD_STORE_DIR-~/.password-store}
Expand Down

0 comments on commit 0d0355a

Please sign in to comment.