From 194dfa025ff5adb8b3280d8b03e90d2fef33c306 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Fri, 20 Nov 2020 15:09:15 +0000 Subject: [PATCH] Bug fix --- config.h | 18 ++++++++++++++++++ dwm-msg | Bin 0 -> 18624 bytes 2 files changed, 18 insertions(+) create mode 100755 dwm-msg diff --git a/config.h b/config.h index 508faa5..0ee13d6 100644 --- a/config.h +++ b/config.h @@ -137,3 +137,21 @@ static Button buttons[] = { { ClkTagBar, MODKEY, Button3, toggletag, {0} }, }; + +static const char *ipcsockpath = "/tmp/dwm.sock"; +static IPCCommand ipccommands[] = { + IPCCOMMAND( view, 1, {ARG_TYPE_UINT} ), + IPCCOMMAND( toggleview, 1, {ARG_TYPE_UINT} ), + IPCCOMMAND( tag, 1, {ARG_TYPE_UINT} ), + IPCCOMMAND( toggletag, 1, {ARG_TYPE_UINT} ), + IPCCOMMAND( tagmon, 1, {ARG_TYPE_UINT} ), + IPCCOMMAND( focusmon, 1, {ARG_TYPE_SINT} ), + IPCCOMMAND( focusstack, 1, {ARG_TYPE_SINT} ), + IPCCOMMAND( zoom, 1, {ARG_TYPE_NONE} ), + IPCCOMMAND( incnmaster, 1, {ARG_TYPE_SINT} ), + IPCCOMMAND( killclient, 1, {ARG_TYPE_SINT} ), + IPCCOMMAND( togglefloating, 1, {ARG_TYPE_NONE} ), + IPCCOMMAND( setmfact, 1, {ARG_TYPE_FLOAT} ), + IPCCOMMAND( setlayoutsafe, 1, {ARG_TYPE_PTR} ), + IPCCOMMAND( quit, 1, {ARG_TYPE_NONE} ) +}; diff --git a/dwm-msg b/dwm-msg new file mode 100755 index 0000000000000000000000000000000000000000..eda8cd72406b2bb22d8a5591467f57b6098bc140 GIT binary patch literal 18624 zcmeHPeRNdinZJ`sAmt+y1eE&4tqvbiGY}L?)aVRM;6?|e5D;teGMU^Yqm!9*<_-`K zu5=SPPQxH|ZCAUs%eK~XtlPD2Yb)()FbL|pJyg4j?Y5;>^bSF#QjnrD`+M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