Salīdzināt revīzijas
38 Revīzijas
cairo-love
...
xbm
Autors | SHA1 | Datums | |
---|---|---|---|
|
a116c04ed9 | ||
|
9dd806b9fc | ||
|
fa9cfcbbd7 | ||
|
8351859593 | ||
|
2778c81699 | ||
|
d8443785a8 | ||
|
704ba652d9 | ||
|
392f23ef36 | ||
|
7f1f722965 | ||
|
927c05604c | ||
|
0affee3d2f | ||
|
8492309a88 | ||
|
a313800686 | ||
|
4ad9cbd823 | ||
|
bb466a8c16 | ||
|
3483f1b083 | ||
|
7d2c7ab438 | ||
|
e197a15c3a | ||
|
6959085f8d | ||
|
78dc0d0d21 | ||
|
3b8afc6b05 | ||
|
c39c4e4d8b | ||
|
145c66b471 | ||
|
5746d15cf8 | ||
|
3c2b9ff150 | ||
|
95c41381ac | ||
|
e9cdee9701 | ||
|
dbbdf373a3 | ||
|
c258d0a0fa | ||
|
8475ff4fdb | ||
|
28b0db1cfa | ||
|
69e8ac6f07 | ||
|
6df9a2dd68 | ||
|
02627e7609 | ||
|
1c106dbfd0 | ||
|
128e212c14 | ||
|
d22cd1561b | ||
|
f3e9df4a97 |
4
Makefile
4
Makefile
@@ -1,6 +1,5 @@
|
||||
CC ?= gcc
|
||||
STRIP ?= strip
|
||||
CFLAGS = -std=c99 -Os
|
||||
CFLAGS = -g -Wall -std=c99 -Os
|
||||
LDFLAGS = -lxcb -lxcb-xinerama -lxcb-randr
|
||||
CFDEBUG = -g3 -pedantic -Wall -Wunused-parameter -Wlong-long\
|
||||
-Wsign-conversion -Wconversion -Wimplicit-function-declaration
|
||||
@@ -22,7 +21,6 @@ doc: README.pod
|
||||
|
||||
${EXEC}: ${OBJS}
|
||||
${CC} -o ${EXEC} ${OBJS} ${LDFLAGS}
|
||||
${STRIP} -s ${EXEC}
|
||||
|
||||
debug: ${EXEC}
|
||||
debug: CC += ${CFDEBUG}
|
||||
|
12
README.pod
12
README.pod
@@ -34,7 +34,7 @@ Force docking without asking the window manager. This is needed if the window ma
|
||||
|
||||
=item B<-f> I<font>
|
||||
|
||||
Comma separated list of fonts, bar supports a maximum of two fonts.
|
||||
Comma separated list of fonts, bar supports a maximum of five fonts (the limit can be tweaked by changing the MAX_FONT_COUNT parameter in the source).
|
||||
|
||||
=item B<-p>
|
||||
|
||||
@@ -46,7 +46,7 @@ Sets the underline width in pixels. The default is 1.
|
||||
|
||||
=item B<-B> I<color>
|
||||
|
||||
Set the background color of the bar. I<color> might be either in hex format (#aarrggbb) or in the symbolic name format (eg. white, brightred, darkgray). If no compositor such as compton or xcompmgr is running the alpha channel is silently ignored.
|
||||
Set the background color of the bar. I<color> might be either in hex format (#aarrggbb) or in the symbolic name format (eg. white, indianred, darkgray). If no compositor such as compton or xcompmgr is running the alpha channel is silently ignored.
|
||||
|
||||
=item B<-F> I<color>
|
||||
|
||||
@@ -84,6 +84,10 @@ Set the text background color. The parameter I<color> can be I<-> or a color in
|
||||
|
||||
Set the text foreground color. The parameter I<color> can be I<-> or a color in one of the formats mentioned before. The special value I<-> resets the color to the default one.
|
||||
|
||||
=item B<T>I<index>
|
||||
|
||||
Set the font used to draw the following text. The parameter I<index> is a 1-based index of the font list supplied to bar. Any other value (for example I<->) resets bar to normal behaviour (matching the first font that can be used for that character). If the selected font can't be used to draw a character, bar will fall back to normal behaviour for that character.
|
||||
|
||||
=item B<U>I<color>
|
||||
|
||||
Set the text underline color. The parameter I<color> can be I<-> or a color in one of the formats mentioned before. The special value I<-> resets the color to the default one.
|
||||
@@ -94,7 +98,7 @@ Create a clickable area starting from the current position, when the area is cli
|
||||
|
||||
Eg. I<%{A:reboot:} Click here to reboot %{A}>
|
||||
|
||||
The I<button> field is optional, it defaults to the left button, and it's a number ranging from 1 to 5 which maps to the left, middle, right, scroll down and scroll up movements. Your mileage may vary.
|
||||
The I<button> field is optional, it defaults to the left button, and it's a number ranging from 1 to 5 which maps to the left, middle, right, scroll up and scroll down movements. Your mileage may vary.
|
||||
|
||||
=item B<S>I<dir>
|
||||
|
||||
@@ -164,6 +168,6 @@ L<git repository|https://github.com/LemonBoy/bar>
|
||||
|
||||
Xinerama support was kindly contributed by Stebalien
|
||||
|
||||
RandR support was kindly contributed by jvvv
|
||||
RandR support was kindly contributed by jvvv
|
||||
|
||||
Clickable areas support was heavily based off u-ra contribution
|
||||
|
867
bar.c
867
bar.c
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Ielādēt izmaiņas
Atsaukties uz šo jaunā problēmā
Block a user