Releases: BytePaws/sysmon.nvim
v9.9.9 - The Non-Release (Goodbye)
What's new?
Due to recent events involving GitHub and US policy. I am in the process of moving my code to Codeberg where applicable.
Please update your configs accordingly to https://codeberg.org/BytePaws/sysmon.nvim. This repo will be archived for compatiblity.
Thank you.
- Tiara ❤️
v0.1.1 - Fix: Unsafe vim.notify call in libuv callback
What happened?
I found out that apparently NeoVim doesnt like how I previously handled error reporting. Specifically this code part:
stderr:read_start(function(_, data)
if data then
vim.notify("Error: " .. data, vim.log.levels.ERROR)
end
end)Which was supposed to print out any error that had occured while executing the bash commands.
Turns out stderr:read_start runs an asynchronous libuv callback during which we would call vim.notify. This is now deemed unsafe and I assume the latest NeoVim version has now stricter validation, disallowing this call.
To fix this error, I needed to properly schedule my vim.notify call.
stderr:read_start(function(_, data)
if data then
vim.schedule(function()
vim.notify("Error: " .. data, vim.log.levels.ERROR)
end)
end
end)From the user side, nothing changed. Continue to have fun with sysmon. ฅ^>⩊<^ ฅ
- Tiara ❤️
v0.1.0 - Feature complete and ready to go! ฅ^•ﻌ•^ฅ
What's new?
Nothing has changed feature wise from the last alpha. However, since the initial scope of sysmon is now complete, I thought it is well time to release an initial version!
What's this about?
sysmon.nvim is a LunarVim plugin to display (more-or-less) live system resource consumption in the lualine.nvim statusbar.
You can install it by adding it to the plugins section of your LunarVim config. ^^
lvim.plugins = {
{
"git@github.com:BytePaws/sysmon.nvim",
config = function()
require('sysmon')
end,
},
}For config options and more information checkout the project's README.
I hope you enjoy this little plugin of mine. ฅ^>⩊<^ ฅ
If you have any problems or suggestions, please feel free to open a discussion or send me a mail.
- Tiara ❤️
Full Changelog: v0.1.0_alpha.4...v0.1.0
Alpha 3 - Enable customization of fetch interval
What's new?
You are now able to choose the interval in which sysmon will fetch the use of your system ressources and therefore override my arbitrarily chosen 2 seconds interval.
To do so, simply add this code to your LunarVim configuration:
lvim.plugins = {
{
"git@github.com:TiaraNivani/sysmon.nvim",
config = function()
local sysmon = require('sysmon')
sysmon.setup({ update_interval = 5000 }) -- Example: 5 seconds interval. Change this to the value you want.
end,
},
}I hope you have fun with this new version! ฅ^>⩊<^ ฅ
If you encounter any issues, please don't hesitate to report them.
- Tiara ❤️
Alpha 2 - Switch to timer based refresh
What?
This release fixes the main issue of the previous one: The system stats not updating when the cursor stand still.
This was due to me using the CursorHold and CursorHoldI events. I thought this event would continue to fire while the cursor stands still, however it only fires once when there has not been an input in a set period of time.
This is fixed now by moving to a timer based approach. SysMon now fetches your system stats every 2 seconds no matter what.
Hope you enjoy this new version!
- Tiara ❤️
Full Changelog: v0.1.0_alpha.1...v0.1.0_alpha.2
Alpha 1 Release
What?
Quick, dirty but it works! :D
- SysMon displays the user's system resource usage as text in the bottom status bar.
Known Issues
- Currently the values do not update when the cursor stands still (That's a bug with my usage of the
CursorHoldevent) - Does not support any other status bar plugins than LuaLine