Info related improvements
This commit is contained in:
parent
1e61822f8e
commit
27b03c8a66
|
@ -28,11 +28,11 @@ that block is executed with the first argument specifying which button was
|
||||||
clicked (1 for left, 2 for middle and 3 for right).
|
clicked (1 for left, 2 for middle and 3 for right).
|
||||||
|
|
||||||
Colored output is inspired by statuscolors patch for dwm. To add colors, have
|
Colored output is inspired by statuscolors patch for dwm. To add colors, have
|
||||||
your programs for the blocks output raw characters from '\x0b' to '\x31'. '\x0b'
|
your programs for the blocks output raw characters from `\x0b` to `\x31`. `\x0b`
|
||||||
in status text switches active colorscheme to the first one in the colors array
|
in status text switches active colorscheme to the first one in the colors array
|
||||||
in dwm and so on. See
|
defined in dwm's config.h and so on. See
|
||||||
[statuscolors patch for dwm](https://dwm.suckless.org/patches/statuscolors/)
|
[statuscolors patch for dwm](https://dwm.suckless.org/patches/statuscolors/)
|
||||||
for more info. Keep in mind that you have to start from '\x0b' instead of '\x01'
|
for more info. Keep in mind that you have to start from `\x0b` instead of `\x01`
|
||||||
as instructed on the page.
|
as instructed on the page.
|
||||||
|
|
||||||
# Signaling changes
|
# Signaling changes
|
||||||
|
|
10
blocks.h
10
blocks.h
|
@ -1,14 +1,14 @@
|
||||||
#define PATH(name) "/home/ashish/.local/projects/dwmblocks/blocks/"name
|
#define PATH(name) "/home/ashish/.local/projects/dwmblocks/blocks/"name
|
||||||
|
|
||||||
/* At max, DELIMITERENDCHAR - 1 number of clickable blocks will be allowed.
|
/* DELIMITERENDCHAR must be less than 32.
|
||||||
* DELIMITERENDCHAR must be less than 32.
|
* At max, DELIMITERENDCHAR - 1 number of clickable blocks will be allowed.
|
||||||
* Raw characters larger than DELIMITERENDCHAR and smaller than ' ' in ASCII
|
* Raw characters larger than DELIMITERENDCHAR and smaller than ' ' in ASCII
|
||||||
character set can be used for signaling color change in status.
|
character set can be used for signaling color change in status.
|
||||||
* The character corresponding to DELIMITERENDCHAR + 1 ('\x0b' when
|
* The character corresponding to DELIMITERENDCHAR + 1 ('\x0b' when
|
||||||
DELIMITERENDCHAR is 10) will switch the active colorscheme to the first one
|
DELIMITERENDCHAR is 10) will switch the active colorscheme to the first one
|
||||||
defined in colors array in dwm and so on.
|
defined in colors array in dwm's config.h and so on.
|
||||||
* If you change this, don't forget to update its value in dwm.c and color
|
* If you wish to change this, don't forget to update its value in dwm.c and
|
||||||
codes in your pathu programs. */
|
color codes in your pathu programs. */
|
||||||
|
|
||||||
#define DELIMITERENDCHAR 10
|
#define DELIMITERENDCHAR 10
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue