thrombe / hyprkool

Hyprland plugin to replicate the feel of kde activities and desktop grid layout
MIT License
47 stars 3 forks source link

nix: filename of the shared object doesn't have `lib` prefix #4

Closed postsolar closed 4 months ago

postsolar commented 4 months ago

The following HM option

wayland.windowManager.hyprland.plugins = [
  inputs.hyprkool.packages.${pkgs.system}.hyprkool-plugin
];

will generate a line like this in final hyprland.conf

plugin=/nix/store/6ym96zfmf7qy2x732qjm0cap43ns7vsc-hyprkool-0.5.0/lib/libhyprkool.so

but the path of the lib is actually /nix/store/<hash>-hyprkool-0.5.0/lib/hyprkool.so, without the lib prefix.

Every plugin I've seen has lib prefix, so I guess hyprkool should too.

Hyprkool pin: 564b7f8

thrombe commented 4 months ago

i see. i did not try the home-manager plugin because of how i have set up hyprland. i'll add the 'lib' and push a fix.

thrombe commented 4 months ago

added 'lib' prefix in commit 60652b7. can you check if it works for you now?

postsolar commented 4 months ago

Yep now there's no need to change it manually. Thank you