general: Fix travis
This commit is contained in:
parent
efa9ff6726
commit
c902c2d69e
1 changed files with 3 additions and 1 deletions
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…
Reference in a new issue