Merge branch 'master' into android2

This commit is contained in:
Dylan Araps 2016-10-22 09:15:23 +11:00
commit 76772feabf

142
README.md
View file

@ -20,6 +20,16 @@ Have a look at the wiki, I've updated/added some new pages!<br \>
- [Screenshots](#screenshots) - [Screenshots](#screenshots)
- [Features](#features) - [Features](#features)
- [Dependencies](#dependencies) - [Dependencies](#dependencies)
- [Required dependencies](https://github.com/dylanaraps/neofetch#required-dependencies)
- [Image mode dependencies](https://github.com/dylanaraps/neofetch#image-mode-dependencies)
- [Optional dependencies](https://github.com/dylanaraps/neofetch#optional-dependencies)
- [Song](https://github.com/dylanaraps/neofetch#song)
- [Desktop Environment and Window Manager](https://github.com/dylanaraps/neofetch#desktop-environment-and-window-manager)
- [Wallpaper](https://github.com/dylanaraps/neofetch#wallpaper)
- [Resolution](https://github.com/dylanaraps/neofetch#resolution)
- [Screenshot](https://github.com/dylanaraps/neofetch#screenshot)
- [GPU](https://github.com/dylanaraps/neofetch#gpu)
- [iOS dependencies](https://github.com/dylanaraps/neofetch#ios)
- [Installation](#installation) - [Installation](#installation)
- [Arch Linux](#arch) - [Arch Linux](#arch)
- [Gentoo / Funtoo](#gentoo--funtoo) - [Gentoo / Funtoo](#gentoo--funtoo)
@ -31,9 +41,9 @@ Have a look at the wiki, I've updated/added some new pages!<br \>
- [BunsenLabs](#bunsenlabs) - [BunsenLabs](#bunsenlabs)
- [Solus](#solus) - [Solus](#solus)
- [Slackware](#slackware) - [Slackware](#slackware)
- [macOS](#mac-os-x) - [macOS](#macos)
- [iOS](#ios-1) - [iOS](#ios-1)
- [Others](#others) - [Manual](#manual)
- [Post Install](#post-install) - [Post Install](#post-install)
- [Usage](#usage) - [Usage](#usage)
- [Frequently Asked Questions](#frequently-asked-questions) - [Frequently Asked Questions](#frequently-asked-questions)
@ -75,18 +85,30 @@ Have a look at the wiki, I've updated/added some new pages!<br \>
<!-- }}} --> <!-- }}} -->
<!-- Dependences {{{ --> <!-- Dependencies {{{ -->
## Dependencies ## Dependencies
- [Required dependencies](https://github.com/dylanaraps/neofetch#required-dependencies)
- [Image mode dependencies](https://github.com/dylanaraps/neofetch#image-mode-dependencies)
- [Optional dependencies](https://github.com/dylanaraps/neofetch#optional-dependencies)
- [Song](https://github.com/dylanaraps/neofetch#song)
- [Desktop Environment and Window Manager](https://github.com/dylanaraps/neofetch#desktop-environment-and-window-manager)
- [Wallpaper](https://github.com/dylanaraps/neofetch#wallpaper)
- [Resolution](https://github.com/dylanaraps/neofetch#resolution)
- [Screenshot](https://github.com/dylanaraps/neofetch#screenshot)
- [GPU](https://github.com/dylanaraps/neofetch#gpu)
- [iOS dependencies](https://github.com/dylanaraps/neofetch#ios)
### Required dependencies: ### Required dependencies:
- `Bash 3.0+` - `Bash 3.0+`
- Alpine Linux: You also need `ncurses`. - Alpine Linux: You also need `ncurses`.
##### Image mode ### Image mode dependencies:
These dependencies are required for image mode to work. These dependencies are required for image mode to work.
@ -101,7 +123,67 @@ These dependencies are required for image mode to work.
\[3\] See this wiki page to find out if your terminal emulator supports `\033[14t` or if you need an additonal dependency. \[3\] See this wiki page to find out if your terminal emulator supports `\033[14t` or if you need an additonal dependency.
##### iOS ### Optional dependencies:
#### Song
- Google Play Music Desktop Player: [`gpmdp-remote`](https://github.com/iAndrewT/gpmdp-remote)
- MPD: `mpc`
- CMUS: `cmus`
- MOC: `moc`
- Spotify: `spotify`
- Rhythmbox: `rhythmbox`
- Banshee: `banshee`
- Amarok: `amarok`
- Deadbeef: `deadbeef`
#### Desktop Environment and Window Manager
- Desktop Environment and Window Manager: `xprop` \[1\]
\[1\] See **[#79](https://github.com/dylanaraps/neofetch/issues/79)** about why this is now a required dependency.
#### Wallpaper
**Linux, BSD and Solaris**
- Wallpaper: `feh`, `nitrogen` or `gsettings`
**Windows and macOS**
- No additional dependencies needed.
#### Resolution
**Linux, BSD and Solaris**
- Resolution: `xorg-xrandr` or `xorg-xdpyinfo` \[1\]
**macOS**
- Resolution (quicker): `screenresolution` \[2\]
\[1\] Xrandr is prefered over xdpyinfo as Xrandr supports multi monitor and refresh rate display in the<br \>
output.
\[2\] `screenresolution` is installed for you when using homebrew.
#### Screenshot
- Screenshot: `scrot` \[1\]
\[1\] You can use the launch flag `--scrot_cmd` or change the config option `$scrot_cmd` to your screenshot<br \>
program's cmd and neofetch will use it instead of scrot.
#### GPU
**BSD and Solaris**
- GPU: `glxinfo`
- Not required on FreeBSD.
#### iOS
These dependencies can all be installed through Cydia.<br \> These dependencies can all be installed through Cydia.<br \>
Note: The cydia package installs these dependencies for you. Note: The cydia package installs these dependencies for you.
@ -115,40 +197,6 @@ Note: The cydia package installs these dependencies for you.
- `grep` - `grep`
### Optional dependencies:
- Displaying song information from Google Play Music Desktop Player: [`gpmdp-remote`](https://github.com/iAndrewT/gpmdp-remote)
- Desktop Environment and Window Manager: `xprop` \[1\]
##### Linux / BSD / Solaris
- Wallpaper: `feh`, `nitrogen` or `gsettings`
- Current Song: `mpc`, `cmus`, `moc`, `spotify`, `gpmdc`
- Resolution: `xorg-xrandr` or `xorg-xdpyinfo` \[2\]
- Screenshot: `scrot` \[3\]
##### OSX
- Resolution (quicker): `screenresolution`
##### BSD / Solaris
- GPU: `glxinfo`
- Not required on FreeBSD.
##### Windows (CYGWIN)
- `procps-ng` or `procps`
\[1\] See **[#79](https://github.com/dylanaraps/neofetch/issues/79)** about why this is now a required dependency.
\[2\] Xrandr is prefered over xdpyinfo as Xrandr supports multi monitor and refresh rate display in the<br \>
output.
\[3\] You can use the launch flag `--scrot_cmd` or change the config option `$scrot_cmd` to your screenshot<br \>
program's cmd and neofetch will use it instead of scrot.
<!-- }}} --> <!-- }}} -->
@ -175,7 +223,7 @@ https://github.com/dylanaraps/neofetch/wiki/Following-HEAD
- [Slackware](#slackware) - [Slackware](#slackware)
- [macOS](#mac-os-x) - [macOS](#mac-os-x)
- [iOS](##ios-1) - [iOS](##ios-1)
- [Others](#others) - [Manual](#manual)
### Arch ### Arch
@ -189,6 +237,7 @@ You can install `app-misc/neofetch` from Gentoo/Funtoo's official repositories.
To install the git version of neofetch, use `=app-misc/neofetch-9999` instead. To install the git version of neofetch, use `=app-misc/neofetch-9999` instead.
### CRUX ### CRUX
1. Install git and the git ports(8) driver 1. Install git and the git ports(8) driver
@ -211,6 +260,7 @@ Or alternatively use the [port](https://raw.githubusercontent.com/6c37/crux-port
3. Install the package 3. Install the package
- `sudo pkgadd neofetch#git-*.pkg.tar.gz` - `sudo pkgadd neofetch#git-*.pkg.tar.gz`
### Ubuntu ### Ubuntu
1. Add PPA 1. Add PPA
@ -220,6 +270,7 @@ Or alternatively use the [port](https://raw.githubusercontent.com/6c37/crux-port
3. Install the package 3. Install the package
- `sudo apt install neofetch` - `sudo apt install neofetch`
### Debian ### Debian
1. Add the 3rd party repo 1. Add the 3rd party repo
@ -251,36 +302,45 @@ Alternatively:
3. Install the package 3. Install the package
- `sudo dnf install neofetch` - `sudo dnf install neofetch`
### Void Linux ### Void Linux
Install it from the official repositories Install it from the official repositories
- `sudo xbps-install -S neofetch` - `sudo xbps-install -S neofetch`
### BunsenLabs ### BunsenLabs
Neofetch is available in the official repos. Neofetch is available in the official repos.
1. `sudo apt-get update` 1. `sudo apt-get update`
2. `sudo apt-get install neofetch` 2. `sudo apt-get install neofetch`
### Solus ### Solus
Use the Software Center or type `sudo eopkg it neofetch`. Use the Software Center or type `sudo eopkg it neofetch`.
### Slackware ### Slackware
Download the files from [SlackBuilds](https://slackbuilds.org/repository/14.2/desktop/neofetch/) and follow [their instructions](https://slackbuilds.org/howto/). Download the files from [SlackBuilds](https://slackbuilds.org/repository/14.2/desktop/neofetch/) and follow [their instructions](https://slackbuilds.org/howto/).
### macOS ### macOS
1. Install `neofetch` with Homebrew 1. Install `neofetch` with Homebrew
- `brew install neofetch` - `brew install neofetch`
### iOS ### iOS
1. Add `http://dylanaraps.com/repo` to your cydia sources. 1. Add `http://dylanaraps.com/repo` to your cydia sources.
2. Install `neofetch` through cydia. 2. Install `neofetch` through cydia.
### Others
### Manual
1. Download the latest source at https://github.com/dylanaraps/neofetch 1. Download the latest source at https://github.com/dylanaraps/neofetch
2. Run `make install` inside the script directory to install the script. 2. Run `make install` inside the script directory to install the script.