diff --git a/dot_config/rofi/executable_rofi-pass.sh b/dot_config/rofi/executable_rofi-pass.sh index a440195..e6ad119 100644 --- a/dot_config/rofi/executable_rofi-pass.sh +++ b/dot_config/rofi/executable_rofi-pass.sh @@ -2,6 +2,6 @@ # Use fuzzel to find a password from password-store and copy it to clipboard. # inpired by: https://gist.github.com/igemnace/2b8609d280752e8a1b173204c14f6892 -pass_name=$(cd $HOME/.password-store && rg --files | sed 's/\.gpg$//' | rofi -dmenu) +pass_name=$(cd $HOME/.password-store && rg --files | sort | sed 's/\.gpg$//' | rofi -dmenu -normal-window -steal-focus) [[ $pass_name != "" ]] && pass show -c $pass_name