mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-02-20 11:23:39 +08:00
general: Fix travis
This commit is contained in:
parent
efa9ff6726
commit
c902c2d69e
4
neofetch
4
neofetch
@ -1244,7 +1244,9 @@ get_gpu() {
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
*"intel"*)
|
*"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 && \
|
type -p glxinfo >/dev/null && \
|
||||||
gpu="$(glxinfo | grep "Device:.*Intel")"
|
gpu="$(glxinfo | grep "Device:.*Intel")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user