diff options
| -rw-r--r-- | dwmblocks.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dwmblocks.c b/dwmblocks.c index 0969ed7..709ce87 100644 --- a/dwmblocks.c +++ b/dwmblocks.c @@ -78,11 +78,14 @@ int gcd(int a, int b) //opens process *cmd and stores output in *output void getcmd(const Block *block, char *output) { + /* if (block->signal) { output[0] = block->signal; output++; } + */ + char *cmd = block->command; FILE *cmdf = popen(cmd,"r"); if (!cmdf){ |