summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_statuscmd.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2021-04-14 11:23:18 +0200
committerbakkeby <[email protected]>2021-04-14 11:23:18 +0200
commit6e80cb5f366b297c124da5139abf3b2199887e04 (patch)
treec2be8a1ac9c0c095058aaa0185ffc4202b1263e6 /patch/bar_statuscmd.h
parent7efb64d68539666e8da8f7311e706954e6018fdb (diff)
downloaddwm-flexipatch-6e80cb5f366b297c124da5139abf3b2199887e04.tar.gz
dwm-flexipatch-6e80cb5f366b297c124da5139abf3b2199887e04.zip
Upgrading statuscmd patch.
The original statuscmd patch has been renamed to statuscmd-nosignal to separate the logic from the dwmblocks integration that involves signals. I assume as the latter has become more popular it has replaced the statuscmd in name.
Diffstat (limited to 'patch/bar_statuscmd.h')
-rw-r--r--patch/bar_statuscmd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/patch/bar_statuscmd.h b/patch/bar_statuscmd.h
index e2e75b1..cd92deb 100644
--- a/patch/bar_statuscmd.h
+++ b/patch/bar_statuscmd.h
@@ -3,4 +3,9 @@ static int click_statuscmd(Bar *bar, Arg *arg, BarArg *a);
static int click_statuscmd_es(Bar *bar, Arg *arg, BarArg *a);
#endif // BAR_EXTRASTATUS_PATCH
static int click_statuscmd_text(Arg *arg, int rel_x, char *text);
-static void copyvalidchars(char *text, char *rawtext); \ No newline at end of file
+static void copyvalidchars(char *text, char *rawtext);
+
+typedef struct {
+ const char *cmd;
+ int id;
+} StatusCmd; \ No newline at end of file