brndnmtthws/conky

[Bug]: "cpu" is not affected by "use_spacer = 'left'"

Open

#2,078 建立於 2024年11月14日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)C++ (6,472 star) (604 fork)batch import
bugcpugood first issuetext

描述

What happened?

Hi. I think when use_spacer = 'left' is used cpu should have leading spaces:

  1%
 10%
100%

Like upspeed or downspeed or diskio_read ... This issue is not for the specified version. I know it for quite some time but now I've decided to report it. So far I've used if statements to fix it.

Actual behavior: 1 10 100

Version

conky 1.21.5-1

Which OS/distro are you seeing the problem on?

Arch Linux

Conky config

conky.config = {
	alignment = 'bottom_left',
	background = false,
	border_width = 0,
	double_buffer = true,
	draw_outline = false,
	font = 'DejaVuSansMono Nerd Font:size=10.5',
	minimum_height = 18,
	minimum_width = 500,
	out_to_console = false,
	out_to_x = true,
	own_window = true,
	own_window_type = 'desktop',
	update_interval = 1.0,
	use_xft = true,
	max_text_width = 0,
	short_units = true,
	if_up_strictness = 'address',
	use_spacer = 'left',
};

conky.text = [[
  ${cpu cpu1}% ${cpu cpu2}% |   ${time %d.%m.%Y} |   ${time %H:%M}
]];

貢獻者指南

[Bug]: "cpu" is not affected by "use_spacer = 'left'" · brndnmtthws/conky#2078 | Good First Issue