forked from colonelpanic/dotfiles
Merge branch 'master' of github.com:IvanMalison/dotfiles
This commit is contained in:
4
dotfiles/lib/bin/system_password.sh
Executable file
4
dotfiles/lib/bin/system_password.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
PASSWORD="$(keepasshttp.py --get -u "http://system.com" | jq '.[].password' | unescape.py)"
|
||||
sleep .1s
|
||||
xdotool type "$PASSWORD"
|
||||
@@ -3,7 +3,7 @@ import sys
|
||||
|
||||
|
||||
def unescape(string):
|
||||
print eval(string)
|
||||
print(eval(string))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user