summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-11-17 21:57:00 +0000
committerVaxry <vaxry@vaxry.net>2024-11-17 21:57:04 +0000
commite8717a4fce1eafa44d5b106b8159d56e8d368840 (patch)
tree5ece92e6ec5422f3b5e9f992d85812c6fec4f559 /src/debug/HyprCtl.cpp
parent9b03307653c179a86a8dfdb4e5d16446d0cf6e23 (diff)
shell: don't use fgrep, prefer grep -F
Diffstat (limited to 'src/debug/HyprCtl.cpp')
-rw-r--r--src/debug/HyprCtl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index 964a193b..6c9c2b75 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -946,7 +946,7 @@ std::string systemInfoRequest(eHyprCtlOutputFormat format, std::string request)
result += "\n\n";
#if defined(__DragonFly__) || defined(__FreeBSD__)
- const std::string GPUINFO = execAndGet("pciconf -lv | fgrep -A4 vga");
+ const std::string GPUINFO = execAndGet("pciconf -lv | grep -F -A4 vga");
#elif defined(__arm__) || defined(__aarch64__)
std::string GPUINFO;
const std::filesystem::path dev_tree = "/proc/device-tree";