Closed helium18 closed 2 years ago
I assume that my plugin isn't getting detected. Went through my code once again and removed anything that could cause a panic.
Tried putting the plugin in ~/.local/share/pop-launcher/plugins/
. Didn't show up in help
.
Same for /usr/lib/pop-launcher/plugins/
. Tried removing every plugin from this directory except my plugin. Still doesn't show up in help
.
Placed the plugin in /etc/pop-launcher/plugins/
as a last resort and the results are still the same
Is it because of an error in my plugin.ron
file?
(
name: "Search up dict.cc and get translations",
description: "Syntax: { !dict --from <lang> --to <lang> <word>}\nExample: !dict --from en --to de Water",
query: (
help: "!dict ",
regex: "^(!dict).*",
isolate: true
no_sort: true
),
bin: (
path: "dictcc"
),
)
I'm running Pop!_OS 21.10, kernel: 5.15.8-76051508-generic. Pop-shell was preinstalled.
I was playing around with rust and decided to make a pop-launcher plugin. But unfortunately it doesn't work, so I assume that my plugin fails somewhere.
Is there a way by which I can get the plugin logs. I used
eprintln!
to print all my errors. Any tips as to how to set up a development environment to debug a pop-launcher plugin?Thanks! (For anyone wondering, here is my code)
Edit: Fixed a typo