mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-25 11:45:59 +01:00
e80bf4a44d
* use pangocairo to draw title * add padding and ellipsis * add max and close colors to config * remove snake case, better config variable names * add pangocairo as a dependency to meson build * add `buttons:button_size`, adjust for bordersize * add button_size doc --------- Co-authored-by: nehrbash <stephen.nehrbass@infinitetactics.com>
38 lines
709 B
Markdown
38 lines
709 B
Markdown
# hyprbars
|
|
|
|
Adds simple title bars to windows.
|
|
|
|
![preview](https://i.ibb.co/GkDTL4Q/20230228-23h20m36s-grim.png)
|
|
|
|
## Config
|
|
|
|
All config options are in `plugin:hyprbars`:
|
|
|
|
```
|
|
plugin {
|
|
hyprbars {
|
|
# config
|
|
buttons {
|
|
# button config
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
`bar_color` -> (col) bar's background color
|
|
|
|
`bar_height` -> (int) bar's height (default 15)
|
|
|
|
`col.text` -> (col) bar's title text color
|
|
|
|
`bar_text_size` -> (int) bar's title text font size (default 10)
|
|
|
|
`bar_text_font` -> (str) bar's title text font (default "Sans")
|
|
|
|
## Buttons Config
|
|
|
|
`button_size` -> (int) the size of the buttons.
|
|
|
|
`col.maximize` -> (col) maximize button color
|
|
|
|
`col.close` -> (col) close button color
|