Skip to content

Commit 0d0355a

Browse files
committed
Update pass prefix
1 parent a60a1b4 commit 0d0355a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ Currently, there are 3 plugins:
3636
- `= sin(radians(90))` prints `1.0`
3737
- `= [i for i in range(1000) if i %99 == 0]` shows the numbers between 0 and 999 that are dividable by 99
3838
- **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.
39-
- suggested binding: `super+p` `vonalc set_query pass_plugin show`
40-
- trigger: `pass_plugin`
39+
- suggested binding: `super+p` `vonalc set_query "pass " show`
40+
- trigger: `pass`
41+
- example commands:
42+
- `pass fa` list every account name containing "fa"
4143

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

src/vonal_daemon/plugins/pass/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ impl Pass {
113113
}
114114
}
115115

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

0 commit comments

Comments
 (0)