From 2a9eebe93f6d6746efb863104da00d4ca0ae73b4 Mon Sep 17 00:00:00 2001 From: speedie Date: Sun, 2 Apr 2023 01:49:58 +0200 Subject: [PATCH] s/dynamic menu/fancy dynamic menu/g --- Makefile | 2 +- docs/docs.md | 13 +++++-------- host.mk | 2 +- libs/argv.c | 2 +- spmenu.1 | 10 +++++----- spmenu.c | 2 +- toggle.mk | 2 +- 7 files changed, 15 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index ec562ea..e76964d 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ help: @echo help: Displays this help sheet. man: - printf "%% spmenu(1) $(VERSION) | dynamic menu\n" > .man.md + printf "%% spmenu(1) $(VERSION) | fancy dynamic menu\n" > .man.md grep -v docs/preview.png docs/docs.md >> .man.md pandoc --standalone --to man .man.md -o spmenu.1 rm -f .man.md diff --git a/docs/docs.md b/docs/docs.md index 68a3319..a6bb1db 100644 --- a/docs/docs.md +++ b/docs/docs.md @@ -1,11 +1,6 @@ spmenu ====== -![image](/docs/preview.png) - -What is spmenu? -=============== - spmenu is a program for X11 that reads standard input and allows the user to select items separated by a newline. It is a fork of suckless's dmenu which is a good more minimal alternative to spmenu. @@ -13,7 +8,8 @@ a good more minimal alternative to spmenu. Unlike dmenu and the many builds out there, spmenu has features like color support, Vim-like modes, image support, proper keybind configuration, and more. -Most of these features can be disabled during compile time by editing `toggle.mk`. +It should be noted that most of these features may be disabled by the user, either +during compile time or through configuration. Usage ===== @@ -657,7 +653,7 @@ run `printf 'spmenu:version' | spmenu`. There are a few of these. : Print the spmenu license `spmenu:about` -: Print various information about spmenu, such as compiler arguments. +: Print various information about spmenu, such as compiler arguments and packaging. `spmenu:test` : Print a test script for spmenu which tests various features. Report any @@ -673,4 +669,5 @@ Reporting issues ================ Please report issues on the -[Codeberg repository](https://codeberg.org/speedie/speediegq) or alternatively email me. +[Codeberg repository](https://codeberg.org/speedie/speediegq) or alternatively +email me. diff --git a/host.mk b/host.mk index c2f1632..8a9a8d9 100644 --- a/host.mk +++ b/host.mk @@ -1,4 +1,4 @@ -# spmenu - dynamic menu +# spmenu - fancy dynamic menu # See LICENSE file for copyright details. # compiler diff --git a/libs/argv.c b/libs/argv.c index 770edcb..b3e77aa 100644 --- a/libs/argv.c +++ b/libs/argv.c @@ -358,7 +358,7 @@ void usage(void) { // print help - fputs("spmenu: dynamic menu\n\n" + fputs("spmenu: fancy dynamic menu\n\n" "- Arguments -\n" "spmenu -l, --lines Set line count to stdin\n" "spmenu -mh, --lineheight Set spmenu line height to \n" diff --git a/spmenu.1 b/spmenu.1 index e3579ea..14c6f43 100644 --- a/spmenu.1 +++ b/spmenu.1 @@ -14,10 +14,9 @@ . ftr VB CB . ftr VBI CBI .\} -.TH "spmenu" "1" "" "0.3.3" "dynamic menu" +.TH "spmenu" "1" "" "0.3.3" "fancy dynamic menu" .hy .SH spmenu -.SH What is spmenu? .PP spmenu is a program for X11 that reads standard input and allows the user to select items separated by a newline. @@ -28,8 +27,8 @@ Unlike dmenu and the many builds out there, spmenu has features like color support, Vim-like modes, image support, proper keybind configuration, and more. .PP -Most of these features can be disabled during compile time by editing -\f[V]toggle.mk\f[R]. +It should be noted that most of these features may be disabled by the +user, either during compile time or through configuration. .SH Usage .PP On runtime, spmenu reads from standard input (stdin). @@ -697,7 +696,8 @@ Print the spmenu version Print the spmenu license .TP \f[V]spmenu:about\f[R] -Print various information about spmenu, such as compiler arguments. +Print various information about spmenu, such as compiler arguments and +packaging. .TP \f[V]spmenu:test\f[R] Print a test script for spmenu which tests various features. diff --git a/spmenu.c b/spmenu.c index 81d03f0..db87454 100644 --- a/spmenu.c +++ b/spmenu.c @@ -1,4 +1,4 @@ -/* spmenu - speedie's dmenu fork +/* spmenu - fancy dynamic menu * * If you're looking for functions used to draw text, see 'libs/draw.c' * If you're looking for wrapper functions used inside the draw functions, see 'libs/sl/draw.c' diff --git a/toggle.mk b/toggle.mk index ef9df52..2322333 100644 --- a/toggle.mk +++ b/toggle.mk @@ -1,4 +1,4 @@ -# spmenu - dynamic menu +# spmenu - fancy dynamic menu # See LICENSE file for copyright details. # Multi-monitor support.