From ab7169b16a8e1ce48f50faa51268ca2b964244e9 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Thu, 11 Dec 2025 21:18:52 +0800 Subject: Fix prose in suckless post. --- _site/blog/index.html | 2 +- _site/blog/suckless-software/index.html | 35 ++++++++++++++++----------------- _site/feed.xml | 2 +- _site/index.html | 2 +- _site/posts.xml | 2 +- 5 files changed, 21 insertions(+), 22 deletions(-) (limited to '_site') diff --git a/_site/blog/index.html b/_site/blog/index.html index c213ee5..84a22b6 100644 --- a/_site/blog/index.html +++ b/_site/blog/index.html @@ -46,7 +46,7 @@ - How I manage Suckless software packages + How I manage Suckless software installations diff --git a/_site/blog/suckless-software/index.html b/_site/blog/suckless-software/index.html index ea91072..bab40c6 100644 --- a/_site/blog/suckless-software/index.html +++ b/_site/blog/suckless-software/index.html @@ -2,12 +2,12 @@ - How I manage Suckless software packages + How I manage Suckless software installations - How I manage Suckless software packages + How I manage Suckless software installations @@ -41,7 +41,7 @@
-

HOW I MANAGE SUCKLESS SOFTWARE PACKAGES

+

HOW I MANAGE SUCKLESS SOFTWARE INSTALLATIONS

30 NOVEMBER 2025

Since suckless software requires users to modify the @@ -52,8 +52,7 @@ versions are released.

Initial setup

When using a suckless program, I usually begin by cloning the project and -setting the remote URL to push a copy of the source code with my patches to my -own git repository:

+setting the remote push URL to my own git repository:

git clone git://git.suckless.org/dwm
 git reset --hard <tag>
@@ -61,28 +60,28 @@ git remote set-url --push origin git@git.asciimx.com:/repos/dwm
 

This way, I can pull updates from the upstream project whenever I want, while -committing my changes to my own git repository. The git reset command aligns my +committing my changes to my git repository. The git reset command aligns my branch head with a stable release before applying patches or installing the software.

If all I want to do is reconfigure the software (e.g., change key bindings), which is what I need most of the time, the recommended approach is to modify -the config.h file. If the config.h isn’t yet in the project, the following -command generates it from the defaults and compiles the software using make -clean <target> here <target> is the name of the application (e.g., dwm) -found in the Makefile. I modify the resulting config.h file and run make clean -install to install the software before committing and pushing my changes to my -git repo.

+the config.h file. If the config.h isn’t yet in the project, the +make clean <target> command will generate it from the defaults and compile +the software. The <target> is the name of the application (e.g., dwm) found +in the Makefile. I modify the resulting config.h file and run make clean +install to install the software before committing and pushing my changes to +the git repo.

dwm and slstatus

Since dwm and slstatus are always running, make install will likely fail for -them. The operating system will prevent the installer from replacing running +them. The operating system may prevent the installer from replacing running executables with new ones. Hence, we must first stop the running instances of -these programs (Mod + Shift + q). Then, switch to a tty (Ctrl + Alt + F1), -log in, and change the directory to where dwm/slstatus is. We can run make -install to install the software and switch back to the graphical session -(Ctrl + Alt + F5).

+these programs (in my case, using Mod + Shift + q). Then, switch to a tty +(Ctrl + Alt + F1), log in, and change the directory to where dwm/slstatus is. +We can run make install to install the software and switch back to the +graphical session (Ctrl + Alt + F5).

The key combinations for switching to the tty and back may differ across systems. The ones listed above are for OpenBSD.

@@ -121,7 +120,7 @@ q12vu Another old commit. 3fkdf Version 6.5.
-

And finally, commit and push all the changes to my own git repository.

+

And finally, I commit and push all the changes to my git repository.

diff --git a/_site/feed.xml b/_site/feed.xml index 191a4dc..9010410 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -1 +1 @@ -Jekyll2025-12-11T21:00:47+08:00/feed.xmlASCIIMX | BlogW. D. Sadeep MadurangeHow I manage Suckless software packages2025-11-30T00:00:00+08:002025-11-30T00:00:00+08:00/blog/suckless-softwareW. D. Sadeep MadurangeNeo4J A* search2025-09-14T00:00:00+08:002025-09-14T00:00:00+08:00/blog/neo4j-a-star-searchW. D. Sadeep MadurangeMOSFETs as electronic switches2025-06-22T00:00:00+08:002025-06-22T00:00:00+08:00/blog/mosfet-switchesW. D. Sadeep MadurangeHow to configure ATmega328P microcontrollers to run at 3.3V and 5V2025-04-10T00:00:00+08:002025-04-10T00:00:00+08:00/blog/arduino-unoW. D. Sadeep MadurangeHow to set up ATSAM3X8E microcontrollers for bare-metal programming in C2024-10-05T00:00:00+08:002024-10-05T00:00:00+08:00/blog/arduino-dueW. D. Sadeep Madurange \ No newline at end of file +Jekyll2025-12-11T21:18:26+08:00/feed.xmlASCIIMX | BlogW. D. Sadeep MadurangeHow I manage Suckless software installations2025-11-30T00:00:00+08:002025-11-30T00:00:00+08:00/blog/suckless-softwareW. D. Sadeep MadurangeNeo4J A* search2025-09-14T00:00:00+08:002025-09-14T00:00:00+08:00/blog/neo4j-a-star-searchW. D. Sadeep MadurangeMOSFETs as electronic switches2025-06-22T00:00:00+08:002025-06-22T00:00:00+08:00/blog/mosfet-switchesW. D. Sadeep MadurangeHow to configure ATmega328P microcontrollers to run at 3.3V and 5V2025-04-10T00:00:00+08:002025-04-10T00:00:00+08:00/blog/arduino-unoW. D. Sadeep MadurangeHow to set up ATSAM3X8E microcontrollers for bare-metal programming in C2024-10-05T00:00:00+08:002024-10-05T00:00:00+08:00/blog/arduino-dueW. D. Sadeep Madurange \ No newline at end of file diff --git a/_site/index.html b/_site/index.html index 6d65535..ce4616f 100644 --- a/_site/index.html +++ b/_site/index.html @@ -56,7 +56,7 @@ - How I manage Suckless software packages + How I manage Suckless software installations