diff --git a/.local/bin/station-initial-setup b/.local/bin/station-initial-setup index d45af7f..9a7aa93 100755 --- a/.local/bin/station-initial-setup +++ b/.local/bin/station-initial-setup @@ -49,6 +49,7 @@ STEPS=( ["Antigravity"]="station-setup-antigravity" ["Minecraft"]="station-setup-minecraft" ["Mail"]="station-setup-mail" + ["Steam"]="station-setup-steam" ["Super Productivity"]="station-setup-super-productivity" ) diff --git a/.local/bin/station-setup-steam b/.local/bin/station-setup-steam new file mode 100755 index 0000000..9120f25 --- /dev/null +++ b/.local/bin/station-setup-steam @@ -0,0 +1,21 @@ +#! /bin/zsh + +echo "Signing into Steam..." + +read -r username password <<< "$(station-get-username-password "Steam")" + +steam & + +echo -n "$username" | wl-copy + +station-confirm-or-close "Steam Setup" "Username copied.\nPress OK for password" + +echo -n "$password" | wl-copy + +station-confirm-or-close "Steam Setup" "Password copied.\nPress OK to finish setup" + +hyprctl dispatch closewindow class:steam + +echo "Finished setting up Steam" + + diff --git a/.local/bin/station-setup-super-productivity b/.local/bin/station-setup-super-productivity index 76271be..420677d 100755 --- a/.local/bin/station-setup-super-productivity +++ b/.local/bin/station-setup-super-productivity @@ -2,16 +2,36 @@ echo "Signing into Super Productivity..." +read -r username password <<< "$(station-get-username-password "Scarif: Tower")" + +echo -n "https://tower.scarif.space/remote.php/dav/files/chris/" | wl-copy + super-productivity & -station-confirm-or-close "Spotify Setup" "Username copied.\nPress OK for password" +station-confirm-or-close "Super Productivity Setup" "URL copied.\nPress OK for username" + +echo -n "$username" | wl-copy + +station-confirm-or-close "Super Productivity Setup" "Username copied.\nPress OK for password" echo -n "$password" | wl-copy -station-confirm-or-close "Spotify Setup" "Click OK when you have finished logging in to move on." +station-confirm-or-close "Super Productivity Setup" "Password copied.\nPress OK for sync folder" + +echo -n ".backups/super-productivity" | wl-copy + +station-confirm-or-close "Super Productivity Setup" "Sync folder path copied\n\nClick OK when you have finished logging in to move on." wl-copy --clear -hyprctl dispatch closewindow class:Spotify +echo "Downloading latest autoplan plugin..." + +wget "https://codeberg.org/00sapo/sp-autoplan/releases/download/latest/sp-autoplan-plugin.zip" -O "$HOME/Downloads/autoplan.zip" + +station-confirm-or-close "Super Productivity Setup" "Autoplan plugin downloaded. Please enable it in settings." + +hyprctl dispatch closewindow class:superProductivity + +echo "Finished setting up Super Productivity" + -echo "Finished setting up Spotify"