Configured hyprbars

This commit is contained in:
2025-08-28 23:48:48 +03:00
parent 06e8b5e4f9
commit c5c01ee15c

View File

@@ -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