hyprland-plugins/hyprbars
snehrbass e80bf4a44d
Hyprbars: Improve Title Rendering (#16)
* 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>
2023-05-01 20:02:05 +01:00
..
Makefile Hyprbars: Improve Title Rendering (#16) 2023-05-01 20:02:05 +01:00
README.md Hyprbars: Improve Title Rendering (#16) 2023-05-01 20:02:05 +01:00
barDeco.cpp Hyprbars: Improve Title Rendering (#16) 2023-05-01 20:02:05 +01:00
barDeco.hpp hyprbars: fix include paths 2023-05-01 02:57:48 +01:00
globals.hpp hyprbars: fix include paths 2023-05-01 02:57:48 +01:00
main.cpp Hyprbars: Improve Title Rendering (#16) 2023-05-01 20:02:05 +01:00
meson.build Hyprbars: Improve Title Rendering (#16) 2023-05-01 20:02:05 +01:00

README.md

hyprbars

Adds simple title bars to windows.

preview

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