tmux-cpu
tmux-cpu copied to clipboard
Adding Swap
I dont know how to fix it, but i put inside a code that gives percentages, so it needs just your adjustments. Renamed a copy of gpu and ram files to swap and inside contents to swap. And made bigger readme for better example of swap.
This plugin was initially designed to only display CPU information, then GPU info was added. I don't think we should expand the scope of this plugin further. Creating a tmux-memory seems the best approach IMO. @casperdcl What's your opinion on that?
I've been thinking hard about this and the main goal for me is to minimise code duplication. There's a lot of repetition in tmux-cpu
's source, and if we create tmux-memory
we're really just duplicating across repos rather than just files.
The real solution I think is to redesign tmux-cpu
's source a bit. I'm super busy but could take a look again in a couple of weeks (ping me again if I'm unresponsive).