Files
peachwm/peachmsg
huntedbytheirs fb0f49e861 perf(wave1): reduce Config caps, reorder Client/Monitor for cache
Wave 1 changes:
- Reduce CFG_MAX_KEYBINDS 256→128, CFG_MAX_STRLEN 256→64, CFG_MAX_ARGS 16→8
  → saves ~2.5 MB BSS from Config struct
- Add truncation warnings to config_load when keybind/button/scroll limit reached
- Reorder Client struct: HOT fields (type, mon, tags, floating flags, geom) in first
  cache line, COLD fields (wl_listeners) at end — saves cache misses in arrange()
- Reorder LayerSurface struct similarly
- Split Monitor into Monitor/MonitorCold: hot fields (~120B) stay inline, cold layout
  state lazily allocated on first dwindle/master use
- All cold-field accesses through m->cold-> indirection
- cleanupmon frees m->cold
- Zero-warning build with clang -Werror -Wpedantic
2026-07-02 23:35:37 -04:00
..
2026-06-29 02:27:03 -04:00
2026-06-29 02:27:03 -04:00

peachmsg - send ipc messages to peachwm (forked from this repository)

usage:	peachmsg [-OTLPF]
	peachmsg [-o <output>] -s [-t <tags>] [-l <layout>] [-c <tags>]
	peachmsg [-o <output>] (-g | -w) [-FOotlcvmf]
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
-F	get focused output
-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
	peachmsg -w
	# watch focused client appid and title
	peachmsg -w -c
	# get currently focused output
	peachmsg -F
	# watch for focused output changes
	peachmsg -w -F
	# get all available outputs
	peachmsg -O
	# watch available outputs
	peachmsg -w -O
	# select tag 1, deselect tag 2, toggle tag 4 on output eDP-1
	peachmsg -o eDP-1 -s -t +-.^
	# toggle tag 3, overwriting current tagset (yes, zero-indexed)
	peachmsg -t !2^
	# select tag 8 on current output
	peachmsg -s -t 7
	# deselect tag 8 on current output
	peachmsg -s -t 7-
	# switch to first layout (order given by peachmsg -L)
	peachmsg -l 0
	# switch to floating layout
	peachmsg -l '><>'