This PR includes:
1- Updated the code to reflect the changes made from version 6.3 to 6.5, which is the latest version available at https://git.suckless.org/dwm/. However, I skipped about two commits or so as they did not add anything and did not reduce complexity.
2- Simplification of the Makefile by replacing cp commands with install, streamlining file copying and permission setting and added conditional installation logic to ensure dwm.desktop is only installed if it doesn't already exist in /usr/share/xsessions/.
3- Uncommented the OPTIMISATIONS flag in config.mk and added -mtune=native to it, so the code is optimised for the machine's specific CPU architecture.
4- Eliminated the reference to transient.c and purged dwm.c.rej and dwm.c.orig files, streamlining the codebase.
By the way, apologies for my last commit regarding posix_spawnp(). It was, in fact, tested for months, but I completely forgot to include extern char **environ; in the code. My oversight, I'm afraid. However, I've ensured that this pull request will function as intended.
This PR includes: 1- Updated the code to reflect the changes made from version 6.3 to 6.5, which is the latest version available at https://git.suckless.org/dwm/. However, I skipped about two commits or so as they did not add anything and did not reduce complexity. 2- Simplification of the Makefile by replacing cp commands with install, streamlining file copying and permission setting and added conditional installation logic to ensure
dwm.desktop
is only installed if it doesn't already exist in/usr/share/xsessions/
. 3- Uncommented the OPTIMISATIONS flag in config.mk and added-mtune=native
to it, so the code is optimised for the machine's specific CPU architecture. 4- Eliminated the reference to transient.c and purged dwm.c.rej and dwm.c.orig files, streamlining the codebase.By the way, apologies for my last commit regarding posix_spawnp(). It was, in fact, tested for months, but I completely forgot to include extern char **environ; in the code. My oversight, I'm afraid. However, I've ensured that this pull request will function as intended.