22 lines
432 B
Plaintext
22 lines
432 B
Plaintext
|
|
#! /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"
|
||
|
|
|
||
|
|
|