forked from speedie/spmenu
version bump: 0.4.1
This commit is contained in:
parent
621fdb53a6
commit
8273d1b574
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ include host.mk
|
||||||
include toggle.mk
|
include toggle.mk
|
||||||
|
|
||||||
# spmenu version
|
# spmenu version
|
||||||
VERSION = 0.4
|
VERSION = 0.4.1
|
||||||
|
|
||||||
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMATOGGLE) $(BDTOGGLE) $(PANGOTOGGLE) $(IMLIB2TOGGLE) $(LIBCONFIGTOGGLE)
|
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMATOGGLE) $(BDTOGGLE) $(PANGOTOGGLE) $(IMLIB2TOGGLE) $(LIBCONFIGTOGGLE)
|
||||||
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -faggressive-loop-optimizations $(OPT) $(INCS) $(CPPFLAGS)
|
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -faggressive-loop-optimizations $(OPT) $(INCS) $(CPPFLAGS)
|
||||||
|
|
|
@ -695,9 +695,6 @@ run `printf 'spmenu:version' | spmenu`. There are a few of these.
|
||||||
`spmenu:license`
|
`spmenu:license`
|
||||||
: Print the spmenu license
|
: Print the spmenu license
|
||||||
|
|
||||||
`spmenu:about`
|
|
||||||
: Print various information about spmenu, such as compiler arguments and packaging.
|
|
||||||
|
|
||||||
`spmenu:test`
|
`spmenu:test`
|
||||||
: Print a test script for spmenu which tests various features. Report any
|
: Print a test script for spmenu which tests various features. Report any
|
||||||
weird issues you may have.
|
weird issues you may have.
|
||||||
|
|
|
@ -88,12 +88,6 @@ readstdin(void)
|
||||||
die("spmenu is licensed under the MIT license. See the included LICENSE file for more information.");
|
die("spmenu is licensed under the MIT license. See the included LICENSE file for more information.");
|
||||||
}
|
}
|
||||||
|
|
||||||
// spmenu:about
|
|
||||||
if (!strncmp("about", items[i].ex, strlen("about"))) {
|
|
||||||
int i = system("printf \"spmenu $([ -f '/usr/share/spmenu/version' ] && cat /usr/share/spmenu/version || printf unknown)\\nBased on dmenu 5.2 from https://tools.suckless.org/dmenu\\nCompiled $([ -f '/usr/share/spmenu/compile-date' ] && cat /usr/share/spmenu/compile-date || printf Unknown)\\nCFLAGS: $([ -f '/usr/share/spmenu/cflags' ] && cat /usr/share/spmenu/cflags || printf unknown)\\nCC: $([ -f '/usr/share/spmenu/cc' ] && cat /usr/share/spmenu/cc || printf unknown)\\nDistro: $([ -f '/usr/share/spmenu/pkg_arch' ] && echo Arch || echo Installed manually)\\n\" | spmenu --columns 1 --lines 10 --hide-cursor --no-allow-typing --hide-mode --hide-match-count --hide-prompt --hide-powerline --hide-input --no-indent --no-color-items > /dev/null");
|
|
||||||
if (i||!i) exit(i);
|
|
||||||
}
|
|
||||||
|
|
||||||
// spmenu:test
|
// spmenu:test
|
||||||
if (!strncmp("test", items[i].ex, strlen("test"))) {
|
if (!strncmp("test", items[i].ex, strlen("test"))) {
|
||||||
int i = system("command -v spmenu_test > /dev/null && spmenu_test");
|
int i = system("command -v spmenu_test > /dev/null && spmenu_test");
|
||||||
|
|
6
spmenu.1
6
spmenu.1
|
@ -14,7 +14,7 @@
|
||||||
. ftr VB CB
|
. ftr VB CB
|
||||||
. ftr VBI CBI
|
. ftr VBI CBI
|
||||||
.\}
|
.\}
|
||||||
.TH "spmenu" "1" "" "0.4" "fancy dynamic menu"
|
.TH "spmenu" "1" "" "0.4.1" "fancy dynamic menu"
|
||||||
.hy
|
.hy
|
||||||
.SH spmenu
|
.SH spmenu
|
||||||
.PP
|
.PP
|
||||||
|
@ -741,10 +741,6 @@ Print the spmenu version
|
||||||
\f[V]spmenu:license\f[R]
|
\f[V]spmenu:license\f[R]
|
||||||
Print the spmenu license
|
Print the spmenu license
|
||||||
.TP
|
.TP
|
||||||
\f[V]spmenu:about\f[R]
|
|
||||||
Print various information about spmenu, such as compiler arguments and
|
|
||||||
packaging.
|
|
||||||
.TP
|
|
||||||
\f[V]spmenu:test\f[R]
|
\f[V]spmenu:test\f[R]
|
||||||
Print a test script for spmenu which tests various features.
|
Print a test script for spmenu which tests various features.
|
||||||
Report any weird issues you may have.
|
Report any weird issues you may have.
|
||||||
|
|
Loading…
Reference in a new issue