#! /bin/zsh echo "Signing into Minecraft..." read -r username password <<< "$(station-get-username-password "Minecraft")" echo -n "$username" | wl-copy lunarclient & station-confirm-or-close "Minecraft Setup" "Username copied.\nPress OK for password" echo -n "$password" | wl-copy station-confirm-or-close "Minecraft Setup" "Click OK when you have finished logging in to move on." wl-copy --clear hyprctl dispatch closewindow class:lunarclient echo "Finished setting up Minecraft"