From 2fdbd025c1f8c4e1d113c3cae92a821d38f3442f Mon Sep 17 00:00:00 2001
From: 2Shirt <2xShirt@gmail.com>
Date: Mon, 25 Mar 2024 21:31:05 -0700
Subject: [PATCH] Drop hardinfo
Launch hw-info script from keyboard shortcut instead
---
scripts/hw-info-helper | 4 ++++
setup/linux/packages/aur | 1 -
setup/linux/packages/base | 1 -
setup/linux/packages/dependencies | 3 ---
setup/linux/profile/airootfs/etc/skel/.config/openbox/rc.xml | 4 ++--
5 files changed, 6 insertions(+), 7 deletions(-)
create mode 100755 scripts/hw-info-helper
diff --git a/scripts/hw-info-helper b/scripts/hw-info-helper
new file mode 100755
index 00000000..4e230f39
--- /dev/null
+++ b/scripts/hw-info-helper
@@ -0,0 +1,4 @@
+#!/bin/zsh
+#
+
+sudo hw-info | less -S --use-color
diff --git a/setup/linux/packages/aur b/setup/linux/packages/aur
index 3006d19e..75f2e1b2 100644
--- a/setup/linux/packages/aur
+++ b/setup/linux/packages/aur
@@ -1,5 +1,4 @@
ddrescueview-bin
-hardinfo-gtk3
hfsprogs
iwgtk
memtest86-efi
diff --git a/setup/linux/packages/base b/setup/linux/packages/base
index ae8b8ca9..b39f5244 100644
--- a/setup/linux/packages/base
+++ b/setup/linux/packages/base
@@ -45,7 +45,6 @@ gnu-netcat
gparted
gptfdisk
grub
-hardinfo-gtk3
hexedit
hfsprogs
htop
diff --git a/setup/linux/packages/dependencies b/setup/linux/packages/dependencies
index e7b51cf2..e4ac2d55 100644
--- a/setup/linux/packages/dependencies
+++ b/setup/linux/packages/dependencies
@@ -15,9 +15,6 @@ syslinux
tigervnc
wpa_supplicant
-# hardinfo-gtk3
-cmake
-
# iwgtk
gtk4
meson
diff --git a/setup/linux/profile/airootfs/etc/skel/.config/openbox/rc.xml b/setup/linux/profile/airootfs/etc/skel/.config/openbox/rc.xml
index c94b49ee..54dbdf04 100644
--- a/setup/linux/profile/airootfs/etc/skel/.config/openbox/rc.xml
+++ b/setup/linux/profile/airootfs/etc/skel/.config/openbox/rc.xml
@@ -312,7 +312,7 @@
- hardinfo
+ st -t "Hardware Info" -e hw-info-helper
@@ -367,7 +367,7 @@
- hardinfo
+ st -t "Hardware Info" -e hw-info-helper