summaryrefslogtreecommitdiff
path: root/dwm/patch/bar_statuscmd.h
diff options
context:
space:
mode:
authorcoasteen <coasteen@proton.me>2026-07-09 10:42:28 +0330
committercoasteen <coasteen@proton.me>2026-07-09 10:42:28 +0330
commit8cbadb61604667b407b53ee1258433994fa4765a (patch)
tree97765fb29418fd6278fcb4cbb9760893afaf7a58 /dwm/patch/bar_statuscmd.h
Diffstat (limited to 'dwm/patch/bar_statuscmd.h')
-rwxr-xr-xdwm/patch/bar_statuscmd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/dwm/patch/bar_statuscmd.h b/dwm/patch/bar_statuscmd.h
new file mode 100755
index 0000000..a4c4d24
--- /dev/null
+++ b/dwm/patch/bar_statuscmd.h
@@ -0,0 +1,12 @@
+static int click_statuscmd(Bar *bar, Arg *arg, BarArg *a);
+#if BAR_EXTRASTATUS_PATCH
+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);
+
+typedef struct {
+ const char *cmd;
+ int id;
+} StatusCmd;
+