shell: don't use fgrep, prefer grep -F

This commit is contained in:
Vaxry 2024-11-17 21:57:00 +00:00
parent 9b03307653
commit e8717a4fce
3 changed files with 3 additions and 3 deletions

View file

@ -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";