From 41d5abc61381980e009c7b0442e7b60dbfc05fa1 Mon Sep 17 00:00:00 2001 From: hello there Date: Sun, 27 Jul 2025 23:50:34 +0000 Subject: [PATCH 1/2] Include hyprbars example config The current readme does not include instructions to make it look like the reference screenshot. This change includes that config. --- hyprbars/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/hyprbars/README.md b/hyprbars/README.md index 250e20d..b3b6a6b 100644 --- a/hyprbars/README.md +++ b/hyprbars/README.md @@ -4,6 +4,28 @@ Adds simple title bars to windows. ![image](https://github.com/user-attachments/assets/184a66b9-eb91-4f6f-8953-b265a2735939) +_Example config taken from [EvanKoe's dotfiles](https://github.com/EvanKoe/dotfiles_2023) (requires light wallpaper to look good):_ + +``` +plugin { + hyprbars { + bar_height = 30 + bar_buttons_alignment = left + bar_part_of_window = true + bar_blur = true + bar_padding = 12 + bar_button_padding = 8 + bar_color = rgba(ffffff55) + col.text = rgb(212121) + + hyprbars-button = rgb(dd0000), 15, , hyprctl dispatch killactive + hyprbars-button = rgb(00dd00), 15, , hyprctl dispatch fullscreen 1 + hyprbars-button = rgb(eeee00), 15, , hyprctl dispatch pseudo + hyprbars-button = rgb(5577ff), 15, , hyprctl dispatch togglefloating + } +} +``` + ## Config All config options are in `plugin:hyprbars`: From fac8368a7f1de2ecf32e7ff73c66fce98136639d Mon Sep 17 00:00:00 2001 From: hello there Date: Mon, 28 Jul 2025 00:21:53 +0000 Subject: [PATCH 2/2] Include windowrules --- hyprbars/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hyprbars/README.md b/hyprbars/README.md index b3b6a6b..c099aa1 100644 --- a/hyprbars/README.md +++ b/hyprbars/README.md @@ -15,7 +15,7 @@ plugin { bar_blur = true bar_padding = 12 bar_button_padding = 8 - bar_color = rgba(ffffff55) + bar_color = rgba(ffffffcc) col.text = rgb(212121) hyprbars-button = rgb(dd0000), 15, , hyprctl dispatch killactive @@ -24,6 +24,14 @@ plugin { hyprbars-button = rgb(5577ff), 15, , hyprctl dispatch togglefloating } } +windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 +windowrule = plugin:hyprbars:bar_color rgb(CDE7ED), class:^(google-chrome) + +windowrule = plugin:hyprbars:bar_color rgba(1d2330ea), class:^(kitty) +windowrule = plugin:hyprbars:title_color rgb(dddddd), class:^(kitty) + +windowrule = plugin:hyprbars:bar_color rgb(273F44), class:^(google-chrome) initialTitle:DevTools +windowrule = plugin:hyprbars:title_color rgb(dddddd), class:^(google-chrome) initialTitle:DevTools ``` ## Config