Commit Graph

13 Commits

Author SHA1 Message Date
mihirlad55
4a230d362a [PATCH] Add IPC support through a unix socket
This patch currently supports the following requests:
* Run custom commands with arguments (similar to key bind functions)
* Get monitor properties
* Get all available layouts
* Get available tags
* Get client properties
* Subscribe to tag change, client focus change, and layout change,
  monitor focus change, focused title change, and client state change
  events

This patch includes a dwm-msg cli program that supports all of the
above requests for easy integration into shell scripts.

The messages are sent in a JSON format to promote integration to
increase scriptability in languages like Python/JavaScript.

The patch requires YAJL for JSON parsing and a system with epoll
support. Portability is planned to be increased in the future.

This patch is best applied after all other patches to avoid merge
conflicts.

For more info on the IPC implementation and how to send/receive
messages, documentation can be found at
https://github.com/mihirlad55/dwm-ipc
2023-08-04 21:33:07 +02:00
Markus Teich
7af4d439bd import new drw from libsl and minor fixes.
- better scaling for occupied tag squares.
- draw statusline first to omitt some complicated calculations.
2016-06-26 13:52:36 +02:00
Hiltjo Posthuma
646b351cc7 sync updated drw code from dmenu
important:
- drw_rect: didn't use w and h, change the dwm code accordingly.
- drw_text: text is NULL is not allowed, use drw_rect().
2015-10-20 23:38:31 +02:00
Eric Pruitt
14343e69cc Add Xft and follback-fonts support to graphics lib 2015-03-13 21:44:22 +01:00
Anselm R Garbe
f21d46ea7d continued with draw.c abstraction, also started util.{h,c} implementation, that will be used by draw.c as well 2012-12-08 10:13:01 +01:00
Anselm R. Garbe
8b59083eb1 removed unnecessary crap 2006-07-13 01:30:55 +02:00
Anselm R. Garbe
b1669b5c48 removed unnecessary sel stuff 2006-07-11 18:19:01 +02:00
Anselm R. Garbe
586f66331d added bar event timer 2006-07-11 18:15:11 +02:00
Anselm R. Garbe
26e134b8a7 added gridsel to gridwm 2006-07-11 13:21:57 +02:00
Anselm R. Garbe
3a69c5173c implemented pipe_spawn 2006-07-11 11:10:05 +02:00
Anselm R. Garbe
439e15d09f added several other stuff 2006-07-10 22:16:48 +02:00
Anselm R. Garbe
39677ec766 several new changes, made gridmenu working 2006-07-10 19:46:24 +02:00
Anselm R. Garbe
8a34fa50f7 added new stuff 2006-07-10 18:35:39 +02:00