Steam install
This commit is contained in:
@@ -49,6 +49,7 @@ STEPS=(
|
|||||||
["Antigravity"]="station-setup-antigravity"
|
["Antigravity"]="station-setup-antigravity"
|
||||||
["Minecraft"]="station-setup-minecraft"
|
["Minecraft"]="station-setup-minecraft"
|
||||||
["Mail"]="station-setup-mail"
|
["Mail"]="station-setup-mail"
|
||||||
|
["Steam"]="station-setup-steam"
|
||||||
["Super Productivity"]="station-setup-super-productivity"
|
["Super Productivity"]="station-setup-super-productivity"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
21
.local/bin/station-setup-steam
Executable file
21
.local/bin/station-setup-steam
Executable file
@@ -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"
|
||||||
|
|
||||||
|
|
||||||
@@ -2,16 +2,36 @@
|
|||||||
|
|
||||||
echo "Signing into Super Productivity..."
|
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 &
|
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
|
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
|
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"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user