Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing plugin: prefix in config instructions in README #11

Open
oscar-schwarz opened this issue Oct 24, 2024 · 2 comments
Open

Missing plugin: prefix in config instructions in README #11

oscar-schwarz opened this issue Oct 24, 2024 · 2 comments

Comments

@oscar-schwarz
Copy link

oscar-schwarz commented Oct 24, 2024

Hi,
I just had some headaches to get this plugin working (now it works like a charm, great work!) but it seems there's an error in the README. Apparently, this doesn't work:

hyprfocus {
  ;...
}

but this does:

plugin:hyprfocus {
  ;...
}

I am on NixOS with home-manager maybe that's the issue? The hyprland plugins here are not loaded through hyprpm but installed "manually" by loading the .so file through the plugin keyword.

(I know there has been a PR about this already but thats closed so I am opening another issue)

@sychromy
Copy link

sychromy commented Nov 3, 2024

I had same problem on Arch just now, so it's not specific for Nix

@oscar-schwarz
Copy link
Author

I figured its because it should be either in the attribute set plugin or have the plugin: prefix.

plugin {
  hyprfocus {
    ...
  }
}

is aquivalent to

plugin:hyprfocus {
  ...
}

So its just a syntax thing with the hyprland config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants