This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
dmenu
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
this is only a temporary workaround, the command executed by -p must be configurable through some switch, that was the initial idea, just using sselp is too limited, I'll look into the other issues soon
master
Anselm R Garbe
15 years ago
parent
569a1f925a
commit
7082ba1e10
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
dmenu.c
+ 1
- 1
dmenu.c
View File
@ -466,7 +466,7 @@ kpress(XKeyEvent * e) {
FILE
*
fp
;
FILE
*
fp
;
char
*
c
;
char
*
c
;
if
(
!
(
fp
=
(
FILE
*
)
popen
(
"
sselp
"
,
"
r
"
)
)
)
if
(
!
(
fp
=
(
FILE
*
)
popen
(
"
sselp
"
,
"
r
"
)
)
)
fprintf
(
stderr
,
"
dmenu: Could not popen sselp
\n
"
)
;
eprint
(
"
dmenu: Could not popen sselp
\n
"
)
;
c
=
fgets
(
text
+
len
,
sizeof
(
text
)
-
len
,
fp
)
;
c
=
fgets
(
text
+
len
,
sizeof
(
text
)
-
len
,
fp
)
;
pclose
(
fp
)
;
pclose
(
fp
)
;
if
(
c
=
=
NULL
)
if
(
c
=
=
NULL
)
Write
Preview
Loading…
Cancel
Save