mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 01:00:17 +00:00
Reformat gpu_shorthand
This commit is contained in:
14
fetch
14
fetch
@@ -742,13 +742,13 @@ getgpu () {
|
||||
esac
|
||||
|
||||
if [ "$gpu_shorthand" == "on" ]; then
|
||||
gpu=${gpu/'Rev. '?}
|
||||
gpu=${gpu/'AMD/ATI'/AMD}
|
||||
gpu=${gpu/'Tahiti' }
|
||||
gpu=${gpu/'PRO' }
|
||||
gpu=${gpu/'OEM' }
|
||||
gpu=${gpu/'Mars' }
|
||||
gpu=${gpu/'Series'}
|
||||
gpu=${gpu// 'Rev. '?}
|
||||
gpu=${gpu//'AMD/ATI'/AMD}
|
||||
gpu=${gpu// 'Tahiti'}
|
||||
gpu=${gpu// 'PRO'}
|
||||
gpu=${gpu// 'OEM'}
|
||||
gpu=${gpu// 'Mars'}
|
||||
gpu=${gpu// 'Series'}
|
||||
gpu=${gpu/\/*}
|
||||
fi
|
||||
}
|
||||
|
Reference in New Issue
Block a user