我最近用 conky 重做了我的 i3bar。今天早上当我醒来时,我的酒吧里有无法识别的字符符号(我的 conkyrc 文件中有空格)。据我所知,什么都没有真正改变,我不确定为什么会在一夜之间发生这种情况。我的conkyrc:
background no
out_to_x no
out_to_console yes
update_interval 1
total_run_times 0
use_spacer right
TEXT
${if_mpd_playing}${mpd_artist} ${mpd_title}${endif} \
${wireless_essid wlp7s0} \
${exec amixer get Master | sed -n 's/^.*\[\([0-9]\+\)%.*$/\1/p'| uniq} \
${cpu cpu}% \
$memperc% \
${time %a %b %d} \
${time %I:%M %P} \
${battery_percent BAT0}% ${exec acpi -b | awk "{print $1}" | sed 's/\([^:]*\): \([^,]*\), \([0-9]*\)%.*/\2/'}
我的 i3bar 配置:
bar {
status_command conky -c $HOME/.i3/conky/conkyrc
mode dock
position top
colors {
background #F1F2F6
statusline #788491
separator #51c4d4
focused_workspace #F1F2F6 #F1F2F6 #4FC0E8
active_workspace #F1F2F6 #F1F2F6 #4FC0E8
inactive_workspace #F1F2F6 #F1F2F6 #C1D1E0
urgent_workspace #F1F2F6 #F1F2F6 #C1D1E0
}
}