From 11364a5c6ca432a09c3e50e4bc34a69243b70882 Mon Sep 17 00:00:00 2001
From: Sadeep Madurange
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.
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.
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:
Mod + Shift + q (or if you have modified the
-command, use that instead).Ctrl + Alt + F1.make install to install the software.Ctrl + Alt + F5.dwm -v/slstatus -v.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.
-- cgit v1.2.3