From 11364a5c6ca432a09c3e50e4bc34a69243b70882 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Thu, 4 Dec 2025 13:13:45 +0800 Subject: Suckless software post - remove bullet points. --- _site/archive/suckless-software/index.html | 29 +++++++++-------------------- _site/feed.xml | 2 +- _site/posts.xml | 2 +- 3 files changed, 11 insertions(+), 22 deletions(-) (limited to '_site') diff --git a/_site/archive/suckless-software/index.html b/_site/archive/suckless-software/index.html index 4bb2747..5a21259 100644 --- a/_site/archive/suckless-software/index.html +++ b/_site/archive/suckless-software/index.html @@ -67,32 +67,21 @@ 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:

- -
make clean <target>
-
- -

Where <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.

+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.

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 executables with new ones. Hence, we must first stop the running instances of -these programs:

- -
    -
  1. Quit the window manager: Mod + Shift + q (or if you have modified the -command, use that instead).
  2. -
  3. Switch to tty: Ctrl + Alt + F1.
  4. -
  5. Log in and change the directory to where dwm/slstatus is.
  6. -
  7. Run make install to install the software.
  8. -
  9. Switch back to the graphical session: Ctrl + Alt + F5.
  10. -
  11. Verify installation: dwm -v/slstatus -v.
  12. -
  13. Commit changes to git and push.
  14. -
+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).

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

diff --git a/_site/feed.xml b/_site/feed.xml index dc96828..67b1d12 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -1 +1 @@ -Jekyll2025-12-03T22:17:54+08:00/feed.xmlASCIIMX | ArchiveWickramage Don Sadeep MadurangeHow I manage Suckless software packages2025-11-30T00:00:00+08:002025-11-30T00:00:00+08:00/archive/suckless-softwareWickramage Don Sadeep MadurangeNeo4J A* search2025-09-14T00:00:00+08:002025-09-14T00:00:00+08:00/archive/neo4j-a-star-searchWickramage Don Sadeep MadurangeMOSFETs as electronic switches2025-06-22T00:00:00+08:002025-06-22T00:00:00+08:00/archive/mosfet-switchesWickramage Don 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/archive/arduino-unoWickramage Don 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/archive/arduino-dueWickramage Don Sadeep Madurange \ No newline at end of file +Jekyll2025-12-04T13:13:24+08:00/feed.xmlASCIIMX | ArchiveWickramage Don Sadeep MadurangeHow I manage Suckless software packages2025-11-30T00:00:00+08:002025-11-30T00:00:00+08:00/archive/suckless-softwareWickramage Don Sadeep MadurangeNeo4J A* search2025-09-14T00:00:00+08:002025-09-14T00:00:00+08:00/archive/neo4j-a-star-searchWickramage Don Sadeep MadurangeMOSFETs as electronic switches2025-06-22T00:00:00+08:002025-06-22T00:00:00+08:00/archive/mosfet-switchesWickramage Don 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/archive/arduino-unoWickramage Don 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/archive/arduino-dueWickramage Don Sadeep Madurange \ No newline at end of file diff --git a/_site/posts.xml b/_site/posts.xml index a792a5c..1e5b30a 100644 --- a/_site/posts.xml +++ b/_site/posts.xml @@ -1 +1 @@ -Jekyll2025-12-03T22:17:54+08:00/posts.xmlASCIIMXWickramage Don Sadeep Madurange \ No newline at end of file +Jekyll2025-12-04T13:13:24+08:00/posts.xmlASCIIMXWickramage Don Sadeep Madurange \ No newline at end of file -- cgit v1.2.3