-
-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -156,14 +156,22 @@ ANYBAR_PORT=1739 open -na AnyBar | |
ANYBAR_PORT=1740 open -na AnyBar | ||
``` | ||
|
||
You can specify title to distinguish dots in the menubar: | ||
## Environment variables to specify a title and the initial color of the dot | ||
|
||
A title can be set to distinguish dots in the menubar: | ||
|
||
```sh | ||
ANYBAR_PORT=1738 ANYBAR_TITLE=First open -na AnyBar | ||
ANYBAR_PORT=1739 ANYBAR_TITLE=Second open -na AnyBar | ||
ANYBAR_PORT=1740 ANYBAR_TITLE=Third open -na AnyBar | ||
``` | ||
|
||
And the initial color of the dot can also be set: | ||
|
||
```sh | ||
ANYBAR_INIT=blue open -na AnyBar | ||
``` | ||
|
||
## Custom images | ||
|
||
AnyBar can detect and use local custom images stored in the `~/.AnyBar` directory. For example, if you have a `~/.AnyBar/[email protected]` image, send `square` to port 1738 and it will be displayed. Images should be 19×19 pixels for standard resolution, and 38x38 pixels for retina (@2x). | ||
|