|
diff --git a/config.def.h b/config.def.h
|
| ... |
| 21 |
static const char *on_top_inactive_border_color = "darkorange"; |
21 |
static const char *on_top_inactive_border_color = "darkorange"; |
| 22 |
|
22 |
|
| 23 |
static const char *widget_font = "Berkeley Mono:size=7:bold"; |
23 |
static const char *widget_font = "Berkeley Mono:size=7:bold"; |
|
|
24 |
static const char *time_format = "%A %d.%m.%Y %H:%M:%S"; |
| 24 |
static const char *indicator_fg_color = "white"; |
25 |
static const char *indicator_fg_color = "white"; |
| 25 |
static const char *indicator_bg_color = "blue"; |
26 |
static const char *indicator_bg_color = "blue"; |
| 26 |
static const char *mic_active_bg_color = "darkred"; |
27 |
static const char *mic_active_bg_color = "firebrick"; |
| 27 |
static const char *mic_muted_bg_color = "#333333"; |
28 |
static const char *mic_muted_bg_color = "#222222"; |
| 28 |
static const char *mic_active_fg_color = "white"; |
29 |
static const char *mic_active_fg_color = "white"; |
| 29 |
static const char *mic_muted_fg_color = "white"; |
30 |
static const char *mic_muted_fg_color = "white"; |
| 30 |
static const char *widget_fg_color = "#999999"; |
|
|
| 31 |
static const char *time_format = "%A %d.%m.%Y %H:%M:%S"; |
|
|
| 32 |
|
31 |
|
| 33 |
static Shortcut shortcuts[] = { |
32 |
static Shortcut shortcuts[] = { |
| 34 |
/* Mask KeySym Shell command */ |
33 |
/* Mask KeySym Shell command */ |
| ... |
|
diff --git a/manager.c b/manager.c
|
| ... |
| 308 |
XftColorAllocValue(wm.dpy, visual, wm.cmap, &render_color, &wm.xft_mic_muted_fg); |
308 |
XftColorAllocValue(wm.dpy, visual, wm.cmap, &render_color, &wm.xft_mic_muted_fg); |
| 309 |
} |
309 |
} |
| 310 |
|
310 |
|
| 311 |
if (!XftColorAllocName(wm.dpy, visual, wm.cmap, widget_fg_color, &wm.xft_widget_color)) { |
|
|
| 312 |
log_message(stdout, LOG_WARNING, "Failed to allocate color %s, falling back to gray", widget_fg_color); |
|
|
| 313 |
XRenderColor render_color = {0x8888, 0x8888, 0x8888, 0xFFFF}; |
|
|
| 314 |
XftColorAllocValue(wm.dpy, visual, wm.cmap, &render_color, &wm.xft_widget_color); |
|
|
| 315 |
} |
|
|
| 316 |
|
|
|
| 317 |
wm.running = 1; |
311 |
wm.running = 1; |
| 318 |
|
312 |
|
| 319 |
scan_windows(); |
313 |
scan_windows(); |
| ... |