From 32ff3a180dc650c448c8adf93b9ee9328d1e990b Mon Sep 17 00:00:00 2001 From: Rasmus Steinke Date: Sat, 8 Aug 2015 23:15:19 +0200 Subject: [PATCH] add --show-last option to display show menu for last used item --- rofi-pass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rofi-pass b/rofi-pass index de82d6f..8a3f2b5 100755 --- a/rofi-pass +++ b/rofi-pass @@ -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 ;;