https://github.com/buccolo/anybar
Elixir interface for interacting with AnyBar
https://github.com/buccolo/anybar
anybar elixir
Last synced: 9 months ago
JSON representation
Elixir interface for interacting with AnyBar
- Host: GitHub
- URL: https://github.com/buccolo/anybar
- Owner: buccolo
- Created: 2017-02-03T14:51:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-16T01:03:27.000Z (over 9 years ago)
- Last Synced: 2025-10-06T21:59:15.364Z (9 months ago)
- Topics: anybar, elixir
- Language: Elixir
- Size: 15.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AnyBar [](https://circleci.com/gh/buccolo/anybar) [](https://hex.pm/packages/anybar)
Elixir interface to [AnyBar](https://github.com/tonsky/AnyBar)
## Installation
First, add AnyBar to your `mix.exs` dependencies:
```elixir
def deps do
[{:anybar, "~> 0.3.0"}]
end
```
Then, update your dependencies:
```sh-session
$ mix deps.get
```
## Usage
Your program can interact with AnyBar through the API:
```elixir
AnyBar.change("orange")
#=> :ok
AnyBar.change("red", 12345)
#=> :ok
```
Or by running a mix task:
```sh-session
$ mix anybar orange
```
Or by installing the escript:
```sh-session
$ mix escript.install hex anybar
./anybar blue
```