All Projects → mihirlad55 → dwm-ipc

mihirlad55 / dwm-ipc

Licence: MIT License
A DWM patch that allows IPC communication through a UNIX socket

Programming Languages

c
50402 projects - #5 most used programming language
objective c
16641 projects - #2 most used programming language
Roff
2310 projects
Makefile
30231 projects

Projects that are alternatives of or similar to dwm-ipc

polybar-dwm-module
A dwm module for polybar
Stars: ✭ 91 (+65.45%)
Mutual labels:  dwm, ipc
tiny-nix-ipc
Minimal Rust wrapper for using sockets as IPC with file descriptor passing
Stars: ✭ 14 (-74.55%)
Mutual labels:  ipc, unix-socket
ProgramUpdater
PUF - Program Updater Framework. A library to easier the task of program updating
Stars: ✭ 14 (-74.55%)
Mutual labels:  patch
dotfiles
~/.*
Stars: ✭ 41 (-25.45%)
Mutual labels:  dwm
go-gitdiff
Go library for parsing and applying patches created by Git
Stars: ✭ 41 (-25.45%)
Mutual labels:  patch
archlinuxcn-dotfiles-collection
来自社区小伙伴们的 dotfiles 集锦
Stars: ✭ 73 (+32.73%)
Mutual labels:  dwm
rust-dwm-status
A status bar for dwm written in rust
Stars: ✭ 30 (-45.45%)
Mutual labels:  dwm
Windows10Tools
Tools for Windows 10
Stars: ✭ 45 (-18.18%)
Mutual labels:  patch
dextop
Dextop - Linux-based distribution workstation on Android
Stars: ✭ 24 (-56.36%)
Mutual labels:  dwm
DeepCD
[ICCV17] DeepCD: Learning Deep Complementary Descriptors for Patch Representations
Stars: ✭ 39 (-29.09%)
Mutual labels:  patch
IpcEventBus
Faster than Intents and easier than AIDLs.
Stars: ✭ 35 (-36.36%)
Mutual labels:  ipc
InterProcessCommunication
Inter-process Communication
Stars: ✭ 11 (-80%)
Mutual labels:  ipc
dwm
Salonia Matteo's build of dwm + dwmblocks + included scripts; dwm & dwmblocks forked from Luke Smith
Stars: ✭ 25 (-54.55%)
Mutual labels:  dwm
axyl-iso
Axyl is a Linux distro centered on tiling window managers. Choose from i3, bspwm, dwm and more.
Stars: ✭ 348 (+532.73%)
Mutual labels:  dwm
httpie-unixsocket
A UNIX socket plugin for HTTPie
Stars: ✭ 40 (-27.27%)
Mutual labels:  unix-socket
tmux-eaw-fix
tmux 2.6 以降において East Asian Ambiguous Character を全角文字の幅で表示する
Stars: ✭ 16 (-70.91%)
Mutual labels:  patch
node-svmq
Native System V message queues in Node.js
Stars: ✭ 16 (-70.91%)
Mutual labels:  ipc
IPC.Bond
IPC.Bond is an extension of IPC library that provides inter-process communication using shared memory on Windows with Bond serialization.
Stars: ✭ 26 (-52.73%)
Mutual labels:  ipc
libcare
libcare -- Patch Userspace Code in Live Processes
Stars: ✭ 128 (+132.73%)
Mutual labels:  patch
hookwin10calc
Reverse engineered Windows 10 Calculator.exe (UWP application) hacker. 한글/漢文을 배운 윈도우 계산기 패치.
Stars: ✭ 19 (-65.45%)
Mutual labels:  patch

dwm-ipc

Main CI

dwm-ipc is a patch for dwm that implements inter-process communication through a UNIX socket. This allows you to query the window manager for information, listen for events such as tag changes or layout changes, as well as send commands to control the window manager from other programs/scripts.

Requirements

In order to build dwm you need the Xlib header files. The patch additionally requires yajl which is a tiny C JSON library.

Applying the Patch

The patch can be found on the Releases page. Download the latest version of the patch that matches your version of dwm.

The patch is best applied after all of your other patches due to the number of additions to dwm.c. The patch was designed with compatability in mind, so there are minimal deletions.

Tips

  • Apply the patch last after all your other patches to avoid merge conflicts

Patch Compatability

At the moment, the patch will only work on systems that implement epoll and is not completely portable. Portability will be improved in the future.

Supported IPC Messages

At the moment the IPC patch supports the following message requests:

  • Run user-defined command (similar to key bindings)

  • Get information about available layouts

  • Get information about the tags available

  • Get the properties of all of the monitors

  • Get the properties of a specific dwm client

  • Subscribe to tag change, client focus change, layout change events, monitor focus change events, and focused title change events.

For more info on the IPC protocol implementation, visit the wiki.

dwm-msg

dwm-msg is a cli program included in the patch which supports all of the IPC message types listed above. The program can be used to run commands, query dwm for information, and listen for events. This program is particularly useful for creating custom shell scripts to control dwm.

Related Projects

See dwmipcpp

See polybar dwm module [WIP]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].