Skip to content
New issue

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

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

Already on GitHub? # to your account

Refactor Config.h and Add Noborder Patch #18

Merged
merged 1 commit into from
Apr 27, 2024
Merged

Refactor Config.h and Add Noborder Patch #18

merged 1 commit into from
Apr 27, 2024

Conversation

fesowowako
Copy link
Contributor

@fesowowako fesowowako commented Apr 25, 2024

This commit includes the following:
1- Config.h Refactor: Improve readability of config.h, resolving past formatting issues.
2- The "noborder" patch, which permits the concealment of the border when only one client is visible, represents a superior implementation compared to those in suckless patches, as it is less prone to causing bugs. With this implementation, I have yet to encounter a single bug. I have also added a static variable in config.def.h and config.h that allows enabling or disabling noborder for those who do not wish to have this feature at all and would prefer to disable the borders completely.

You should consider changing either the unfocused client colour or the focused client colour so that they can be different, enabling us to differentiate between them, thus making the borders usable.

This commit includes the following:
1- Config.h Refactor: Improve readability of config.h, resolving past formatting issues.
2- The "noborder" patch in a superior implementation compared to those in suckless patches, as it is less prone to causing bugs. With this implementation, I have yet to encounter a single bug. I have also added a static variable in config.def.h and config.h that allows enabling or disabling noborder for those who do not wish to have this feature at all and would prefer to disable the borders completely. Additionally, you should consider changing either the unfocused client colour or the focused client colour so that they can be different, enabling us to differentiate between them, thus making the borders usable.
@ChrisTitusTech
Copy link
Owner

Looks great! Thanks for the additions @fesowowako

@ChrisTitusTech ChrisTitusTech merged commit 1a4ebfc into ChrisTitusTech:main Apr 27, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants