diff options
author | uint23 <[email protected]> | 2025-04-21 21:54:01 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2025-04-21 21:54:01 +0100 |
commit | d0cd172229f74bca62dc8acf06b44493a1c3771e (patch) | |
tree | 7759fd1b117ab7e535729c5de8b40922583b35b2 /README.md | |
parent | 81c9b0e554b303f41b33f48288f6b0b19890bdc4 (diff) | |
parent | 3f5e0fb8dc1532cebdb4341d0f9d987c8d700bc4 (diff) |
Merge pull request #2 from elbachir-one/main
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 11 insertions, 13 deletions
@@ -108,7 +108,7 @@ Below are the available `make` targets for streamlining common tasks: | `make clean` | Remove object files (`*.o`) and build artifacts. | | `make install` | Install `sxwm` to `$(PREFIX)/bin` (default `/usr/local/bin`). | | `make uninstall` | Remove the installed binary from `$(PREFIX)/bin`. | -| `make clean-install` | Runs `make clean` then `make install`. | +| `make clean install` | Runs `make clean` then `make install`. | > You can override the install directory by specifying `PREFIX` or `DESTDIR`, for example: > ```sh @@ -119,29 +119,27 @@ Below are the available `make` targets for streamlining common tasks: ## Installation -1. **Clone repository** +### Arch linux - AUR ```bash - git clone https://github.com/uint23/sxwm.git - cd sxwm + yay -S sxwm ``` -2. **Build** +### Build from source + +1. **Clone repository** ```bash + git clone --depth=1 https://github.com/uint23/sxwm.git + cd sxwm/ make + sudo make clean install ``` -3. **Install** +2. **Run** + Add `sxwm` to `~/.xinitrc`: ```bash - sudo make clean-install - ``` - -4. **Run** - - Add to `~/.xinitrc`: - ```sh exec sxwm ``` |