Sanity check reports errors from plugins

Issuing

Hyprland --verify-config

reports dispatcher errors from enabled plugins, like so:

[LOG] Using config: /home/user/.config//hypr/hyprland.conf
[LOG] Using config: /home/user/.config//hypr/hyprland.conf
[ERR] Invalid dispatcher: hyprexpo:expo
[ERR] Invalid dispatcher: plugin:xtd:closeunfocused
[LOG] CWindowRule: direct prop rule found, rewritten nofocus -> prop nofocus


======== Config parsing result:

Config error in file /home/user/.config/hypr/settings/keybinds.conf at line 44: Invalid dispatcher, requested "hyprexpo:expo" does not exist
Config error in file /home/user/.config/hypr/settings/keybinds.conf at line 46: Invalid dispatcher, requested "plugin:xtd:closeunfocused" does not exist
Config error in file /home/user/.config/hypr/hyprland.conf at line 1: Config error in file /home/user/.config/hypr/settings/keybinds.conf at line 44: Invalid dispatcher, requested "hyprexpo:expo" does not exist
Config error in file /home/user/.config/hypr/settings/keybinds.conf at line 46: Invalid dispatcher, requested "plugin:xtd:closeunfocused" does not exist

The plugin.conf is the following:

plugin {
    hyprexpo {
        columns = 3
        gap_size = 5
        bg_col = rgb(111111)
        workspace_method = center current
   }
}

The keybinds for hyprexpo & xtra-dispatchers are:

bind = $mainMod, grave, hyprexpo:expo, toggle

bind = $mainMod, C, plugin:xtd:closeunfocused

And the status of the plugins is:

hyprpm list
β†’ Repository hyprland-plugins:
  β”‚ Plugin borders-plus-plus
  └─ enabled: false

  β”‚ Plugin csgo-vulkan-fix
  └─ enabled: false

  β”‚ Plugin hyprbars
  └─ enabled: false

  β”‚ Plugin hyprexpo
  └─ enabled: true

  β”‚ Plugin hyprfocus
  └─ enabled: false

  β”‚ Plugin hyprscrolling
  └─ enabled: false

  β”‚ Plugin hyprtrails
  └─ enabled: false

  β”‚ Plugin hyprwinwrap
  └─ enabled: false

  β”‚ Plugin xtra-dispatchers
  └─ enabled: true

FWIW, both enabled plugins work as expected.
System is archlinux, fully updated.

Is that an expected outcome of plugin reported errors or am I missing something?
I would really appreciate some sort of feedback.

TIA

That doesn’t load any plugins, so it has no way of knowing about those.

If you want to use that cmd, you can wrap the plugin entries with

# hyprlang noerror true

... stuff

# hyprlang noerror false

to skip the errors.

1 Like

Thank you @vaxry
Understood.

I am clueless of β€œβ€¦ stuff”
Could you elaborate. Not sure what you mean.

As a footnote,
I also noticed that when logging-in with uwsm, for a fraction of a sec there appears on top of the screen a hint of the xtra-dispatchers not available or something of the likes. Almost no time to read it.
I’ve intercepted the login with hyprlock. That gives adequate time to observe the notification that plugins are properly loaded.
However, that same message on top of the screen pops up once I enter the password and login. It is similar in appearance to a syntax error in the config.

Again I say, both enabled plugins work fine.

I sincerely thank you for taking time to respond and congrats for your work.
As a 10+ years user of openbox, I can definitely say that Hyprland is now my-way-to-go.

...stuff was just my way of saying β€œput anything that produces errors because of plugins inside there”

1 Like