Set_x_root_name is a tiny utility to set the root window name to the last line read from stdin.
- libxcb
$ ./build.sh
set_x_root_name
$ conky | set_x_root_name &
- In order in avoid
malloc()
, the line is stored in a static buffer. As a result, lines longer thanNAME_LENGTH
(defined inset_x_root_name.c
; default value is1024
) will be truncated.