From c13c730e4c3af305e7f51bb7db8b20e1d9f01503 Mon Sep 17 00:00:00 2001 From: CapCreeperGR Date: Wed, 15 May 2024 10:07:20 +0300 Subject: [PATCH] Removed lshw as a dependency Renamed Utils.go to utils.go --- README.md | 1 - main.go | 2 +- Utils.go => utils.go | 0 3 files changed, 1 insertion(+), 2 deletions(-) rename Utils.go => utils.go (100%) diff --git a/README.md b/README.md index 0b66ded..862caed 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,6 @@ Stormfetch is still in beta, so distro compatibility is limited. If you would li - Download `make` from your package manager - (Optional) Download `xorg-xhost` from your package manager to display DE/WM and monitor information - (Optional) Download `xorg-xdpyinfo` from your package manager to display screen resolution -- (Optional) Download `lshw` from your package manager to display GPU information - Run the following command to compile the project ``` make diff --git a/main.go b/main.go index 181cae5..7b1e7ab 100644 --- a/main.go +++ b/main.go @@ -74,7 +74,7 @@ func readConfig() { } // Show Dependency warning if enabled if config.DependencyWarning { - dependencies := []string{"lshw", "xhost", "xdpyinfo"} + dependencies := []string{"xhost", "xdpyinfo"} var missing []string for _, depend := range dependencies { if _, err := os.Stat(path.Join("/usr/bin/", depend)); err != nil { diff --git a/Utils.go b/utils.go similarity index 100% rename from Utils.go rename to utils.go