Rofi powermenu

I could use some help regarding my rofi powermenu and powerplan-menu. I have customized the application menu and all the other menus. Here is my config for the application menu:

/*******************************************************
 * ROFI configs i3 Apps menu for EndeavourOS
 * Maintainer: joekamprad [joekamprad //a_t// endeavouros.com]
 *******************************************************/
configuration {
    font:                "Noto Sans Regular 10";
    show-icons:          true;
    icon-theme:          "Qogir";
    display-drun:        "Apps";
    drun-display-format: "{name}";
    scroll-method:       0;
    disable-history:     false;
    sidebar-mode:        false;
}

@theme "catppuccin-macchiato"

It displays the name of the dmenu, which is “Apps” in the top left. But when I try to achieve the same behavior with the powermenu, it does not work. Here is the config:

/*******************************************************
 * ROFI configs i3 powermenu for EndeavourOS
 * Maintainer: joekamprad [joekamprad //a_t// endeavouros.com]
 *******************************************************/
configuration {
    font:            "Noto Sans Regular 10";
    show-icons:      false;
    icon-theme:      "Qogir";
    display-drun:    "Power";
    drun-display-format: "{name}";
    scroll-method:   0;
    disable-history: false;
    sidebar-mode:    false;
}

@theme "catppuccin-macchiato"

I had a look at .config/i3/scripts/powermenu and saw that comment that says that most options don’t work. But I wonder why? When I look at line 140, it seems all fine. I have to admit, I don’t really understand what that script is doing.

BTW the theme I use is the Catppuccin Macchiato Theme.

because it uses legacy rofi coding… and some stuff is handled outside the script already.

ROFI_OPTIONS=(-theme ~/.config/rofi/powermenu.rasi)

its mostly handled in the rasi config… and the theme file used that is @ in to the rasi config…

And the powermenu rasi config has this at the end:

/*removes the text input line*/
mainbox {
  children: [listview];
}

this is removing the

display-drun:    "Power";

to be shown…

This is no longer part of my powermenu.rasi, see above. So why this behavior then?