Skip to content

Commit

Permalink
Use $ instead of ` char
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdal committed Jun 30, 2018
1 parent cb7448a commit 37c9ff0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Network/viscosity-active-connection.1s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
# <bitbar.author.github>bogdal</bitbar.author.github>
# <bitbar.dependencies>bash,viscosity</bitbar.dependencies>

CONNECTION_NAME=`osascript -e '
CONNECTION_NAME=$(osascript -e '
tell application "Viscosity"
repeat with _connection in connections
if the state of _connection is "Connected" then
return name of _connection
end if
end repeat
end tell
'`
')

if [ -n "$CONNECTION_NAME" ]; then
echo "$CONNECTION_NAME | color=green"
Expand Down

0 comments on commit 37c9ff0

Please sign in to comment.