Macchina-CLI / macchina

A system information frontend with an emphasis on performance.
https://crates.io/crates/macchina
MIT License
1.49k stars 52 forks source link

[IDEA] Support for showing sessions (X11 or Wayland) #185

Closed VarLad closed 3 years ago

VarLad commented 3 years ago

macchina doesn't have session (to display X or Wayland in Linux) That'd be convenient

grtcdr commented 3 years ago

Is it okay if we append this to the output of your Window Manager?

For example:

WM  ->  Sway (Wayland)
or
WM  ->  Mutter (X11)
VarLad commented 3 years ago

Yeah, that'd be even better

grtcdr commented 3 years ago

It's in https://github.com/Macchina-CLI/macchina/commit/60128e00bf57c98f33adcb5a292d56f4151cb833 :partying_face:

VarLad commented 3 years ago

I'll be honest, once it can show GPU info, macchina should be the best de-facto fetch program :laughing:

grtcdr commented 3 years ago

aparato was actually created solely to bring GPU information to libmacchina (and macchina), without any sort of weird dependencies. Unfortunately, it proved to be really hard to maintain multiple projects at once.

I plan to get back to aparato some day to optimize it and fix its inherent issues, like the slowness and inaccuracy. But I don't know when that will happen, university is just too time consuming.

VarLad commented 3 years ago

university is just too time consuming.

True, that. :smiley: I hope GPU info comes soon, but you can do it whenever you get time for it! :smile:

grtcdr commented 3 years ago

Just a heads up on the session readout: if macchina fails to fetch your window manager (or if you don't have wmctrl installed), then session information will not show up as well.