diff --git a/pleroma-cli.sh b/pleroma-cli.sh index 407f14a..a4ca452 100755 --- a/pleroma-cli.sh +++ b/pleroma-cli.sh @@ -849,6 +849,7 @@ menu_timeline='Timelines' notif='Notifications' followingsmenu='Followings' followrequests='Follow requests' +my_account='Account' authmake='Auth' backup_restore='Backup/Restore' switchinstance='Switch instance' @@ -856,7 +857,7 @@ Exit='Exit' while true; do if [ -n "$auth" ]; then - main_menu=$(echo "$menu_write_status\n$menu_timeline\n$notif\n$followingsmenu\n$followrequests\n$backup_restore\n$switchinstance\n$Exit" | fzy) + main_menu=$(echo "$menu_write_status\n$menu_timeline\n$notif\n$my_account\n$switchinstance\n$Exit" | fzy) else main_menu=$(echo "$authmake\n$menu_timeline\n$switchinstance\n$Exit" | fzy) fi @@ -867,9 +868,15 @@ case $main_menu in timeline_menu ;; "$notif") notif_menu ;; - "$followingsmenu") followings_menu ;; - "$followrequests") menu_follow_requests ;; - "$backup_restore") backup_restore_menu ;; + "$my_account") + my_account_menu=$(echo "$followingsmenu\n$followrequests\n$backup_restore" | fzy) + case $my_account_menu in + "$followingsmenu") followings_menu ;; + "$followrequests") menu_follow_requests ;; + "$backup_restore") backup_restore_menu ;; + esac + ;; + "$switchinstance") empty=0 case $(echo 'Recently used\nChoice from list\nManual input' | fzy) in