diff options
Diffstat (limited to 'src/gpu.c')
-rw-r--r-- | src/gpu.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -44,6 +44,9 @@ const char *display_gpu() { #if defined(__OpenBSD__) return run_gpu_command("dmesg | grep -i graphics | sed 's/^.* \"//' | " "sed 's/\".*$//'"); +#elif defined(__NetBSD__) + return run_gpu_command("dmesg | grep -i graphics | sed 's/^.*: //' | " + "sed 's/ (.*$//'"); #elif defined(__FreeBSD__) || defined(__DragonFly__) return run_gpu_command("pciconf -lv | grep -B 4 -F \"VGA\" | " "grep -F \"device\" | sed 's/^.* device//' | " |