Skip to content

Commit

Permalink
Update AirConnect
Browse files Browse the repository at this point in the history
Icon updated to be official (also compatible with Big Sur)
  • Loading branch information
CartoonChess authored Dec 10, 2020
1 parent 17ba64e commit 21d741e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Music/airconnect.1d.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ readonly processName="aircast-osx-multi"
# Info

# <bitbar.title>AirConnect</bitbar.title>
# <bitbar.version>v1.0</bitbar.version>
# <bitbar.version>v1.1.0</bitbar.version>
# <bitbar.author>CartoonChess</bitbar.author>
# <bitbar.author.github>cartoonchess</bitbar.author.github>
# <bitbar.desc>Launches AirConnect to enable streaming AirPlay audio to Chromecast devices.</bitbar.desc>
# <bitbar.image>https://user-images.githubusercontent.com/43363630/93159526-5214f580-f749-11ea-9b1e-0f5a143643d6.png</bitbar.image>
# <bitbar.dependencies>airconnect</bitbar.dependencies>
# <bitbar.abouturl>https://github.com/philippe44/AirConnect</bitbar.abouturl>
# <bitbar.image>https://user-images.githubusercontent.com/43363630/101709887-aa9f2900-3ad3-11eb-8863-4309a068aa3c.png</bitbar.image>
# <bitbar.dependencies>airconnect,bash</bitbar.dependencies>
# <bitbar.abouturl>https://github.com/cartoonchess/bitbar-airconnect</bitbar.abouturl>



Expand All @@ -40,8 +40,9 @@ readonly app="AirConnect"

# Icons

readonly onIcon=$(cat '/System/Library/CoreServices/Menu Extras/IrDA.menu/Contents/Resources/IRDA3ConnectedCropped.pdf' | openssl base64 | tr -d '\n')
readonly offIcon=$(cat '/System/Library/CoreServices/Menu Extras/IrDA.menu/Contents/Resources/IRDA1IdleCropped.pdf' | openssl base64 | tr -d '\n')
readonly onIcon="iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAABYlAAAWJQFJUiTwAAAGX2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0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