Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

get_battery produces errors in -v #2129

Open
RichardBronosky opened this issue Jun 13, 2022 · 0 comments
Open

get_battery produces errors in -v #2129

RichardBronosky opened this issue Jun 13, 2022 · 0 comments

Comments

@RichardBronosky
Copy link

Description

Calling neofetch -v shows No such file or directory for 2 of these 3 values because a system wil [likely] only have 1 of the 3:
BAT, axp288_fuel_gauge, CMB
You can recreate this on a Linux laptop via:

filename="/tmp/bug"
neofetch -v --config none --print_config | sed -E 's/# (info .* battery$)/\1/' > "$filename"
neofetch -v --config "$filename"

Neofetch version

$ neofetch --version
Neofetch 7.1.0

$ git log -n1
commit ccd5d9f52609bbdcd5d8fa78c4fdb0f12954125f
Merge: 644f9d29 3eaac2d9
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Fri Dec 10 08:41:55 2021 +0200

    Merge branch 'master' of github.com:dylanaraps/neofetch

Config file

https://gist.github.com/RichardBronosky/a5207af7702fb6b0c92b0a12c2bcb98e#file-neofetch-conf

Verbose log

https://gist.github.com/RichardBronosky/a5207af7702fb6b0c92b0a12c2bcb98e#file-neofetchlog-bug

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant