mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-22 02:01:27 +00:00
Main menu improvments
This commit is contained in:
parent
e4daec319b
commit
2536388308
|
@ -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 ;;
|
||||
"$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
|
||||
|
|
Loading…
Reference in a new issue