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

ags:tools changeres.sh improvement #866

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

h0useofdupree
Copy link

I wanted to contribute a little something so I changed the changeres script a bit.

Following changes where made:

  1. Improved code style a bit for readability and simplicity
  2. Only change the currently focused monitor
  3. Omit overwriting lines without monitor specified (e.g. 'monitor = , preferred, auto, 1')

Let me know if this is sane and wanted. If 3. should be configured to only leave exactly that line for people that set monitor unspecific resolution I can easily change the script to do that. I personally don't.

streamline some functions and variable syntax and simplify the config
overwriting
… monitor name original

Change the currently focused monitor and don't change lines without name
like 'monitor = , preferred, auto, 1' (used for setting up
hotplugged/unconfigured monitors)
@h0useofdupree h0useofdupree changed the title changeress improvement ags:tools changeres.sh improvement Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant