Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neofetch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
neofetch
Commits
8cbf7e7f
Commit
8cbf7e7f
authored
Oct 26, 2016
by
Dylan Araps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove GPU shorthand
parent
4e7955bc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
28 deletions
+1
-28
README.md
README.md
+0
-1
config
config/config
+0
-4
neofetch
neofetch
+1
-20
neofetch.1
neofetch.1
+0
-3
No files found.
README.md
View file @
8cbf7e7f
...
@@ -443,7 +443,6 @@ alias neofetch2="neofetch \
...
@@ -443,7 +443,6 @@ alias neofetch2="neofetch \
--uptime_shorthand on/off Shorten the output of uptime (tiny, on, off)
--uptime_shorthand on/off Shorten the output of uptime (tiny, on, off)
--refresh_rate on/off Whether to display the refresh rate of each monitor
--refresh_rate on/off Whether to display the refresh rate of each monitor
Unsupported on Windows
Unsupported on Windows
--gpu_shorthand on/off Shorten the output of GPU (tiny, on, off)
--gpu_brand on/off Enable/Disable GPU brand in output. (AMD/NVIDIA/Intel)
--gpu_brand on/off Enable/Disable GPU brand in output. (AMD/NVIDIA/Intel)
--gtk_shorthand on/off Shorten output of gtk theme/icons
--gtk_shorthand on/off Shorten output of gtk theme/icons
--gtk2 on/off Enable/Disable gtk2 theme/icons output
--gtk2 on/off Enable/Disable gtk2 theme/icons output
...
...
config/config
View file @
8cbf7e7f
...
@@ -128,10 +128,6 @@ cpu_temp="off"
...
@@ -128,10 +128,6 @@ cpu_temp="off"
# GPU
# GPU
# Shorten output of the getgpu funcion
# --gpu_shorthand on, off, tiny
gpu_shorthand
=
"on"
# Enable/Disable GPU Brand
# Enable/Disable GPU Brand
# --gpu_brand on, off
# --gpu_brand on, off
gpu_brand
=
"on"
gpu_brand
=
"on"
...
...
neofetch
View file @
8cbf7e7f
...
@@ -1001,6 +1001,7 @@ getgpu() {
...
@@ -1001,6 +1001,7 @@ getgpu() {
gpu
=
"
${
gpu
/
'[AMD]'
}
"
gpu
=
"
${
gpu
/
'[AMD]'
}
"
gpu
=
"
${
gpu
/*\[
}
"
gpu
=
"
${
gpu
/*\[
}
"
gpu
=
"
${
gpu
/\]*
}
"
gpu
=
"
${
gpu
/\]*
}
"
gpu
=
"
${
gpu
/\/*
}
"
gpu
=
"AMD
$gpu
"
gpu
=
"AMD
$gpu
"
;;
;;
...
@@ -1104,24 +1105,6 @@ getgpu() {
...
@@ -1104,24 +1105,6 @@ getgpu() {
;;
;;
esac
esac
case "$gpu_shorthand" in
"on" | "tiny")
gpu="${gpu// Rev\. ?}"
gpu="${gpu// OEM}"
gpu="${gpu// Series}"
gpu="${gpu// Controller}"
gpu="${gpu/\/*}"
case "$gpu_shorthand" in
"tiny")
gpu="${gpu/Graphics }"
gpu="${gpu/GeForce }"
gpu="${gpu/Radeon }"
;;
esac
;;
esac
if [ "$gpu_brand" == "off" ]; then
if [ "$gpu_brand" == "off" ]; then
gpu="${gpu/AMD}"
gpu="${gpu/AMD}"
gpu="${gpu/NVIDIA}"
gpu="${gpu/NVIDIA}"
...
@@ -3001,7 +2984,6 @@ usage() { cat << EOF
...
@@ -3001,7 +2984,6 @@ usage() { cat << EOF
--uptime_shorthand on/off Shorten the output of uptime (tiny, on, off)
--uptime_shorthand on/off Shorten the output of uptime (tiny, on, off)
--refresh_rate on/off Whether to display the refresh rate of each monitor
--refresh_rate on/off Whether to display the refresh rate of each monitor
Unsupported on Windows
Unsupported on Windows
--gpu_shorthand on/off Shorten the output of GPU (tiny, on, off)
--gpu_brand on/off Enable/Disable GPU brand in output. (AMD/NVIDIA/Intel)
--gpu_brand on/off Enable/Disable GPU brand in output. (AMD/NVIDIA/Intel)
--gtk_shorthand on/off Shorten output of gtk theme/icons
--gtk_shorthand on/off Shorten output of gtk theme/icons
--gtk2 on/off Enable/Disable gtk2 theme/icons output
--gtk2 on/off Enable/Disable gtk2 theme/icons output
...
@@ -3129,7 +3111,6 @@ getargs() {
...
@@ -3129,7 +3111,6 @@ getargs() {
--kernel_shorthand
)
kernel_shorthand
=
"
$2
"
;;
--kernel_shorthand
)
kernel_shorthand
=
"
$2
"
;;
--uptime_shorthand
)
uptime_shorthand
=
"
$2
"
;;
--uptime_shorthand
)
uptime_shorthand
=
"
$2
"
;;
--cpu_shorthand
)
cpu_shorthand
=
"
$2
"
;;
--cpu_shorthand
)
cpu_shorthand
=
"
$2
"
;;
--gpu_shorthand
)
gpu_shorthand
=
"
$2
"
;;
--gpu_brand
)
gpu_brand
=
"
$2
"
;;
--gpu_brand
)
gpu_brand
=
"
$2
"
;;
--refresh_rate
)
refresh_rate
=
"
$2
"
;;
--refresh_rate
)
refresh_rate
=
"
$2
"
;;
--gtk_shorthand
)
gtk_shorthand
=
"
$2
"
;;
--gtk_shorthand
)
gtk_shorthand
=
"
$2
"
;;
...
...
neofetch.1
View file @
8cbf7e7f
...
@@ -64,9 +64,6 @@ Whether to display the refresh rate of each monitor
...
@@ -64,9 +64,6 @@ Whether to display the refresh rate of each monitor
.br
.br
Note: Unsupported on Windows
Note: Unsupported on Windows
.TP
.TP
.B \--gpu_shorthand 'on/off'
Shorten the output of GPU (tiny, on, off)
.TP
.B \--gpu_brand on/off
.B \--gpu_brand on/off
Enable/Disable GPU brand in output. (AMD/NVIDIA/Intel)
Enable/Disable GPU brand in output. (AMD/NVIDIA/Intel)
.TP
.TP
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment