Open drws opened 3 years ago
randrctl is per se stateless, we can't store its state anywhere because X configuration can be updated by any other means, which will lead to inconsistency between randrctl state and actual X configuration.
We could print the name of the profile that fully matches current configuration (even if X was configuration by some other means, not randrctl).
Issue noted, but I won't have time to work on it any time soon. Sorry about that.
Unfortunately
randrctl show
always showsname: current
, which is probably not the desired output?randrctl list
also does not show which profile is selected. Additional suggestion would be thatrandrctl list
somehow indicates which of the profiles is currently in use (with asterisk symbol or colored output for example).In the title I am exaggerating a bit. There is a way to see the selected profile by running randrctl in verbose mode, but it is not really a versatile solution. Also a notification is displayed while switching profile, but that information is lost afterwards. In my opinion, a reliable way to query the current profile is needed or am I missing something?
Thank you for this wonderful utility and keep up the great work!