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
b6a55cf9
Commit
b6a55cf9
authored
Jan 15, 2017
by
Dylan Araps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Config: Remove 'w3m_img_path'
parent
4d00a4da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
20 deletions
+4
-20
config
config/config
+0
-16
neofetch
neofetch
+4
-4
No files found.
config/config
View file @
b6a55cf9
...
@@ -705,22 +705,6 @@ image_host="teknik"
...
@@ -705,22 +705,6 @@ image_host="teknik"
# Config Options
# Config Options
# w3m-img path
# Only works with the w3m backend.
#
# NOTE: Only change this if "neofetch -v" says that it "couldn't find w3m-img".
# Neofetch has a function that automatically finds w3m-img for you. It looks
# in the following directories:
# /usr/lib/w3m/w3mimgdisplay
# /usr/libexec/w3m/w3mimgdisplay
# /usr/lib64/w3m/w3mimgdisplay
# /usr/libexec64/w3m/w3mimgdisplay
# If w3m-img is installed elsewhere on your system, open an issue on the repo
# and I'll add it to the function inside the script. If w3m-img is installed
# in a non-standard way (in your home folder, etc) then change the variable
# below to the custom location. Otherwise, don't touch this.
w3m_img_path
=
"/usr/lib/w3m/w3mimgdisplay"
# Enable/Disable config file
# Enable/Disable config file
#
#
# Default: 'on'
# Default: 'on'
...
...
neofetch
View file @
b6a55cf9
...
@@ -2133,10 +2133,7 @@ get_wallpaper() {
...
@@ -2133,10 +2133,7 @@ get_wallpaper() {
get_w3m_img_path
()
{
get_w3m_img_path
()
{
# Find w3m-img path.
# Find w3m-img path.
if
[[
-x
"
$w3m_img_path
"
]]
;
then
if
[[
-x
"/usr/lib/w3m/w3mimgdisplay"
]]
;
then
w3m_img_path
=
"
$w3m_img_path
"
elif
[[
-x
"/usr/lib/w3m/w3mimgdisplay"
]]
;
then
w3m_img_path
=
"/usr/lib/w3m/w3mimgdisplay"
w3m_img_path
=
"/usr/lib/w3m/w3mimgdisplay"
elif
[[
-x
"/usr/libexec/w3m/w3mimgdisplay"
]]
;
then
elif
[[
-x
"/usr/libexec/w3m/w3mimgdisplay"
]]
;
then
...
@@ -2147,6 +2144,9 @@ get_w3m_img_path() {
...
@@ -2147,6 +2144,9 @@ get_w3m_img_path() {
elif
[[
-x
"/usr/libexec64/w3m/w3mimgdisplay"
]]
;
then
elif
[[
-x
"/usr/libexec64/w3m/w3mimgdisplay"
]]
;
then
w3m_img_path
=
"/usr/libexec64/w3m/w3mimgdisplay"
w3m_img_path
=
"/usr/libexec64/w3m/w3mimgdisplay"
else
err
"Image: w3m-img wasn't found on your system"
fi
fi
}
}
...
...
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