forked from speedie/spmenu
some minor changes
This commit is contained in:
parent
8b0ac088a1
commit
103bc3140f
|
@ -1,5 +1,6 @@
|
||||||
spmenu
|
spmenu
|
||||||
======
|
======
|
||||||
|
|
||||||
![image](/docs/preview.png)
|
![image](/docs/preview.png)
|
||||||
|
|
||||||
What is spmenu?
|
What is spmenu?
|
||||||
|
@ -493,3 +494,8 @@ operating system.
|
||||||
|
|
||||||
You can also use wildcards (such as `*`) to achieve a global colorscheme. Programs like
|
You can also use wildcards (such as `*`) to achieve a global colorscheme. Programs like
|
||||||
`pywal` do this.
|
`pywal` do this.
|
||||||
|
|
||||||
|
License
|
||||||
|
=======
|
||||||
|
|
||||||
|
spmenu is licensed under the MIT license. See the included LICENSE file for more information.
|
||||||
|
|
4
spmenu.1
4
spmenu.1
|
@ -517,3 +517,7 @@ This requires that \f[V]xrdb\f[R] is available on your operating system.
|
||||||
You can also use wildcards (such as \f[V]*\f[R]) to achieve a global
|
You can also use wildcards (such as \f[V]*\f[R]) to achieve a global
|
||||||
colorscheme.
|
colorscheme.
|
||||||
Programs like \f[V]pywal\f[R] do this.
|
Programs like \f[V]pywal\f[R] do this.
|
||||||
|
.SH License
|
||||||
|
.PP
|
||||||
|
spmenu is licensed under the MIT license.
|
||||||
|
See the included LICENSE file for more information.
|
||||||
|
|
4
spmenu.c
4
spmenu.c
|
@ -836,10 +836,11 @@ main(int argc, char *argv[])
|
||||||
xinitvisual();
|
xinitvisual();
|
||||||
drw = drw_create(dpy, screen, root, wa.width, wa.height, visual, depth, cmap);
|
drw = drw_create(dpy, screen, root, wa.width, wa.height, visual, depth, cmap);
|
||||||
|
|
||||||
|
// load fonts
|
||||||
if (!drw_font_create(drw, fonts, LENGTH(fonts)))
|
if (!drw_font_create(drw, fonts, LENGTH(fonts)))
|
||||||
die("no fonts could be loaded.");
|
die("no fonts could be loaded.");
|
||||||
lrpad = drw->font->h;
|
|
||||||
|
|
||||||
|
lrpad = drw->font->h;
|
||||||
prepare_window_size();
|
prepare_window_size();
|
||||||
|
|
||||||
#ifdef __OpenBSD__
|
#ifdef __OpenBSD__
|
||||||
|
@ -849,6 +850,7 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
loadhistory();
|
loadhistory();
|
||||||
|
|
||||||
|
// fast (-f) means we grab keyboard before reading standard input
|
||||||
if (fast && !isatty(0)) {
|
if (fast && !isatty(0)) {
|
||||||
grabkeyboard();
|
grabkeyboard();
|
||||||
readstdin();
|
readstdin();
|
||||||
|
|
Loading…
Reference in a new issue