Last active
July 21, 2019 05:52
-
-
Save estysdesu/150f66b27fb8aefc5ed654fe06d6e0a9 to your computer and use it in GitHub Desktop.
[Chrome App: macOS windowed Chrome web app without all the junk] #chrome #app #windowed #web #client #sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# https://github.com/estysdesu/dotFiles/blob/master/bash/.bash_profile | |
# one-liner | |
alias spotify_web="'`locate "*Google\ Chrome"`' --app="https://play.spotify.com"" # Spotify web client without all the junk | |
# functional | |
chrome_app=`locate "*Google\ Chrome"` | |
web_app () { | |
"$chrome_app" --app="$1" | |
} | |
##### Spotify web client example ##### | |
"$chrome_app" --app="https://play.spotify.com" | |
web_app "https://play.spotify.com" | |
##### Twitter web client example ##### | |
"$chrome_app" -app="https://twitter.com/SteveJobsFilm" | |
web_app "https://twitter.com/SteveJobsFilm" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment