summaryrefslogtreecommitdiffstats
path: root/_site/archive
diff options
context:
space:
mode:
Diffstat (limited to '_site/archive')
-rw-r--r--_site/archive/suckless-software/index.html29
1 files changed, 9 insertions, 20 deletions
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.</p>
<p>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:</p>
-
-<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>make clean &lt;target&gt;
-</code></pre></div></div>
-
-<p>Where <code class="language-plaintext highlighter-rouge">&lt;target&gt;</code> is the name of the application (e.g., dwm) found in the
-Makefile. I modify the resulting config.h file and run <code class="language-plaintext highlighter-rouge">make clean install</code> to
-install the software before committing and pushing my changes to my git repo.</p>
+command generates it from the defaults and compiles the software using <code class="language-plaintext highlighter-rouge">make
+clean &lt;target&gt;</code> here <code class="language-plaintext highlighter-rouge">&lt;target&gt;</code> is the name of the application (e.g., dwm)
+found in the Makefile. I modify the resulting config.h file and run <code class="language-plaintext highlighter-rouge">make clean
+install</code> to install the software before committing and pushing my changes to my
+git repo.</p>
<h2 id="dwm-and-slstatus">dwm and slstatus</h2>
<p>Since dwm and slstatus are always running, <code class="language-plaintext highlighter-rouge">make install</code> 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:</p>
-
-<ol>
- <li>Quit the window manager: <code class="language-plaintext highlighter-rouge">Mod + Shift + q</code> (or if you have modified the
-command, use that instead).</li>
- <li>Switch to tty: <code class="language-plaintext highlighter-rouge">Ctrl + Alt + F1</code>.</li>
- <li>Log in and change the directory to where dwm/slstatus is.</li>
- <li>Run <code class="language-plaintext highlighter-rouge">make install</code> to install the software.</li>
- <li>Switch back to the graphical session: <code class="language-plaintext highlighter-rouge">Ctrl + Alt + F5</code>.</li>
- <li>Verify installation: <code class="language-plaintext highlighter-rouge">dwm -v</code>/<code class="language-plaintext highlighter-rouge">slstatus -v</code>.</li>
- <li>Commit changes to git and push.</li>
-</ol>
+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 <code class="language-plaintext highlighter-rouge">make
+install</code> to install the software and switch back to the graphical session
+(Ctrl + Alt + F5).</p>
<p>The key combinations for switching to the tty and back may differ across
systems. The ones listed above are for OpenBSD.</p>