diff --git a/docs/setup.md b/docs/setup.md index 308b44cebb..007662c9b6 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -189,15 +189,17 @@ Since writing fish completion scripts is not yet supported by the CLI library we In earlier versions gopass supported [dmenu](http://tools.suckless.org/dmenu/). We removed this and encourage you to call dmenu yourself now. -This also makes it easier to call gopass with [rofi](https://github.com/DaveDavenport/rofi), for example. +This also makes it easier to call gopass with any drop-in replacement of dmenu, like [rofi](https://github.com/DaveDavenport/rofi), for example, since you would just need to replace the `dmenu` call below by `rofi -dmenu`. ```bash # Simply copy the selected password to the clipboard gopass ls --flat | dmenu | xargs --no-run-if-empty gopass show -c # First pipe the selected name to gopass, encrypt it and type the password with xdotool. -gopass ls --flat | dmenu | xargs --no-run-if-empty gopass show | head -n 1 | xdotool type --clearmodifiers --file - +gopass ls --flat | dmenu | xargs --no-run-if-empty gopass show -f | head -n 1 | xdotool type --clearmodifiers --file - ``` +You can then simply bind these command lines to your preferred shortcuts in your window manager settings, typically under `System Settings > Keyboard > Shortcuts > Custom Shortcuts`. + ### Filling in passwords from browser Gopass allows filling in passwords in browsers leveraging a browser plugin like [gopass bridge](https://github.com/martinhoefling/gopassbridge).