Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

randrctl does not show currently-selected profile anywhere #26

Open
drws opened this issue Dec 6, 2020 · 1 comment
Open

randrctl does not show currently-selected profile anywhere #26

drws opened this issue Dec 6, 2020 · 1 comment

Comments

@drws
Copy link

drws commented Dec 6, 2020

Unfortunately randrctl show always shows name: current, which is probably not the desired output?

randrctl list also does not show which profile is selected. Additional suggestion would be that randrctl 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!

@koiuo
Copy link
Owner

koiuo commented Jan 5, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants