Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Anakiev2 opened this issue Nov 14, 2024 · 0 comments
Open

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

Anakiev2 opened this issue Nov 14, 2024 · 0 comments
Labels
cpu related to CPU stats or system process reporting feature suggest addition of new functionality that isn't currently supported in any way good first issue straightforward enough for first-time contributors to be able to implement themselves text related to `conky.text` variables, their parsing or implementation

Comments

@Anakiev2
Copy link

Anakiev2 commented Nov 14, 2024

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}
]];
@Anakiev2 Anakiev2 added bug related to incorrect existing implementation of some functionality triage issue that hasn't been verified, categorized or acknowledged yet labels Nov 14, 2024
@Caellian Caellian added cpu related to CPU stats or system process reporting good first issue straightforward enough for first-time contributors to be able to implement themselves text related to `conky.text` variables, their parsing or implementation and removed triage issue that hasn't been verified, categorized or acknowledged yet labels Nov 16, 2024
@Caellian Caellian added feature suggest addition of new functionality that isn't currently supported in any way and removed bug related to incorrect existing implementation of some functionality labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpu related to CPU stats or system process reporting feature suggest addition of new functionality that isn't currently supported in any way good first issue straightforward enough for first-time contributors to be able to implement themselves text related to `conky.text` variables, their parsing or implementation
Projects
None yet
Development

No branches or pull requests

2 participants