# HG changeset patch # User Steve Losh # Date 1560271814 14400 # Node ID 7522dc8484310bb4bd3bb0d603dcbe9c722fd2c6 # Parent 9861ccaa46792de77b5eb61b69bd0cf615f4cec2 More diff -r 9861ccaa4679 -r 7522dc848431 stumpwmrc --- a/stumpwmrc Tue Jun 11 11:55:25 2019 -0400 +++ b/stumpwmrc Tue Jun 11 12:50:14 2019 -0400 @@ -302,6 +302,10 @@ (pass:*pass-notification-message* t)) (pass:pass-copy))) +(defcommand generate-password () () + (run-shell-command "genpass | pbc") + (message "Generated a fresh password and copied it to the clipboard.")) + ;; (defcommand pass-work () () ;; (let ((pass:*password-store* "/home/sjl/.password-store-work/") ;; (pass:*pass* "/home/sjl/src/dotfiles/bin/pass-work")) @@ -419,6 +423,7 @@ ("H-SunPageDown" "st-font-down") ("H-Home" "st-font-reset") ("H-\\" "pass-personal") + ("H-|" "generate-password") ("H-b" "browser") ("H-B" "exec firefox") ("H-o" "spotify")