Vicente
Vicente
Hi, it works fine for me, maybe is because the function was added on [January](https://github.com/Aylur/astal/commit/9a83bcd2bd33ee95a69069d07c56bedec05c7d02) What version are u on?
Hi, @sameoldlab i've been testing this out and im getting a problem where if i call `AstalNiri.get_default().workspaces` i get `null` instead of `Workspace[]`. I dont' really know what it could...
@sameoldlab found this [Error: Can't convert non-null pointer to JS value ](https://aylur.github.io/astal/guide/typescript/faq#error-can-t-convert-non-null-pointer-to-js-value), So probably can be fixed by adding this in the [workaround](https://github.com/Aylur/astal/blob/main/lang/gjs/src/overrides.ts) ```ts await suppress(import("gi://AstalNiri"), ({ Niri }) =>...
@sameoldlab Thanks! I'm gonna check if there's any other property that should be added and i'll make the PR
@joaoptpsa U can use commit `21909e3eb03bc738cce497f45602bf157b396672` until it gets fixed
@joaoptpsa Did u run `Lazy restore` after setting the commit?
@aaronedev Yeah, if u remove and install you'll get the latest commit. If u want to update to the version in the lockfile (`lazy-lock.json`) you have to run `:Lazy restore`...
Hi, well... not sure if it is what you are seeking, but i made 2 simple classes so i could display on the bar if there are any vpn connections....
Hi, not sure if u still have the problem, but i think you can achieve your goal by using the nvim api. The function `nvim_buf_line_count({buffer})` returns the number of lines...