tmux-cpu icon indicating copy to clipboard operation
tmux-cpu copied to clipboard

Adding Swap

Open kangarooo opened this issue 3 years ago • 2 comments

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.

kangarooo avatar Mar 15 '21 17:03 kangarooo

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?

ctjhoa avatar Mar 16 '21 13:03 ctjhoa

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).

casperdcl avatar Mar 16 '21 13:03 casperdcl