All gists

willpower232
Last active 1 month ago

dmenu script for pass

0 0 1
1 #!/usr/bin/env bash
2
3 # 1 - source copy from https://geluk.io/p/passmenu.sh (https://github.com/Baggykiin/pass-winmenu)
4 # 2 - make dmenu case insensitive
5 # 3 - correct include_username variable
6 # 4 - only pick out usernames if they are the start of the sentence, i.e. ignore non-primary usernames listed in the file (mostly for bitbucket)
7 # 5 - dependency test and install
8 # 6 - error output on bad argument
9
10 shopt -s nullglob globstar