Vyacheslav Ananev
Vyacheslav Ananev
Don't forget do `return` ```ts server.setErrorHandler((error, request, reply) => { if (error instanceof ZodError) { reply.status(400).send({ statusCode: 400, error: 'Bad Request', message: 'Validation error', errors: JSON.parse(error.message), }); return; } reply.send(error);...
I think that instead of the class it is worth adding the `visible-empty` property, I wanted to do this but could not install the dependencies с: ``` error: could not...
~~[I implemented it in this PR](https://github.com/elkowar/eww/pull/1097)~~
```bash #!/bin/bash count=0 dbus-monitor --session "interface='org.kde.StatusNotifierWatcher'" | while read -r signal; do if [[ $signal == *"StatusNotifierItemRegistered"* ]]; then count=$(($count + 1)) elif [[ $signal == *"StatusNotifierItemUnregistered"* ]] then count=$(($count...
Most likely this is not the best solution, I think it’s worth passing a condition on the number of elements in the tray in :visible, you don’t have to merge...
@jlo62, i wrote a stupid script to count the number of elements in the tray, you can use it together with `deflisten` and `:visible` ```bash #!/bin/bash count=0 dbus-monitor --session "interface='org.kde.StatusNotifierWatcher'"...
@elkowar, perhaps this method should be added to the docs or add a magic variable with the number of elements in the systray. Perhaps it’s generally worth disabling the widget’s...
I had same issue (ArchLinux) List command prints me ``` > npx @ts-for-gir/cli list Dependencies not found: - cairo-1.0 - freetype2-2.0 - xlib-2.0 - xft-2.0 - fontconfig-2.0 - libxml2-2.0 -...
@kotontrion thanks, yes, that was the problem, after installing this package I was able to initialize the project using `ags init`.