diff options
| author | bakkeby <[email protected]> | 2022-08-13 16:24:48 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2022-08-13 16:24:55 +0200 |
| commit | b93a5de5587432f21a850c2e86f8478433c30c8e (patch) | |
| tree | f0db982e35e8df66caa3a95aa8aa6afa1a61115b | |
| parent | 2d34596ad0a93860225b2b318d8f2d57e0e50f64 (diff) | |
| download | dwm-flexipatch-b93a5de5587432f21a850c2e86f8478433c30c8e.tar.gz dwm-flexipatch-b93a5de5587432f21a850c2e86f8478433c30c8e.zip | |
Expose showhideclient to external tools (fsignal, IPC) ref #287
| -rw-r--r-- | config.def.h | 6 | ||||
| -rwxr-xr-x | patch/dwmc | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index a65e08d..cfe41db 100644 --- a/config.def.h +++ b/config.def.h @@ -1470,6 +1470,9 @@ static Signal signals[] = { { "viewall", viewallex }, { "viewex", viewex }, { "toggleview", toggleview }, + #if BAR_WINTITLEACTIONS_PATCH + { "showhideclient", showhideclient }, + #endif // BAR_WINTITLEACTIONS_PATCH #if SHIFTBOTH_PATCH { "shiftboth", shiftboth }, #endif // SHIFTBOTH_PATCH @@ -1673,6 +1676,9 @@ static IPCCommand ipccommands[] = { #if SETBORDERPX_PATCH IPCCOMMAND( setborderpx, 1, {ARG_TYPE_SINT} ), #endif // SETBORDERPX_PATCH + #if BAR_WINTITLEACTIONS_PATCH + IPCCOMMAND( showhideclient, 1, {ARG_TYPE_NONE} ), + #endif // BAR_WINTITLEACTIONS_PATCH #if SHIFTBOTH_PATCH IPCCOMMAND( shiftboth, 1, {ARG_TYPE_SINT} ), #endif // SHIFTBOTH_PATCH @@ -16,6 +16,7 @@ case $# in self_restart) ;& setlayout) ;& setcfact) ;& + showhideclient) ;& switchcol) ;& view) ;& viewall) ;& |
