dwmblocks-async状态栏图标显示问题
如下图,我使用dwmblocks-async时遇到了配置的状态栏图标左侧有一个方框的问题。
dwm使用的字体是JetBriansMomo Nerd Fonts,我的dwmblocks的配置文件如下:
#ifndef CONFIG_H
#define CONFIG_H
// String used to delimit block outputs in the status.
#define DELIMITER " "
// Maximum number of Unicode characters that a block can output.
#define MAX_BLOCK_OUTPUT_LENGTH 45
// Control whether blocks are clickable.
#define CLICKABLE_BLOCKS 1
// Control whether a leading delimiter should be prepended to the status.
#define LEADING_DELIMITER 0
// Control whether a trailing delimiter should be appended to the status.
#define TRAILING_DELIMITER 0
// Define blocks for the status feed as X(icon, cmd, interval, signal).
#define BLOCKS(X) \
X(" ", "date '+%H:%M:%S'", 1, 1)\
X(" ", "wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -d' ' -f2", 0, 5) \
X(" ", "acpi | grep -o '[0-9]*%'", 30, 3)\
#endif // CONFIG_H
我自己做了一些尝试,比如:
把X(" ", "date '+%H:%M:%S'", 1, 1)替换为
X("", "date '+%H:%M:%S'", 1, 1)
结果是nerd fonts图标不见了,但是时间前面依旧显示了这个方框。
有点疑惑,求大佬指点
