forked from notchoc/dwlmsg
send ipc messages to dwl
- C 93.5%
- Makefile 6.5%
| protocols | ||
| arg.h | ||
| dwlmsg.c | ||
| LICENSE | ||
| Makefile | ||
| README | ||
dwlmsg - send ipc messages to dwl usage: dwlmsg [-OTLP] dwlmsg [-o <output>] -s [-t <tags>] [-l <layout>] [-c <tags>] dwlmsg [-o <output>] (-g | -w) [-Ootlcvmf] options: -g get -s set -w watch -O get all outputs -T get number of tags -L get all available layouts -P get compositor pid -o select output -t get/set selected tags (set with [+-^.], overwrite with ! prefix) -l get/set current layout -c get title and appid of focused client -v get visibility of statusbar -m get fullscreen status -f get floating status examples: # act like dwl stdout dwlmsg -w # watch focused client appid and title dwlmsg -w -c # get all available outputs dwlmsg -O # watch available outputs dwlmsg -w -O # select tag 1, deselect tag 2, toggle tag 4 on output eDP-1 dwlmsg -o eDP-1 -s -t +-.^ # toggle tag 3, overwriting current tagset (yes, zero-indexed) dwlmsg -t !2^ # select tag 8 on current output dwlmsg -s -t 7 # deselect tag 8 on current output dwlmsg -s -t 7- # switch to first layout (order given by dwlmsg -L) dwlmsg -l 0 # switch to floating layout dwlmsg -l '><>'