2016-02-28 00:44:45 +00:00
|
|
|
# Neofetch
|
2015-12-30 10:20:53 +00:00
|
|
|
|
2016-04-01 14:29:45 +01:00
|
|
|
[![Gitter](https://badges.gitter.im/dylanaraps/fetch.svg)](https://gitter.im/dylanaraps/fetch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Build Status](https://travis-ci.org/dylanaraps/neofetch.svg?branch=master)](https://travis-ci.org/dylanaraps/neofetch) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md) [![Latest release](https://img.shields.io/github/release/dylanaraps/neofetch.svg)](https://github.com/dylanaraps/neofetch/releases)
|
2016-02-14 13:04:55 +00:00
|
|
|
|
2016-01-15 23:18:50 +00:00
|
|
|
This is the home of my fetch script! This script gathers info <br />
|
2016-01-30 03:31:40 +00:00
|
|
|
about your system and prints it to the terminal next to an image, <br \>
|
|
|
|
your distro's logo or any ascii art of your choice!
|
2015-12-30 10:18:17 +00:00
|
|
|
|
2016-05-08 23:27:59 +01:00
|
|
|
Have a look at the wiki, I've updated/added some new pages!<br \>
|
2016-04-24 11:46:38 +01:00
|
|
|
**https://github.com/dylanaraps/neofetch/wiki**
|
2016-04-24 11:45:50 +01:00
|
|
|
|
2016-05-29 09:00:31 +01:00
|
|
|
![1](https://ipfs.pics/ipfs/QmTtF9Sx8o617QE88GH3Z4yX7mRyi4yS1hsMHyRVmn14vJ)
|
2015-12-30 10:18:17 +00:00
|
|
|
|
|
|
|
|
2016-01-30 04:34:34 +00:00
|
|
|
## Features
|
|
|
|
|
2016-11-07 00:27:10 +00:00
|
|
|
- Supports **Linux**, **MacOS**, **iOS**, **BSD**, **Solaris**, **Android**, **Haiku OS**, **GNU Hurd** and **Windows (Cygwin/Windows 10 Linux subsystem)**
|
2016-01-30 04:34:34 +00:00
|
|
|
- Display a **full color image**, a file containing **ascii art** or your **distro's logo** in ascii next to the info.
|
|
|
|
- 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.
|
|
|
|
- Customize **which** info is displayed, **where** it's displayed and **when** it's displayed.
|
2016-02-28 00:44:45 +00:00
|
|
|
- See this **[wiki page](https://github.com/dylanaraps/neofetch/wiki/Customizing-Info)**
|
2016-01-30 04:34:34 +00:00
|
|
|
|
|
|
|
|
2015-12-31 22:36:26 +00:00
|
|
|
## Dependencies
|
2015-12-30 10:18:17 +00:00
|
|
|
|
2016-11-12 09:59:59 +00:00
|
|
|
https://github.com/dylanaraps/neofetch/wiki/Dependencies
|
2016-11-02 02:31:22 +00:00
|
|
|
|
2016-10-26 23:40:16 +01:00
|
|
|
|
2016-01-09 02:27:37 +00:00
|
|
|
## Installation
|
|
|
|
|
2016-11-12 10:05:53 +00:00
|
|
|
https://github.com/dylanaraps/neofetch/wiki/Installation
|
2016-01-09 02:27:37 +00:00
|
|
|
|
|
|
|
|
2016-01-18 01:43:06 +00:00
|
|
|
## Post Install
|
2015-12-31 22:36:26 +00:00
|
|
|
|
2016-01-31 05:40:21 +00:00
|
|
|
|
2016-01-30 03:31:40 +00:00
|
|
|
#### Using the config file
|
|
|
|
|
2016-02-28 00:44:45 +00:00
|
|
|
Neofetch will by default create a config file at `$HOME/.config/neofetch/config` and this file<br \>
|
2016-01-30 03:31:40 +00:00
|
|
|
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 \>
|
|
|
|
with other people.
|
|
|
|
|
|
|
|
You can launch the script without a config file by using the flag `--config none` and you can<br \>
|
|
|
|
specify a custom config location using `--config path/to/config`.
|
|
|
|
|
2015-12-30 10:18:17 +00:00
|
|
|
|
2016-01-21 11:33:05 +00:00
|
|
|
#### Customizing what info gets displayed
|
|
|
|
|
|
|
|
https://github.com/dylanaraps/fetch/wiki/Customizing-Info
|
|
|
|
|
|
|
|
|
|
|
|
#### Customizing the script using a custom alias
|
|
|
|
|
2016-01-31 11:01:04 +00:00
|
|
|
If you don't want to use the config file you can customize almost everything using launch flags!
|
2016-01-18 01:43:06 +00:00
|
|
|
|
2016-08-12 13:01:39 +01:00
|
|
|
Here's an example neofetch alias:
|
2016-01-18 01:43:06 +00:00
|
|
|
|
|
|
|
```sh
|
2016-08-12 13:01:39 +01:00
|
|
|
alias neofetch2="neofetch \
|
|
|
|
--config off \
|
2016-01-18 01:43:06 +00:00
|
|
|
--block_range 1 8 \
|
|
|
|
--bold off \
|
|
|
|
--uptime_shorthand on \
|
|
|
|
--gtk_shorthand on \
|
|
|
|
--colors 4 1 8 8 8 7 \
|
|
|
|
"
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2016-01-20 09:40:17 +00:00
|
|
|
## Frequently Asked Questions
|
|
|
|
|
|
|
|
|
2016-01-28 09:11:18 +00:00
|
|
|
#### How do I enable screenfetch mode?
|
|
|
|
|
2016-08-12 13:01:39 +01:00
|
|
|
Launching the script with `--ascii` or setting `image="ascii"` <br \>
|
2016-02-04 07:22:52 +00:00
|
|
|
inside the config file will launch the script in "screenfetch mode". The script will<br \>
|
|
|
|
display your distro's ascii next to the info, exactly like screenfetch.
|
|
|
|
|
2016-03-10 08:21:22 +00:00
|
|
|
**NOTE:** If you **don't** have `w3m-img` or `imagemagick` installed screenfetch mode will be<br \>
|
2016-02-04 07:22:52 +00:00
|
|
|
used automatically
|
2016-01-28 09:11:18 +00:00
|
|
|
|
2016-02-28 00:44:45 +00:00
|
|
|
#### Why doesn't Neofetch support my wallpaper setter?
|
2016-01-20 09:40:17 +00:00
|
|
|
|
2016-02-04 07:22:52 +00:00
|
|
|
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.
|
2016-01-20 09:40:17 +00:00
|
|
|
|
2016-02-04 07:22:52 +00:00
|
|
|
If your wallpaper setter **does** provide a way of getting the current wallpaper or you<br \>
|
|
|
|
know where it's stored then adding support won't be a problem!<br \>
|
2016-01-20 09:40:17 +00:00
|
|
|
|
|
|
|
|
2016-01-17 21:26:39 +00:00
|
|
|
## Issues and Workarounds
|
|
|
|
|
|
|
|
|
2016-01-23 21:40:01 +00:00
|
|
|
#### The text is pushed over too far to the right
|
|
|
|
|
|
|
|
The easiest way to fix this is to change the value of `--gap` or `$gap`<br \>
|
|
|
|
to a negative value. For example `--gap -10` will move the text 10 spaces to the left.
|
|
|
|
|
|
|
|
|
2016-01-19 22:29:08 +00:00
|
|
|
#### getgpu doesn't show my exact video card name
|
|
|
|
|
2016-01-21 01:25:36 +00:00
|
|
|
If your `lspci | grep "VGA"` output looks like this:
|
2016-01-19 22:29:08 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1401 (rev a1)
|
|
|
|
```
|
|
|
|
|
|
|
|
Instead of this:
|
|
|
|
|
|
|
|
```
|
|
|
|
01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
|
|
|
|
```
|
|
|
|
|
|
|
|
Then you're affected by the issue.
|
|
|
|
|
|
|
|
This is caused by your `/usr/share/misc/pci.ids\*` files being outdated and you can fix it<br \>
|
|
|
|
by running this command as root.
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo update-pciids
|
|
|
|
```
|
|
|
|
|
2016-03-27 03:34:29 +01:00
|
|
|
#### Neofetch doesn't work correctly with ConEmu.
|
|
|
|
|
|
|
|
You need to be using the CYGWIN/Msys connector for Neofetch to work seamlessly with ConEmu.
|
|
|
|
|
|
|
|
https://conemu.github.io/en/CygwinMsysConnector.html
|
|
|
|
|
|
|
|
|
2016-01-17 21:26:39 +00:00
|
|
|
## Thanks
|
2016-01-04 04:50:52 +00:00
|
|
|
|
|
|
|
Thanks to:
|
|
|
|
|
2016-02-23 14:33:25 +00:00
|
|
|
- [Screenfetch](https://github.com/KittyKatt/screenFetch):
|
2016-01-28 09:32:07 +00:00
|
|
|
- I've used some snippets as a base for a few functions in this script.
|
2016-08-12 13:01:39 +01:00
|
|
|
- Some of the ascii logos.
|
|
|
|
- [ufetch](https://github.com/jschx/ufetch):
|
|
|
|
- Tiny ascii logos
|
|
|
|
- Everyone else helped out in one way or another. I'd list all of the names<br \>
|
|
|
|
but there's just too many of you. :)
|