hyprwm / hyprland-plugins

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

Hyprland crashes with hyprbars and hyprtrails active at the same time #203

Open reinthal opened 4 months ago

reinthal commented 4 months ago

What I want to do

Trying to activate both hyprtrails and hyprbars plugins at the same time.

Expected result

I expect to be able to run these plugins at the same time.

Actual result

Hyprland crashes.

Tests performed

When I run hyprbars or hyprtrails individually hyperland runs OK.

Hyprland version

0.41.2

Plugin versions

hyprbars 0.41.2 hyprtrails 0.41.2

Configurations

plugin {
     borders-plus-plus = {
        add_borders = 1; # 0 - 9

        # you can add up to 9 borders
        col.border_1 = rgb(ffffff);
        col.border_2 = rgb(2222ff);

        # -1 means "default" as in the one defined in general:border_size
        border_size_1 = 10;
        border_size_2 = -1;

        # makes outer edges match rounding of the parent. Turn on / off to better understand. Default = on.
        natural_rounding = "yes";
      };
            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
            }
            hyprtrails {
              color = rgba(ffaa00ff)
            }
          }

with the following nix home-manager configuration

  wayland.windowManager.hyprland = {
    enable = true;
    xwayland.enable = true;
    plugins = [
      pkgs.hyprlandPlugins.borders-plus-plus
      pkgs.hyprlandPlugins.hyprtrails
      pkgs.hyprlandPlugins.hyprbars
    ];

hyprlandCrashReport37838.txt