These are some guides for various use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.7 KiB

  1. # Suckless
  2. Suckless is a community that is best known for minimalist free software.
  3. Notable works include `dwm` and `dmenu`.
  4. ## Workflow for installation
  5. Programs written by the suckless community are minimal by default.
  6. `.diff` files are available to patch functionality.
  7. Configuring is done in the `config.h` file.
  8. Expressions in `<>` may need replacement.
  9. - If not already created initialize a git repository
  10. - Create and switch to the `base` brach with `git branch base`
  11. - Download the default version of the suckless program you want to patch
  12. - Add and commit all the files in the `base` branch
  13. - Clean the master branch
  14. with `make clean & rm -f config.h & git reset --hard origin/base`
  15. - Apply patches (this has to be done only once for each branch (except updates))
  16. - Create and switch to a new branch for the patch with `git branch <feature>`
  17. - Download the `.diff` file of the according feature into your directory
  18. - Apply the patch to the current directory with `git apply <feature>.diff`
  19. - Add and commit all the files in the `<feature>` branch
  20. - Merge all branches into master branch (sometimes you can skip already merged
  21. ones)
  22. - Merge each branch (except the new feature) into master with `git merge <feature>`
  23. - (maybe you have to manually merge some errors)
  24. - If you have a `config` branch merge `config` into `master` before adding the
  25. new `feature`
  26. - Finally update the `config` branch
  27. - If not created already create a `config` branch from the `base` branch
  28. - Get the `config.def.h` of `master` into `config` with
  29. `git checkout master config.def.h`
  30. ## Programs
  31. - dmenu is a menu with prgram launcher functionality
  32. - dwm is a window manager
  33. - [ii](ii.md) is an IRC client
  34. - slock is a screen locker
  35. - st is a terminal