2023-02-28 21:30:51 +01:00
|
|
|
# hyprbars
|
|
|
|
|
|
|
|
Adds simple title bars to windows.
|
|
|
|
|
2023-03-01 00:21:20 +01:00
|
|
|
![preview](https://i.ibb.co/GkDTL4Q/20230228-23h20m36s-grim.png)
|
|
|
|
|
2023-02-28 21:30:51 +01:00
|
|
|
## Config
|
|
|
|
|
|
|
|
All config options are in `plugin:hyprbars`:
|
|
|
|
|
|
|
|
```
|
|
|
|
plugin {
|
|
|
|
hyprbars {
|
2023-10-29 18:33:32 +01:00
|
|
|
# example config
|
|
|
|
bar_height = 20
|
|
|
|
|
|
|
|
# example buttons (R -> L)
|
|
|
|
# hyprbars-button = color, size, on-click
|
|
|
|
hyprbars-button = rgb(ff4040), 10, hyprctl dispatch killactive
|
|
|
|
hyprbars-button = rgb(eeee11), 10, hyprctl dispatch fullscreen 1
|
2023-02-28 21:30:51 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
`bar_color` -> (col) bar's background color
|
2023-02-28 21:31:28 +01:00
|
|
|
|
2023-02-28 21:30:51 +01:00
|
|
|
`bar_height` -> (int) bar's height (default 15)
|
2023-02-28 21:31:28 +01:00
|
|
|
|
2023-05-01 21:02:05 +02:00
|
|
|
`col.text` -> (col) bar's title text color
|
2023-02-28 21:31:28 +01:00
|
|
|
|
2023-02-28 21:30:51 +01:00
|
|
|
`bar_text_size` -> (int) bar's title text font size (default 10)
|
2023-02-28 21:31:28 +01:00
|
|
|
|
2023-05-01 21:02:05 +02:00
|
|
|
`bar_text_font` -> (str) bar's title text font (default "Sans")
|
|
|
|
|
|
|
|
## Buttons Config
|
|
|
|
|
2023-10-29 18:33:32 +01:00
|
|
|
Use the `hyprbars-button` keyword.
|
2023-05-01 21:02:05 +02:00
|
|
|
|
2023-10-29 18:33:32 +01:00
|
|
|
```ini
|
|
|
|
hyprbars-button = color, size, on-click
|
|
|
|
```
|