From c5c01ee15c314d91af9b440ef2e0f8ef1d8afc94 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 28 Aug 2025 23:48:48 +0300 Subject: [PATCH] Configured hyprbars --- .config/hypr/hyprland.conf | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 3da26bf..91a8cb4 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -81,7 +81,7 @@ general { col.inactive_border = rgba(595959aa) # Set to true enable resizing windows by clicking and dragging on borders and gaps - resize_on_border = false + resize_on_border = true # Please see https://wiki.hypr.land/Configuring/Tearing/ before you turn this on allow_tearing = false @@ -319,10 +319,13 @@ windowrule = noinitialfocus, class:^(flameshot)$ # before executing flameshot windowrule = monitor 1, class:^(flameshot)$ -windowrule = float, class:^(.*gwenview.*)$ +# List of programs to open as floating windows windowrule = float, class:^(.*dolphin.*)$ -windowrule = plugin:hyprbars:bar_color rgb(ff0000), class:^(.*gwenview.*)$ +windowrule = float, class:^(.*gwenview.*)$ +windowrule = move (1920/2) 50, class:^(.*gwenview.*)$ +# Only show hyprbars for floating windows +windowrulev2 = plugin:hyprbars:nobar, ^floating:0 ############### ### Plugins ### @@ -330,14 +333,14 @@ windowrule = plugin:hyprbars:bar_color rgb(ff0000), class:^(.*gwenview.*)$ plugin { hyprbars { - enabled = true - # example config - bar_height = 20 + bar_height = 28 + bar_color = rgb(1e1e1e) + bar_precedence_over_border = true + bar_text_font = JetBrainsMono NF - # 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 + hyprbars-button = rgb(f16265), 18, , hyprctl dispatch killactive + # hyprbars-button = rgb(46d46c), 18, , hyprctl dispatch fullscreen 1 # cmd to run on double click of the bar on_double_click = hyprctl dispatch fullscreen 1