Skip to content

Commit ce2114b

Browse files
committed
Version 0.1.3
1 parent 9722075 commit ce2114b

2 files changed

Lines changed: 23 additions & 2 deletions

File tree

Binary file not shown.

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ AnyBar is a small indicator for your menubar that does one simple thing: it disp
66

77
## Download
88

9-
Version 0.1.2:
9+
Version 0.1.3:
1010

11-
<a href="https://github.com/tonsky/AnyBar/releases/download/0.1.2/AnyBar.app.zip"><img src="AnyBar/Images.xcassets/AppIcon.appiconset/icon_128x128@2x.png?raw=true" style="width: 128px;" width=128/></a>
11+
<a href="https://github.com/tonsky/AnyBar/releases/download/0.1.3/AnyBar.app.zip"><img src="AnyBar/Images.xcassets/AppIcon.appiconset/icon_128x128@2x.png?raw=true" style="width: 128px;" width=128/></a>
1212

1313
Or using [Homebrew-cask](http://caskroom.io):
1414

@@ -41,6 +41,14 @@ And one special command forces AnyBar to quit: `quit`
4141

4242
## Alternative clients
4343

44+
Bash alias:
45+
46+
```sh
47+
function anybar {
48+
if [ -z "$2" ]; then PORT=1738; else PORT=$2; fi
49+
echo -n $1 | nc -4u -w0 localhost $PORT
50+
}```
51+
4452
Go:
4553
4654
- [justincampbell/anybar](https://github.com/justincampbell/anybar)
@@ -55,6 +63,15 @@ PHP:
5563
5664
- [2bj/Phanybar](https://github.com/2bj/Phanybar)
5765
66+
AppleScript:
67+
68+
```
69+
tell application "AnyBar" to set image name to "blue"
70+
71+
tell application "AnyBar" to set current to get image name as Unicode text
72+
display notification current
73+
```
74+
5875
## Running multiple instances
5976

6077
You can run several instances of AnyBar as long as they listen on different ports. Use `ANYBAR_PORT` environment variable to change port and `open -n` to run several instances:
@@ -71,6 +88,10 @@ AnyBar can use user-local images if you put them under `~/.AnyBar`. E.g. if you
7188

7289
## Changelog
7390

91+
### 0.1.3
92+
93+
- AppleScript support (PR #8, thx [Oleg Kertanov](https://github.com/okertanov))
94+
7495
### 0.1.2
7596

7697
- Dark mode support. In dark mode AnyBar will first check for `<image>_alt@2x.png` or `<image>_alt.png` image first, then falls back to `<image>.png`

0 commit comments

Comments
 (0)