add --show-last option to display show menu for last used item

This commit is contained in:
Rasmus Steinke 2015-08-08 23:15:19 +02:00
parent 7faf59333a
commit 32ff3a180d

View File

@ -341,6 +341,9 @@ case $1 in
--last-used)
entry="$(cat $HOME/.config/rofi-pass/last_used)" mainMenu
;;
--show-last)
selected_password="$(cat $HOME/.config/rofi-pass/last_used)" showEntry
;;
*)
mainMenu
;;