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
8f79a132
Commit
8f79a132
authored
Feb 28, 2016
by
Dylan Araps
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #110 from dylanaraps/neofetch
Rename fetch to neofetch
parents
4f08dd70
5acf6c39
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
45 deletions
+47
-45
1.4.md
1.4.md
+3
-1
Makefile
Makefile
+7
-7
README.md
README.md
+12
-12
neofetch
neofetch
+25
-25
No files found.
1.4.md
View file @
8f79a132
# Fetch 1.4
# Neofetch 1.4
-
Renamed
`fetch`
to
`neofetch`
. Thanks for voting.
### Info
### Info
...
...
Makefile
View file @
8f79a132
...
@@ -5,17 +5,17 @@ INSTALL_PROG ?= install -m755
...
@@ -5,17 +5,17 @@ INSTALL_PROG ?= install -m755
INSTALL_FILE
?=
install
-m644
INSTALL_FILE
?=
install
-m644
all
:
all
:
@
echo
Run
\'
make
install
\'
to
install
F
etch
@
echo
Run
\'
make
install
\'
to
install
Neof
etch
install
:
install
:
$(INSTALL_DIR)
$(DESTDIR)$(PREFIX)
/bin
$(INSTALL_DIR)
$(DESTDIR)$(PREFIX)
/bin
$(INSTALL_DIR)
$(DESTDIR)$(PREFIX)
/share/fetch/ascii/distro
$(INSTALL_DIR)
$(DESTDIR)$(PREFIX)
/share/
neo
fetch/ascii/distro
$(INSTALL_PROG)
fetch
$(DESTDIR)$(PREFIX)
/bin/
fetch
$(INSTALL_PROG)
neofetch
$(DESTDIR)$(PREFIX)
/bin/neo
fetch
$(INSTALL_PROG)
config/config
$(DESTDIR)$(PREFIX)
/share/fetch/config
$(INSTALL_PROG)
config/config
$(DESTDIR)$(PREFIX)
/share/
neo
fetch/config
$(INSTALL_PROG)
ascii/distro/
*
$(DESTDIR)$(PREFIX)
/share/fetch/ascii/distro
$(INSTALL_PROG)
ascii/distro/
*
$(DESTDIR)$(PREFIX)
/share/
neo
fetch/ascii/distro
uninstall
:
uninstall
:
$(RM)
$(DESTDIR)$(PREFIX)
/bin/fetch
$(RM)
$(DESTDIR)$(PREFIX)
/bin/
neo
fetch
$(RM)
-r
$(DESTDIR)$(PREFIX)
/share/fetch
$(RM)
-r
$(DESTDIR)$(PREFIX)
/share/
neo
fetch
README.md
View file @
8f79a132
# fetch
#
Neo
fetch
[

](https://gitter.im/dylanaraps/fetch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[

](https://gitter.im/dylanaraps/fetch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
...
@@ -52,7 +52,7 @@ your distro's logo or any ascii art of your choice!
...
@@ -52,7 +52,7 @@ your distro's logo or any ascii art of your choice!
-
The script is
**fast**
. We use bash builtins wherever possible and only spawn external processes when necessary.
-
The script is
**fast**
. We use bash builtins wherever possible and only spawn external processes when necessary.
-
Take a screenshot of your desktop on script finish.
-
Take a screenshot of your desktop on script finish.
-
Customize
**which**
info is displayed,
**where**
it's displayed and
**when**
it's displayed.
-
Customize
**which**
info is displayed,
**where**
it's displayed and
**when**
it's displayed.
-
See this
**[wiki page](https://github.com/dylanaraps/fetch/wiki/Customizing-Info)**
-
See this
**[wiki page](https://github.com/dylanaraps/
neo
fetch/wiki/Customizing-Info)**
<!-- }}} -->
<!-- }}} -->
...
@@ -84,7 +84,7 @@ your distro's logo or any ascii art of your choice!
...
@@ -84,7 +84,7 @@ your distro's logo or any ascii art of your choice!
-
Screenshot:
`scrot`
\[
5
\]
-
Screenshot:
`scrot`
\[
5
\]
\[
1
\]
See
**[#79](https://github.com/dylanaraps/fetch/issues/79)**
about why this is now a required dependency.
\[
1
\]
See
**[#79](https://github.com/dylanaraps/
neo
fetch/issues/79)**
about why this is now a required dependency.
\[
2
\]
`w3m-img`
is sometimes bundled together with
`w3m`
.
\[
2
\]
`w3m-img`
is sometimes bundled together with
`w3m`
.
...
@@ -95,7 +95,7 @@ terminal emulators that don't support the xterm escape sequences we're using for
...
@@ -95,7 +95,7 @@ terminal emulators that don't support the xterm escape sequences we're using for
changing the config option
`$image_backend`
to
`iterm2`
.
changing the config option
`$image_backend`
to
`iterm2`
.
\[
5
\]
You can use the launch flag
`--scrot_cmd`
or change the config option
`$scrot_cmd`
to your screenshot<br
\>
\[
5
\]
You can use the launch flag
`--scrot_cmd`
or change the config option
`$scrot_cmd`
to your screenshot<br
\>
program's cmd and fetch will use it instead of scrot.
program's cmd and
neo
fetch will use it instead of scrot.
<!-- }}} -->
<!-- }}} -->
...
@@ -106,15 +106,15 @@ program's cmd and fetch will use it instead of scrot.
...
@@ -106,15 +106,15 @@ program's cmd and fetch will use it instead of scrot.
## Installation
## Installation
Those using a git version of fetch should check this page after<br
\>
Those using a git version of
neo
fetch should check this page after<br
\>
updating, this page lists any breaking changes that were made and<br
\>
updating, this page lists any breaking changes that were made and<br
\>
how you can workaround them.
how you can workaround them.
https://github.com/dylanaraps/fetch/wiki/Following-HEAD
https://github.com/dylanaraps/
neo
fetch/wiki/Following-HEAD
### Arch
### Arch
1.
Install
**[
fetch-git](https://aur.archlinux.org/packages/
fetch-git/)**
from the aur.
1.
Install
**[
neofetch-git](https://aur.archlinux.org/packages/neo
fetch-git/)**
from the aur.
### Gentoo / Funtoo
### Gentoo / Funtoo
...
@@ -143,13 +143,13 @@ https://github.com/dylanaraps/fetch/wiki/Following-HEAD
...
@@ -143,13 +143,13 @@ https://github.com/dylanaraps/fetch/wiki/Following-HEAD
### Others
### Others
1.
Download the latest source at https://github.com/dylanaraps/fetch
1.
Download the latest source at https://github.com/dylanaraps/
neo
fetch
2.
Run
`make install`
inside the script directory to install the script.
2.
Run
`make install`
inside the script directory to install the script.
-
**El Capitan**
:
`PREFIX=/usr/local make install`
-
**El Capitan**
:
`PREFIX=/usr/local make install`
**NOTE:**
F
etch can be uninstalled easily using
`make uninstall`
.
**NOTE:**
Neof
etch can be uninstalled easily using
`make uninstall`
.
**NOTE:**
F
etch can also be run from any directory like a normal script,<br
\>
**NOTE:**
Neof
etch can also be run from any directory like a normal script,<br
\>
you'll just be missing the ascii distro logos and automatic config file creation.
you'll just be missing the ascii distro logos and automatic config file creation.
...
@@ -164,7 +164,7 @@ you'll just be missing the ascii distro logos and automatic config file creation
...
@@ -164,7 +164,7 @@ you'll just be missing the ascii distro logos and automatic config file creation
#### Using the config file
#### Using the config file
Fetch will by default create a config file at
`$HOME/.config/
fetch/config`
and this file<br
\>
Neofetch will by default create a config file at
`$HOME/.config/neo
fetch/config`
and this file<br
\>
contains all of the script's options/settings. The config file allows you to keep your<br
\>
contains all of the script's options/settings. The config file allows you to keep your<br
\>
customizations between script versions and allows you to easily share your customizations<br
\>
customizations between script versions and allows you to easily share your customizations<br
\>
with other people.
with other people.
...
@@ -341,7 +341,7 @@ used automatically
...
@@ -341,7 +341,7 @@ used automatically


#### Why doesn't fetch support my wallpaper setter?
#### Why doesn't
Neo
fetch support my wallpaper setter?
It's hard to add support for other wallpaper setters as they don't provide a way of <br
\>
It's hard to add support for other wallpaper setters as they don't provide a way of <br
\>
getting the current wallpaper from the cli.
getting the current wallpaper from the cli.
...
...
fetch
→
neo
fetch
View file @
8f79a132
#!/usr/bin/env bash
#!/usr/bin/env bash
# vim: fdm=marker:noai:ts=4:sw=4
# vim: fdm=marker:noai:ts=4:sw=4
#
#
#
F
etch info about your system
#
Neof
etch info about your system
# https://github.com/dylanaraps/fetch
# https://github.com/dylanaraps/
neo
fetch
#
#
# Required Dependencies:
# Required Dependencies:
# Bash 4.0+
# Bash 4.0+
...
@@ -34,7 +34,7 @@ export LANG=C
...
@@ -34,7 +34,7 @@ export LANG=C
# Info
# Info
# See this wiki page for more info:
# See this wiki page for more info:
# https://github.com/dylanaraps/fetch/wiki/Customizing-Info
# https://github.com/dylanaraps/
neo
fetch/wiki/Customizing-Info
printinfo
()
{
printinfo
()
{
info title
info title
info underline
info underline
...
@@ -245,7 +245,7 @@ prompt_height=1
...
@@ -245,7 +245,7 @@ prompt_height=1
image
=
"wall"
image
=
"wall"
# Thumbnail directory
# Thumbnail directory
thumbnail_dir
=
"
$HOME
/.cache/thumbnails/fetch"
thumbnail_dir
=
"
$HOME
/.cache/thumbnails/
neo
fetch"
# Image Backend
# Image Backend
# Which program to draw images with
# Which program to draw images with
...
@@ -332,7 +332,7 @@ scrot_dir="$HOME/Pictures"
...
@@ -332,7 +332,7 @@ scrot_dir="$HOME/Pictures"
# Scrot filename
# Scrot filename
# What to name the screenshots
# What to name the screenshots
# --scrot_name str
# --scrot_name str
scrot_name
=
"fetch-%Y-%m-%d-%H:%M.png"
scrot_name
=
"
neo
fetch-%Y-%m-%d-%H:%M.png"
# }}}
# }}}
...
@@ -346,7 +346,7 @@ config="on"
...
@@ -346,7 +346,7 @@ config="on"
# Path to custom config file location
# Path to custom config file location
# --config path/to/config
# --config path/to/config
config_file
=
"
$HOME
/.config/fetch/config"
config_file
=
"
$HOME
/.config/
neo
fetch/config"
# }}}
# }}}
...
@@ -1629,11 +1629,11 @@ getascii () {
...
@@ -1629,11 +1629,11 @@ getascii () {
ascii=
${
ascii_distro
,,
}
ascii=
${
ascii_distro
,,
}
fi
fi
if [ -f "
/usr/share/fetch/ascii/distro/
${
ascii
/ *
}
" ]; then
if [ -f "
/usr/share/
neo
fetch/ascii/distro/
${
ascii
/ *
}
" ]; then
ascii="
/usr/share/fetch/ascii/distro/
${
ascii
/ *
}
"
ascii="
/usr/share/
neo
fetch/ascii/distro/
${
ascii
/ *
}
"
elif [ -f "
/usr/local/share/fetch/ascii/distro/
${
ascii
/ *
}
" ]; then
elif [ -f "
/usr/local/share/
neo
fetch/ascii/distro/
${
ascii
/ *
}
" ]; then
ascii="
/usr/local/share/fetch/ascii/distro/
${
ascii
/ *
}
"
ascii="
/usr/local/share/
neo
fetch/ascii/distro/
${
ascii
/ *
}
"
else
else
getscriptdir
getscriptdir
...
@@ -2185,24 +2185,24 @@ getconfig () {
...
@@ -2185,24 +2185,24 @@ getconfig () {
return
return
fi
fi
# Check
$HOME
/.config/fetch and create the
# Check
$HOME
/.config/
neo
fetch and create the
# dir/files if they don't exist.
# dir/files if they don't exist.
if [ -f "
$HOME
/.config/fetch/config
" ]; then
if [ -f "
$HOME
/.config/
neo
fetch/config
" ]; then
source "
$HOME
/.config/fetch/config
"
source "
$HOME
/.config/
neo
fetch/config
"
elif [ -f "
/usr/share/fetch/config
" ]; then
elif [ -f "
/usr/share/
neo
fetch/config
" ]; then
cp "
/usr/share/
fetch/config
" "
$HOME
/.config/
fetch
"
cp "
/usr/share/
neofetch/config
" "
$HOME
/.config/neo
fetch
"
source "
$HOME
/.config/fetch/config
"
source "
$HOME
/.config/
neo
fetch/config
"
elif [ -f "
/usr/local/share/fetch/config
" ]; then
elif [ -f "
/usr/local/share/
neo
fetch/config
" ]; then
cp "
/usr/local/share/
fetch/config
" "
$HOME
/.config/
fetch
"
cp "
/usr/local/share/
neofetch/config
" "
$HOME
/.config/neo
fetch
"
source "
$HOME
/.config/fetch/config
"
source "
$HOME
/.config/
neo
fetch/config
"
else
else
getscriptdir
getscriptdir
cp "
$script_dir
/config/config
" "
$HOME
/.config/fetch
"
cp "
$script_dir
/config/config
" "
$HOME
/.config/
neo
fetch
"
source "
$HOME
/.config/fetch/config
"
source "
$HOME
/.config/
neo
fetch/config
"
fi
fi
}
}
...
@@ -2225,7 +2225,7 @@ esac
...
@@ -2225,7 +2225,7 @@ esac
usage () { cat << EOF
usage () { cat << EOF
usage: fetch --option "
value
" --option "
value
"
usage:
neo
fetch --option "
value
" --option "
value
"
NOTE: There's also a config option for each flag below.
NOTE: There's also a config option for each flag below.
...
@@ -2233,7 +2233,7 @@ usage () { cat << EOF
...
@@ -2233,7 +2233,7 @@ usage () { cat << EOF
--disable infoname Allows you to disable an info line from appearing
--disable infoname Allows you to disable an info line from appearing
in the output.
in the output.
NOTE: You can supply multiple args. eg.
NOTE: You can supply multiple args. eg.
'fetch --disable cpu gpu disk shell'
'
neo
fetch --disable cpu gpu disk shell'
--osx_buildversion on/off Hide/Show Mac OS X build version.
--osx_buildversion on/off Hide/Show Mac OS X build version.
--os_arch on/off Hide/Show Windows architecture.
--os_arch on/off Hide/Show Windows architecture.
--speed_type type Change the type of cpu speed to display.
--speed_type type Change the type of cpu speed to display.
...
@@ -2305,7 +2305,7 @@ usage () { cat << EOF
...
@@ -2305,7 +2305,7 @@ usage () { cat << EOF
Stdout:
Stdout:
--stdout info info Launch fetch in stdout mode which prints the info
--stdout info info Launch
neo
fetch in stdout mode which prints the info
in a plain-text format that you can use with
in a plain-text format that you can use with
lemonbar etc.
lemonbar etc.
...
@@ -2464,7 +2464,7 @@ done
...
@@ -2464,7 +2464,7 @@ done
trap 'printf "
\033[?25h
"; clear; exit' 2
trap 'printf "
\033[?25h
"; clear; exit' 2
if [ "
$config
" == "
on
" ]; then
if [ "
$config
" == "
on
" ]; then
mkdir -p "
$HOME
/.config/fetch/
"
mkdir -p "
$HOME
/.config/
neo
fetch/
"
getconfig
getconfig
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