Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| // snippet of refactored monocle() function, to support gaps on monocle layout too | |
| // just substitute the monocle() function located on your dwm.c file to this snippet | |
| // this change requires vanity-gaps patch on your dwm build - https://dwm.suckless.org/patches/vanitygaps/ | |
| // disable/enable gaps and gaps controls work just like in tile layout | |
| // credits to breakfict for this contribution: https://www.reddit.com/r/suckless/comments/m88dwg/monocle_gaps/grxs54k/?context=3 | |
| void | |
| monocle(Monitor *m) | |
| { | |
| unsigned int n = 0, oe = enablegaps; |