Ver código fonte

Give pass it's own set of prompts

master
= 3 anos atrás
pai
commit
ba83e4f7b2
2 arquivos alterados com 23 adições e 11 exclusões
  1. +3
    -7
      README.md
  2. +20
    -4
      prompt

+ 3
- 7
README.md Ver arquivo

@@ -92,22 +92,18 @@ exists.

#### TODO
- Finish vpn and networking stuff after ini script is finished, then make sure
- maybe add an mru ranking alrogithm in the future
printf in case goes to stderror which is shown in bar
- Add ddg search prompt
- setup pass
- variables to the script to make assumed paths easier to change
- show script for man pages, pkg info, and other things
- command to clipboard
- emoji select to clipboard
- system of additional clipboards using /tmp files
- use attach-session -t . -c /dir for selecting multiplexer directory
- ddg fill options should be taken from bookmarks or history
- Make password prompts green
- Figure out range selecting for parsing passwords
- Figure out using dmenu instead of gnome key prompt
- Figure out using dmenu instead of gnome key prompt (pinentry)
- Consider entr in dwm-start for watching files
- make dmenu load time more like fzf?
- change xdg text/plain opener to use vim and st if not in terminal
- unicode character insertion
- finish editing text-opener
change prompt icon to nerd icon
- select window with wmctrl

+ 20
- 4
prompt Ver arquivo

@@ -87,6 +87,21 @@ action() {
esac
}

login() {
choice=$(printf "Auto
Username
Password
Alternate
Show
Edit" | tr -d '\t' | dmenu -i -p "login")

case $choice in
Username) username;;
Password) password;;
Alternate) other_password;;
Show) show_password;;
esac
}
do_search() {
type=$(printf "Manual
DDG
@@ -291,6 +306,10 @@ other_password() {
sed -n -e ""
}

show_password() {
ls
}

edit_password() {
account=$(find ~/.password-store/[!\.]* -type f |
sed -e "s:$HOME/.password-store/::" -e "s:\.gpg::" |
@@ -313,10 +332,7 @@ case $1 in
action) action;;
cmd) cmd;;
cmd_clip) cmd_clip;;
username) username;;
password) password;;
other_password) other_password;;
edit_password) edit_password;;
login) login;;
search) do_search;;
open) opener;;
choose) chooser;;


Carregando…
Cancelar
Salvar