[wiki] [sites] [dmenu][patches][sort_by_popularity] Fixed index.md || elbachir-one

From: <git_AT_suckless.org>
Date: Sat, 18 Jan 2025 04:17:28 +0100

commit 3e81b6a859ddacacf5988444d0fbfa347a4d8c7e
Author: elbachir-one <bachiralfa_AT_gmail.com>
Date: Sat Jan 18 04:16:24 2025 +0100

    [dmenu][patches][sort_by_popularity] Fixed index.md

diff --git a/tools.suckless.org/dmenu/patches/sort_by_popularity/index.md b/tools.suckless.org/dmenu/patches/sort_by_popularity/index.md
index 435497a7..7bca8f1d 100644
--- a/tools.suckless.org/dmenu/patches/sort_by_popularity/index.md
+++ b/tools.suckless.org/dmenu/patches/sort_by_popularity/index.md
_AT_@ -1,28 +1,25 @@
-sort_by_popularity
-=============
+Sort By Popularity
+==================
 
-The list of programs is sorted by popularity.
+Description
+-----------
 
-Each time you run the program, its popularity will increase by 1.
+The list of programs is sorted by popularity. Each time you run the program,
+its popularity score increases by 1. The popularity data is saved in the cache
+file located at: `{CACHE_PATH}/dmenu_pop.txt`.
 
-The popularity cache file is stored in: `{CACHE_PATH}/dmenu_pop.txt`.
-
-Requirements
-------------
+#### Requirements
 
 * One of the following system env **shall** be set `XDG_CACHE_HOME` or `HOME`
 * Folder `$XDG_CACHE_HOME` or `$HOME/.cache` **shall** exist
 
-How it works
-------------
-
-The order of programs is determined by popularity.
-
-Programs with higher popularity come first.
+#### How it works
 
-The order of programs with the same popularity depends on their position in the cache file.
+The order of programs is based on their popularity, with more popular programs
+appearing first. Programs with the same popularity are ordered according to
+their position in the cache file.
 
-Let's assume that we have the following programs: `A`, `B1`, `B2`, `C`
+For example, consider the following programs: `A`, `B1`, `B2`, `C`
 
 `[User input] -> [dmenu output] -> [User's choice] -> {PROGRAM: POPULARITY}`
 
_AT_@ -35,7 +32,7 @@ Let's assume that we have the following programs: `A`, `B1`, `B2`, `C`
 
 Download
 --------
-* [dmenu-sort_by_popularity-20250117-86f0b51.diff](dmenu-sort_by_popularity-20250117-86f0b51.diff)
+* [dmenu-sort_by_popularity-20250117-86f0b51.diff](dmenu-sort_by_popularity-20250117-86f0b51.diff) (2025-01-17)
 
 Author
 ------
Received on Sat Jan 18 2025 - 04:17:28 CET

This archive was generated by hypermail 2.3.0 : Sat Jan 18 2025 - 04:24:50 CET