mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 08:41:39 +00:00
general: Fix travis
This commit is contained in:
4
neofetch
4
neofetch
@@ -1244,7 +1244,9 @@ get_gpu() {
|
||||
;;
|
||||
|
||||
*"intel"*)
|
||||
freq="$(< /sys/devices/pci0000:00/0000:"${gpu/ *}"/drm/card0/gt_cur_freq_mhz)"
|
||||
# (sorry)
|
||||
freq="$(< /sys/devices/pci0000:00/0000:\
|
||||
"${gpu/ *}"/drm/card0/gt_cur_freq_mhz)"
|
||||
|
||||
type -p glxinfo >/dev/null && \
|
||||
gpu="$(glxinfo | grep "Device:.*Intel")"
|
||||
|
Reference in New Issue
Block a user