Skip to content

Conversation

@fesowowako
Copy link
Contributor

@fesowowako fesowowako commented Feb 25, 2024

Suckless Updates: Integrate latest dwm updates from the Suckless project.
Config.h Refactor: Improve readability of config.h, resolving past formatting issues.
In the dwm.c modification, I swapped the fork() and execvp() code for posix_spawnp(). This change enhances efficiency by minimising system calls, which speeds up process creation. posix_spawnp() also offers finer control over the new process, such as setting attributes, optimising its performance.

@fesowowako fesowowako changed the title Merge Suckless Updates and Refactor Config.h Merge Suckless Updates, Refactor Config.h and Enhance dwm Performance Feb 25, 2024
@narukeh
Copy link

narukeh commented Mar 22, 2024

This seems pretty nice. As for the formating, i have added this:
/* vim:set ts=8 sw=8: */
at the top of the file, then "long-cells-in-coulums" look better, though not always :D

Could you, mayhaps, implement #222?

@fesowowako
Copy link
Contributor Author

In the latest config.mk update, I've upgraded the version to 6.5 and introduced an optional optimisations flag for those who wish to utilise them. Additionally, I've included the -Wno-unused-function flag in the CFLAGS, which suppresses warnings about unused functions, thereby removing dead code.

@fesowowako
Copy link
Contributor Author

This seems pretty nice. As for the formating, i have added this: /* vim:set ts=8 sw=8: */ at the top of the file, then "long-cells-in-coulums" look better, though not always :D

Could you, mayhaps, implement #222?

I will investigate it and aim to implement it within the next three weeks, though I am quite busy at the moment.

@LukeSmithxyz LukeSmithxyz merged commit 8282394 into LukeSmithxyz:master Jul 19, 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.

3 participants