Skip to content

Instantly share code, notes, and snippets.

@estysdesu
Last active July 21, 2019 05:52
Show Gist options
  • Save estysdesu/150f66b27fb8aefc5ed654fe06d6e0a9 to your computer and use it in GitHub Desktop.
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
#!/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