Package Details: sysfetch-git 0.1-1

Git Clone URL: https://aur.archlinux.org/sysfetch-git.git (read-only, click to copy)
Package Base: sysfetch-git
Description: A super tiny system information fetch script written in BASH
Upstream URL: https://github.com/wick3dr0se/sysfetch
Licenses: GPL3
Submitter: wick3dr0se
Maintainer: wick3dr0se
Last Packager: wick3dr0se
Votes: 2
Popularity: 0.000091
First Submitted: 2021-12-04 20:03 (UTC)
Last Updated: 2024-06-02 01:00 (UTC)

Dependencies (7)

Required by (0)

Sources (1)

Latest Comments

m040601 commented on 2024-06-07 08:11 (UTC)

After your changes, the PKGBUILD and tool seems to be working fine again,

Name            : sysfetch-git
Version         : 0.1-1
Depends On      : bash  awk
Optional Deps   : pciutils: detect gpu [installed]
                  wmctrl: better theme detection [installed]
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 4.91 KiB
Build Date      : Fri 07 Jun 2024 09:08:16 AM WEST
Install Date    : Fri 07 Jun 2024 09:08:26 AM WEST

wick3dr0se commented on 2024-06-02 01:20 (UTC) (edited on 2024-06-02 02:05 (UTC) by wick3dr0se)

@m040601 Due to your comment and interest in the project, I went ahead and updated the PKGBUILD as well as the upstream repository. I believe I pushed a commit that will resolve both the issues you listed but without some way to reproduce the issue it is hard to say. However I noticed I did leave out the -m option to wmctl and I hadn't thoroughly tested it since throwing that in there. As a result it was just erroring out from incorrect usage. That one should be good to go now I assume. The other error above disk model may occur if the diskModel variable wasn't read and in such case the directory probably didn't exists, so I implemented a check. If any issues persist or you want to reach out, feel free to drop an issue or find me on Discord linked in the README. Thanks for taking interest and the time to comment on here, as well as providing all the details of course!

m040601 commented on 2024-06-01 19:45 (UTC) (edited on 2024-06-01 19:50 (UTC) by m040601)

Thanks for this simple cool tool, and the PKGBUILD. I like it that it is a simple bash script.

I had it working without problems sometime ago last year, cant remember exactly when.

Decided to remove and reinstall, and now it gives errors, and the PKGBUILD itself doesnt install.

Can you confirm that the PKGBUILD currently works and installs properly in your own system without complaints ?

Trying the PKGBUILD gives me,

install: cannot stat '*.sh': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: sysfetch-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
sysfetch-git - exit status 4

Trying to git clone the tool and running "./sysfetch" gives me code errors and complaints about wmctrl.

As you say,

    ## Usage
    Execute script from within downloaded directory
    ```bash
    ./sysfetch
    ```

    Or with BASH
    ```bash
    bash sysfetch

So trying,

$ ./sysfetch

./sysfetch: line 91: /sys/class/block/${blockDevice%[0-9]}/device/model: ambiguous redirect
wmctrl 1.07
Usage: wmctrl [OPTION]...

Line 91,

 91   read -r diskModel </sys/class/block/${blockDevice%[0-9]}/device/model

I do have wmctrl

Name            : wmctrl
Version         : 1.07-6
URL             : http://tripie.sweb.cz/utils/wmctrl/
Depends On      : glib2  libxmu
Optional For    : inxi
Installed Size  : 45.32 KiB
Build Date      : Tue 07 Jul 2020 02:23:40 PM WEST
Install Date    : Thu 09 Jul 2020 08:24:02 PM WEST
Install Reason  : Explicitly installed
Name            : bash
Version         : 5.2.026-2
Build Date      : Tue 16 Jan 2024 10:48:04 AM WET
Install Date    : Mon 22 Jan 2024 12:56:17 PM WET

I cant remember exactly the last time it worked last year.

Maybe after you did this changes to the tool ?

2024-01-24 wick3dr0se         o [main] {origin/main} {origin/HEAD} add scree
2024-01-06 wick3dr0se         o rewrite
2023-12-20 wick3dr0se         o rewrite
2023-04-26 wick3dr0se         o update README
2023-04-26 wick3dr0se         o complete rewrite

Maybe the PKGBUILD also needs some update ??? The last one from,

2022-01-06 move ascii from assets folder to src      wick3dr0se
2022-01-06 update                                    wick3dr0se