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
e8763c90
Unverified
Commit
e8763c90
authored
Oct 30, 2019
by
Dylan Araps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
neofetch: remove unneeded quotes
parent
efc28946
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
neofetch
neofetch
+13
-11
No files found.
neofetch
View file @
e8763c90
...
@@ -9543,10 +9543,10 @@ EOF
...
@@ -9543,10 +9543,10 @@ EOF
# Overwrite distro colors if '$ascii_colors' doesn't
# Overwrite distro colors if '$ascii_colors' doesn't
# equal 'distro'.
# equal 'distro'.
if [[ "${ascii_colors[0]}" != "distro" ]]; then
[[ ${ascii_colors[0]} != distro ]] && {
color_text=
"off"
color_text=
off
set_colors "${ascii_colors[@]}"
set_colors "${ascii_colors[@]}"
fi
}
}
}
main() {
main() {
...
@@ -9557,21 +9557,21 @@ main() {
...
@@ -9557,21 +9557,21 @@ main() {
eval "$config"
eval "$config"
get_args "$@"
get_args "$@"
[[
"$verbose" != "on"
]] && exec 2>/dev/null
[[
$verbose != on
]] && exec 2>/dev/null
get_simple "$@"
get_simple "$@"
get_distro
get_distro
get_bold
get_bold
get_distro_ascii
get_distro_ascii
[[
"$stdout" == "on"
]] && stdout
[[
$stdout == on
]] && stdout
# Minix doesn't support these sequences.
# Minix doesn't support these sequences.
if [[ "$TERM" != "minix" && "$stdout" != "on" ]]; then
[[ $TERM != minix && $stdout != on ]] && {
# If the script exits for any reason, unhide the cursor.
# If the script exits for any reason, unhide the cursor.
trap 'printf "\e[?25h\e[?7h"' EXIT
trap 'printf "\e[?25h\e[?7h"' EXIT
# Hide the cursor and disable line wrap.
# Hide the cursor and disable line wrap.
printf '\e[?25l\e[?7l'
printf '\e[?25l\e[?7l'
fi
}
image_backend
image_backend
get_cache_dir
get_cache_dir
...
@@ -9581,17 +9581,19 @@ main() {
...
@@ -9581,17 +9581,19 @@ main() {
# w3m-img: Draw the image a second time to fix
# w3m-img: Draw the image a second time to fix
# rendering issues in specific terminal emulators.
# rendering issues in specific terminal emulators.
[[
"$image_backend"
== *w3m* ]] && display_image
[[
$image_backend
== *w3m* ]] && display_image
# Add neofetch info to verbose output.
# Add neofetch info to verbose output.
err "Neofetch command: $0 $*"
err "Neofetch command: $0 $*"
err "Neofetch version: $version"
err "Neofetch version: $version"
# Show error messages.
[[ $verbose == on ]] && printf %b "$err" >&2
[[ "$verbose" == "on" ]] && printf "%b" "$err" >&2
# If `--loop` was used, constantly redraw the image.
# If `--loop` was used, constantly redraw the image.
while [[ "$image_loop" == "on" && "$image_backend" == "w3m" ]]; do display_image; sleep 1; done
while [[ $image_loop == on && $image_backend == w3m ]]; do
display_image
sleep 1
done
return 0
return 0
}
}
...
...
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