mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 18:51:04 +02:00
feat: add support for showing bar at top of screen
This commit is contained in:
parent
19d009fe5b
commit
a358037d3e
8 changed files with 77 additions and 15 deletions
11
README.md
11
README.md
|
@ -21,8 +21,7 @@ Then just run with `ironbar`.
|
|||
|
||||
## Configuration
|
||||
|
||||
By default, running will get you a blank bar. To start, you will need a configuration file in `.config/ironbar`.
|
||||
Ironbar supports a range of file formats so pick your favourite:
|
||||
By default, running will get you a blank bar. To start, you will need a configuration file in `.config/ironbar`. This could be called `config.<fmt>`, using one of the available extensions:
|
||||
|
||||
- JSON
|
||||
- TOML
|
||||
|
@ -71,6 +70,14 @@ The monitor's config object takes any combination of `left`, `center`, and `righ
|
|||
}
|
||||
```
|
||||
|
||||
| Name | Type | Default | Description |
|
||||
|------------|-------------------|---------|-----------------------------------------------------------------------------|
|
||||
| `position` | `top` or `bottom` | `[]` | The bar's position on screen. |
|
||||
| `left` | `Module[]` | `[]` | Array of left modules. |
|
||||
| `center` | `Module[]` | `[]` | Array of center modules. |
|
||||
| `right` | `Module[]` | `[]` | Array of right modules. |
|
||||
| `monitors` | `RootConfig[]` | `null` | Array of root config objects for each monitor. Overrides left/center/right. |
|
||||
|
||||
## Styling
|
||||
|
||||
To get started, create a stylesheet at `.config/ironbar/style.css`. Changes will be hot-reloaded every time you save the file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue