diff options
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index ca872c7..754c54f 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -748,8 +748,9 @@ ("AUTO" #'(lambda (entry) (let ((user (password-store-get-field entry "user")) (pass (password-store-get entry))) (start-process-shell-command "xdotool" nil - (format "sleep 0.3 && xdotool getactivewindow type '%s' && xdotool getactivewindow key Tab && xdotool getactivewindow type '%s'" - (if user user 'thanosapollo) pass))))) + (format "sleep 0.3 && xdotool getactivewindow type %s && xdotool getactivewindow key Tab && xdotool getactivewindow type %s" + (shell-quote-argument (if user user "thanosapollo")) + (shell-quote-argument pass)))))) ("COPY PASS" #'password-store-copy) ("COPY USERNAME" #'(lambda (entry) (password-store-copy-field entry "user"))) ("EDIT" #'password-store-edit) |