aboutsummaryrefslogtreecommitdiff
path: root/content/blog/2022-12-17-st.org
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2025-11-11 22:49:13 -0600
committerChristian Cleberg <[email protected]>2025-11-11 22:49:13 -0600
commit51a7a02f0c96d49b68fbcc155414c218207fa270 (patch)
tree845af8aad0e8769352efc02fcd1044eed9cc1ec1 /content/blog/2022-12-17-st.org
parent7d3e80ebf1dc770eac0e21890b74f18ba2d15a6b (diff)
downloadcleberg.net-51a7a02f0c96d49b68fbcc155414c218207fa270.tar.gz
cleberg.net-51a7a02f0c96d49b68fbcc155414c218207fa270.tar.bz2
cleberg.net-51a7a02f0c96d49b68fbcc155414c218207fa270.zip
fix grammar in 2022 posts
Diffstat (limited to 'content/blog/2022-12-17-st.org')
-rw-r--r--content/blog/2022-12-17-st.org46
1 files changed, 20 insertions, 26 deletions
diff --git a/content/blog/2022-12-17-st.org b/content/blog/2022-12-17-st.org
index 725a0fa..8a4a164 100644
--- a/content/blog/2022-12-17-st.org
+++ b/content/blog/2022-12-17-st.org
@@ -5,12 +5,11 @@
* st
-[[https://st.suckless.org][st]] standards for Simple Terminal, a simple
-terminal implementation for X made by the
-[[https://suckless.org][suckless]] team.
+[[https://st.suckless.org][st]] standards for Simple Terminal, a simple terminal implementation for X made by
+the [[https://suckless.org][suckless]] team.
-This post walks through the dependencies needed and process to build and
-install =st= on Fedora Workstation.
+This post walks through the dependencies needed and process to build and install
+=st= on Fedora Workstation.
** Obtain Files
@@ -23,8 +22,8 @@ git clone https://git.suckless.org/st && cd st
** Dependencies
-Once you have the files and are in the =st= directory, ensure the
-following packages are installed.
+Once you have the files and are in the =st= directory, ensure the following
+packages are installed.
#+begin_src sh
sudo dnf update && sudo dnf upgrade
@@ -39,13 +38,12 @@ Before building, ensure that you read the README file.
cat README
#+end_src
-Once you've read the instructions, open the =config.mk= file and ensure
-it matches your setup. If you're not sure, leave the default options
-within the file.
+Once you've read the instructions, open the =config.mk= file and ensure it
+matches your setup. If you're not sure, leave the default options within the
+file.
-Finally, you can build =st= with the following command. Ensure you run
-as root (e.g., =sudo=) or else you may not end up with a usable
-application file.
+Finally, you can build =st= with the following command. Ensure you run as root
+(e.g., =sudo=) or else you may not end up with a usable application file.
#+begin_src sh
sudo make clean install
@@ -54,38 +52,34 @@ sudo make clean install
** Customization (Patches)
Note that customizing =st= requires you to modify the source files or to
-download one of the [[https://st.suckless.org/patches/][available
-patches]] for suckless.org.
+download one of the [[https://st.suckless.org/patches/][available patches]] for suckless.org.
-If you've already installed =st= and want to customize or install a
-patch, start by uninstalling the current program.
+If you've already installed =st= and want to customize or install a patch, start
+by uninstalling the current program.
#+begin_src sh
cd ~/suckless/st
sudo make uninstall
#+end_src
-Next, grab the =<path>.diff= file from the page of the patch you chose.
-For example, I will be using the
-[[https://st.suckless.org/patches/defaultfontsize/][defaultfontsize]]
-patch in the below example.
+Next, grab the =<path>.diff= file from the page of the patch you chose. For
+example, I will be using the [[https://st.suckless.org/patches/defaultfontsize/][defaultfontsize]] patch in the below example.
#+begin_src sh
wget https://st.suckless.org/patches/defaultfontsize/st-defaultfontsize-20210225-4ef0cbd.diff
#+end_src
Once the file is downloaded inside the =st= folder, apply the patch and
-re-install the program. You may need to install the =patch= command if
-you don't have it installed already (you should have installed it
-above).
+re-install the program. You may need to install the =patch= command if you don't
+have it installed already (you should have installed it above).
#+begin_src sh
patch -i st-defaultfontsize-20210225-4ef0cbd.diff
sudo make clean install
#+end_src
-Once installed, you can use the default font size patch to launch =st=
-with any font size you wish:
+Once installed, you can use the default font size patch to launch =st= with any
+font size you wish:
#+begin_src sh
st -z 16