hyprland-plugins/hyprbars
Vaxry 4bb0bf04ed hyprbars: fix workspace offset calculation 2023-11-12 22:45:42 +00:00
..
Makefile all: add -O2 to compiler args 2023-11-04 00:48:52 +00:00
README.md hyprbars: make part_of_window configurable 2023-11-12 12:46:32 +00:00
barDeco.cpp hyprbars: fix workspace offset calculation 2023-11-12 22:45:42 +00:00
barDeco.hpp all: update for hyprland#3800 2023-11-11 14:39:46 +00:00
default.nix Use `pname` instead of `name` for plugin derivations 2023-05-11 10:40:04 +03:00
globals.hpp hyprbars: add icon support + general improvements 2023-10-29 22:33:14 +00:00
main.cpp hyprbars: make part_of_window configurable 2023-11-12 12:46:32 +00:00
meson.build Unbreak build on FreeBSD (#23) 2023-05-07 15:38:50 +01:00

README.md

hyprbars

Adds simple title bars to windows.

preview

Config

All config options are in plugin:hyprbars:

plugin {
    hyprbars {
        # 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
    }
}

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")

bar_part_of_window -> (bool) whether the bar is a part of the main window (if it is, stuff like shadows render around it)

Buttons Config

Use the hyprbars-button keyword.

hyprbars-button = color, size, icon, on-click