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
fdc350f1
Commit
fdc350f1
authored
Dec 14, 2016
by
Dylan Araps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
General: Add warnings speed_type options
parent
440153e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
9 deletions
+16
-9
neofetch
neofetch
+16
-9
No files found.
neofetch
View file @
fdc350f1
...
@@ -2989,18 +2989,25 @@ old_functions() {
...
@@ -2989,18 +2989,25 @@ old_functions() {
fi
fi
}
}
old_
flag
s
()
{
old_
option
s
()
{
[[
-n
"
$osx_buildversion
"
]]
&&
err
"Config:
\$
osx_buildversion is deprecated, use
\$
distro_shorthand instead."
[[
-n
"
$osx_buildversion
"
]]
&&
err
"Config:
\$
osx_buildversion is deprecated, use
\$
distro_shorthand instead."
[[
-n
"
$osx_codename
"
]]
&&
err
"Config:
\$
osx_codename is deprecated, use
\$
distro_shorthand instead."
[[
-n
"
$osx_codename
"
]]
&&
err
"Config:
\$
osx_codename is deprecated, use
\$
distro_shorthand instead."
[[
"
$cpu_cores
"
==
"on"
]]
&&
err
"Config:
\$
cpu_cores='on' is deprecated, use
\$
cpu_cores='logical|physical|off' instead."
[[
"
$cpu_cores
"
==
"on"
]]
&&
err
"Config: cpu_cores='on' is deprecated, use
cpu_cores='logical|physical|off' instead."
[[
-n
"
$image
"
]]
&&
{
err
"Config:
\$
image is deprecated, use
\$
image_source instead."
;
image_source
=
"
$image
"
;
}
[[
-n
"
$image
"
]]
&&
{
err
"Config:
\$
image is deprecated, use
\$
image_source instead."
;
image_source
=
"
$image
"
;
}
# All progress_ variables were changed to bar_
# All progress_ variables were changed to bar_
[[
-n
"
$progress_char
"
]]
&&
err
"Config:
\$
progress_char is deprecated, use
\$
bar_char_elapsed and
\$
bar_char_total instead."
[[
-n
"
$progress_char
"
]]
&&
err
"Config:
\$
progress_char is deprecated, use
\$
bar_char_elapsed and
\$
bar_char_total instead."
[[
-n
"
$progress_border
"
]]
&&
err
"Config:
\$
progress_border is deprecated, use
\$
bar_border instead."
[[
-n
"
$progress_border
"
]]
&&
err
"Config:
\$
progress_border is deprecated, use
\$
bar_border instead."
[[
-n
"
$progress_length
"
]]
&&
err
"Config:
\$
progress_length is deprecated, use
\$
bar_length instead."
[[
-n
"
$progress_length
"
]]
&&
err
"Config:
\$
progress_length is deprecated, use
\$
bar_length instead."
[[
-n
"
$progress_color_elapsed
"
]]
&&
err
"Config:
\$
progress_color_elapsed is deprecated, use
\$
bar_color_elapsed instead."
[[
-n
"
$progress_color_elapsed
"
]]
&&
err
"Config:
\$
progress_color_elapsed is deprecated, use
\$
bar_color_elapsed instead."
[[
-n
"
$progress_color_total
"
]]
&&
err
"Config:
\$
progress_color_total is deprecated, use
\$
bar_color_total instead."
[[
-n
"
$progress_color_total
"
]]
&&
err
"Config:
\$
progress_color_total is deprecated, use
\$
bar_color_total instead."
# All cpufreq values were changed in 2.1.0.
# 'current', 'min', 'max', 'bios'
[[
"
$speed_type
"
==
"current"
]]
&&
err
"Config: speed_type='current' is deprecated, use speed_type='scaling_cur_freq' instead."
[[
"
$speed_type
"
==
"min"
]]
&&
err
"Config: speed_type='min' is deprecated, use speed_type='scaling_min_freq' instead."
[[
"
$speed_type
"
==
"max"
]]
&&
err
"Config: speed_type='max' is deprecated, use speed_type='scaling_max_freq' instead."
[[
"
$speed_type
"
==
"bios"
]]
&&
err
"Config: speed_type='bios' is deprecated, use speed_type='bios_limit' instead."
}
}
cache_uname
()
{
cache_uname
()
{
...
@@ -3325,7 +3332,7 @@ main() {
...
@@ -3325,7 +3332,7 @@ main() {
get_os
get_os
get_default_config 2>/dev/null
get_default_config 2>/dev/null
get_args
"
$@
"
get_args
"
$@
"
old_
flag
s
old_
option
s
get_distro
get_distro
get_bold
get_bold
get_distro_colors
get_distro_colors
...
...
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