Add kpxc-search script to system packages

This commit is contained in:
cubernetes 2026-10-21 21:30:09 +02:00
parent e8e13c992e
commit f905de1d2c

View file

@ -482,6 +482,13 @@ with lib;
yq
yt-dlp
yubioath-flutter
(pkgs.writeShellScriptBin "kpxc-search" ''
export GI_TYPELIB_PATH=${pkgs.lib.makeSearchPath "lib/girepository-1.0" [
pkgs.at-spi2-core pkgs.glib.out pkgs.gobject-introspection
]}''${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}
exec ${pkgs.python3.withPackages (ps: [ ps.pygobject3 ])}/bin/python3 ${./scripts/kpxc-search} "$@"
'')
];
programs.ydotool.enable = true;