You are not logged in.
the applet is started by this line in autostart.lua:
hl.on("hyprland.start", function ()
...
hl.exec_cmd("nwg-screenshot-applet")
...
end)
,
icon appears in tray, menu is shown on left click but no screenshots are saved.
After starting in terminal i get this:
[andreas@nb-andreas-14 ~]$ nwg-screenshot-applet
error: [string "return hl.dispatch(exec screenshot focused)"]:1: ')' expected near 'screenshot'
→ Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated.
error: [string "return hl.dispatch(exec screenshot fullscreen..."]:1: ')' expected near 'screenshot'
→ Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated.
error: [string "return hl.dispatch(exec screenshot swappy)"]:1: ')' expected near 'screenshot'
→ Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated.Offline
If hyprland is started with the deprecated Hyprlang config the nwg-screenshot-applet works as expected.
Offline
Consider starting a discussion here:
• https://github.com/hyprwm/Hyprland/discussions
Also helpful if you could bisect to find whether this regressed or broken since lua landed:
Offline
I would file a bug here: https://github.com/nwg-piotr/nwg-shell-config. The problem is that this package has not been updated to the new Lua-based syntax.
Offline
this package has not been updated to the new Lua-based syntax.
Yeah that'll be a problem haha.
OP still has at least one hyprland release or maybe two (a few months) where hyprlang will still be supported, so no rush.
Offline
Offline
I Have Linux Perl Can i Download Gnome???
Offline