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
aba89c8a
Commit
aba89c8a
authored
Nov 13, 2016
by
Dylan Araps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Images: Add $image to deprecated flags
parent
716afbd9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
neofetch
neofetch
+9
-11
No files found.
neofetch
View file @
aba89c8a
...
@@ -2001,9 +2001,6 @@ get_wallpaper() {
...
@@ -2001,9 +2001,6 @@ get_wallpaper() {
# If image is an xml file, don'
t
use it.
# If image is an xml file, don'
t
use it.
[[
"
${
image
/*\./
}
"
==
"xml"
]] && image=
""
[[
"
${
image
/*\./
}
"
==
"xml"
]] && image=
""
# Error msg
[[ ! -f
"
$image
"
]] && err
"Image: Wallpaper detection failed, falling back to ascii mode."
}
}
get_term_size
()
{
get_term_size
()
{
...
@@ -2646,13 +2643,6 @@ err() {
...
@@ -2646,13 +2643,6 @@ err() {
"
"
}
}
check_old_flags() {
[[ -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 "
$progress_char
" ]] && err "
Config:
\$
progress_char is deprecated, use
\$
progress_char_elapsed and
\$
progress_char_total instead.
"
[[ "
$cpu_cores
" == "
on
" ]] && err "
Config:
\$
cpu_cores
=
'on'
is deprecated, use
\$
cpu_cores
=
'logical|physical|off'
instead.
"
}
get_script_dir() {
get_script_dir() {
[[ "
$script_dir
" ]] && return
[[ "
$script_dir
" ]] && return
...
@@ -2839,6 +2829,14 @@ old_functions() {
...
@@ -2839,6 +2829,14 @@ old_functions() {
fi
fi
}
}
old_flags() {
[[ -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 "
$progress_char
" ]] && err "
Config:
\$
progress_char is deprecated, use
\$
progress_char_elapsed and
\$
progress_char_total 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
"; }
}
cache_uname() {
cache_uname() {
# Cache the output of uname so we don't
# Cache the output of uname so we don't
# have to spawn it multiple times.
# have to spawn it multiple times.
...
@@ -3147,7 +3145,7 @@ main() {
...
@@ -3147,7 +3145,7 @@ main() {
cache_uname
cache_uname
get_os
get_os
get_default_config 2>/dev/null
get_default_config 2>/dev/null
check_
old_flags
old_flags
get_args
"
$@
"
get_args
"
$@
"
get_distro
get_distro
bold
bold
...
...
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