hyprwm / hyprland-plugins

Official plugins for Hyprland
BSD 3-Clause "New" or "Revised" License
459 stars 42 forks source link

Extra buttons when reloading config #157

Closed Roknor closed 2 months ago

Roknor commented 2 months ago

2024-04-26T13:02:37,546284847+03:00 Just as the title says, every time you reload the hyprland config, there is a new set of buttons spawned. I'm using the hyprland-git from AUR, which i update daily. This was not happening a week or so ago.

Here's my plugin.conf:

plugin {
    hyprbars {
        bar_height = 24
        bar_color = $background
        col.text = $foreground
        bar_title_enabled = yes
        bar_text_font = JetBrains Nerd Font
        bar_text_size = 10
        bar_text_align = center
        bar_buttons_alignment = right
        bar_part_of_window = yes
        bar_precedence_over_border = yes
        bar_padding = 5
        bar_button_padding = 5

        # hyprbars-button = color, size, on-click
        hyprbars-button = $color2, 16, 󰖭, hyprctl dispatch killactive
        hyprbars-button = $color5, 16, 󰖯, hyprctl dispatch fullscreen 1
        hyprbars-button = $color7, 16, 󰫳, hyprctl dispatch togglefloating
    }
}

This is not a showstopper, but still slightly annoying with my setup. Let me know if there's any other info i can provide.

vaxerski commented 2 months ago

dupe and already fixed #155