summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoruint23 <72694427+uint23@users.noreply.github.com>2025-05-29 16:28:47 +0100
committerGitHub <noreply@github.com>2025-05-29 16:28:47 +0100
commit556d02be86bf0c85cdd092fb13701d65417ab721 (patch)
tree9e38b2f313d765dd9446a2afcc5f7f8a14b502d6 /README.md
parent8e6309383edd8f8d78c40620a697d48831cd9b44 (diff)
parent39798d62d31f930fcf8b58af951010b077c5ce47 (diff)
Merge branch 'main' into main
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index 192ce6a..5840707 100644
--- a/README.md
+++ b/README.md
@@ -168,7 +168,7 @@ bind : mod + shift + 5 : moveto_ws5
<details>
<summary>Debian / Ubuntu / Linux Mint</summary>
<pre><code>sudo apt update
-sudo apt install libx11-dev libxinerama-dev build-essential</code></pre>
+sudo apt install libx11-dev libxcursor-dev libxinerama-dev build-essential</code></pre>
</details>
<details>
@@ -233,6 +233,13 @@ You will also need the X sets (<code>xbase</code>, <code>xfonts</code>, <code>xs
When you make the code, use <code>gmake</code> instead of <code>make</code> (which will be BSD make). Use the following command to build: <code>gmake CFLAGS="-I/usr/X11R6/include -Wall -Wextra -O3 -Isrc" LDFLAGS="-L/usr/X11R6/lib -lX11 -lXinerama -lXcursor"</code>
</details>
+<details>
+<summary>FreeBSD</summary>
+<pre><code># If you use doas or su instead of sudo, modify the following commands accordingly.
+sudo pkg update
+sudo pkg install gcc gmake libX11 libXinerama</code></pre>
+</details>
+
---
## Build & Install
@@ -248,6 +255,7 @@ yay -S sxwm
```sh
git clone --depth=1 https://github.com/uint23/sxwm.git
cd sxwm/
+# Replace make with gmake on FreeBSD
make
sudo make clean install
```