mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-18 09:57:13 +00:00
Compare commits
247 Commits
comp
...
wm_theme-m
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b713ca92f | ||
|
|
c690118884 | ||
|
|
3546ec347c | ||
|
|
625fdcf7c4 | ||
|
|
288a81a9e2 | ||
|
|
c688850bcc | ||
|
|
3dc7720c52 | ||
|
|
f41e5f11b5 | ||
|
|
fcca698229 | ||
|
|
cabe84481c | ||
|
|
2fccec783e | ||
|
|
1b75608304 | ||
|
|
1abc2ada77 | ||
|
|
b5915ac836 | ||
|
|
7fd9ff75a3 | ||
|
|
1a820cbbdf | ||
|
|
11d8aa683a | ||
|
|
6f423e3970 | ||
|
|
789cdcea40 | ||
|
|
c7c1cf59ec | ||
|
|
6e9f00445f | ||
|
|
e8939d58cf | ||
|
|
60d3aa3f10 | ||
|
|
762d239c32 | ||
|
|
95fb38e73f | ||
|
|
d87a13458f | ||
|
|
78aed92b39 | ||
|
|
ccf9fb8ebd | ||
|
|
c8d2a0442c | ||
|
|
bbbaf37e21 | ||
|
|
cb6e78efec | ||
|
|
e3a6b9f40d | ||
|
|
0b812fbc5d | ||
|
|
91f8510ef3 | ||
|
|
5b301c773b | ||
|
|
68645339d3 | ||
|
|
415ef5d4ae | ||
|
|
acc8103dde | ||
|
|
78e0fa3212 | ||
|
|
64188697b8 | ||
|
|
9431a593f6 | ||
|
|
23fc5aff3d | ||
|
|
7df1d0e3ef | ||
|
|
228fb778cb | ||
|
|
3c07884032 | ||
|
|
766113a0c2 | ||
|
|
661d003be2 | ||
|
|
2ecd8102d0 | ||
|
|
b6b320a75a | ||
|
|
b49ecb68f8 | ||
|
|
ca9d161bc9 | ||
|
|
7a64ce22a8 | ||
|
|
c9d6ef5c40 | ||
|
|
c6bd0461a0 | ||
|
|
c1da5eb09a | ||
|
|
12d9f93750 | ||
|
|
32a44b4d62 | ||
|
|
e2e98a6c7c | ||
|
|
c76c122650 | ||
|
|
eaa59da1e9 | ||
|
|
056a99bfa2 | ||
|
|
074323f0ed | ||
|
|
f24fed6df3 | ||
|
|
86372fe6a8 | ||
|
|
4f89361e50 | ||
|
|
653712c06a | ||
|
|
de5a260f6b | ||
|
|
617769059b | ||
|
|
4d6a4fb425 | ||
|
|
85a1bd0af7 | ||
|
|
5316b568e7 | ||
|
|
7677cd2b4b | ||
|
|
3a0e2ec68c | ||
|
|
62ada359fc | ||
|
|
ad2727620c | ||
|
|
ccabbbe678 | ||
|
|
1f8b18d7ca | ||
|
|
804f88aa7a | ||
|
|
041a1459b6 | ||
|
|
594e1fa10d | ||
|
|
fbb69625a7 | ||
|
|
a450fc88c5 | ||
|
|
d36ee68f2c | ||
|
|
e155df7a72 | ||
|
|
679aa306fb | ||
|
|
04420479dc | ||
|
|
8aab756a15 | ||
|
|
af6230f0ca | ||
|
|
7e96b42860 | ||
|
|
ea44816a3c | ||
|
|
981b2da634 | ||
|
|
1b67413d49 | ||
|
|
c99b864590 | ||
|
|
b399f49077 | ||
|
|
defee48d14 | ||
|
|
4fb30c040a | ||
|
|
1b356da175 | ||
|
|
a52115b364 | ||
|
|
e213ee7e58 | ||
|
|
ee30f29da9 | ||
|
|
763f3a9af5 | ||
|
|
bbb06ad4a9 | ||
|
|
faae04f0ee | ||
|
|
186093ddc0 | ||
|
|
ae2384dca8 | ||
|
|
9b2796e168 | ||
|
|
c29ecc3fae | ||
|
|
6f6b67f387 | ||
|
|
c47826225e | ||
|
|
17a56081a5 | ||
|
|
27258fb93c | ||
|
|
86711645a0 | ||
|
|
8a96fd545d | ||
|
|
6c966b05ae | ||
|
|
45d632d1f6 | ||
|
|
cc1be73077 | ||
|
|
a2b7de8e6a | ||
|
|
c8a32768b7 | ||
|
|
52ea4774a3 | ||
|
|
da37135ef0 | ||
|
|
6afceae066 | ||
|
|
2bbb46fedb | ||
|
|
10da8b3671 | ||
|
|
71e22d842e | ||
|
|
acdd6828f8 | ||
|
|
fcb302f649 | ||
|
|
3da0b5cfb4 | ||
|
|
e85a6a03f1 | ||
|
|
90ddcbd3e1 | ||
|
|
92c3ad7493 | ||
|
|
ed0b0a9746 | ||
|
|
0168516a2c | ||
|
|
801760a01b | ||
|
|
49c6119de5 | ||
|
|
6cbd5c4114 | ||
|
|
9605ae9c04 | ||
|
|
2f5b84afbd | ||
|
|
a9ec78656b | ||
|
|
c5da0db6f6 | ||
|
|
936b3b6b73 | ||
|
|
1bca06c0db | ||
|
|
fb23cc69d6 | ||
|
|
9d1222cbc2 | ||
|
|
fc12e55052 | ||
|
|
95a8ecfa71 | ||
|
|
afc29ac448 | ||
|
|
caea0f059c | ||
|
|
a37ee9a833 | ||
|
|
6bb5a78f92 | ||
|
|
19d2f4b2ca | ||
|
|
3aee64abaf | ||
|
|
1278844d87 | ||
|
|
380f889f2d | ||
|
|
4e33cf2f61 | ||
|
|
0800cf0dfd | ||
|
|
f5186ef32d | ||
|
|
21f7203533 | ||
|
|
02da9487fa | ||
|
|
6f17a2e367 | ||
|
|
382a1d2651 | ||
|
|
ff06200e51 | ||
|
|
565f714298 | ||
|
|
495a9fefbf | ||
|
|
0d50468d19 | ||
|
|
2c4fb88139 | ||
|
|
e07f545c26 | ||
|
|
9ba1bbaafe | ||
|
|
e7a3f5cba2 | ||
|
|
3272dce4ed | ||
|
|
4d129b50c1 | ||
|
|
b32f4e4d1a | ||
|
|
926fc4edde | ||
|
|
754ffe2fae | ||
|
|
9b29d3f669 | ||
|
|
17f2f5b2a6 | ||
|
|
8ee4710225 | ||
|
|
b8eb8fbaa7 | ||
|
|
3b5ec364e6 | ||
|
|
6c38b81fe1 | ||
|
|
6775a652d3 | ||
|
|
5d33b8d99d | ||
|
|
614fad0421 | ||
|
|
43c439853c | ||
|
|
2fef4d9849 | ||
|
|
78f355ba6d | ||
|
|
085bba208a | ||
|
|
9fe7ec4ccf | ||
|
|
2cc7b84189 | ||
|
|
2afc5a27af | ||
|
|
f960594cd4 | ||
|
|
71df4ffd3b | ||
|
|
1332874265 | ||
|
|
5037d312fd | ||
|
|
22df76c3b6 | ||
|
|
497b782ea1 | ||
|
|
c99fc64b67 | ||
|
|
d43da37d00 | ||
|
|
911c70adc3 | ||
|
|
f70390ede0 | ||
|
|
c651f5e068 | ||
|
|
288036eb26 | ||
|
|
aae3271422 | ||
|
|
61ee751147 | ||
|
|
50804a6877 | ||
|
|
ef94cc6764 | ||
|
|
31af4fe003 | ||
|
|
1da3523e9e | ||
|
|
a596b6467f | ||
|
|
c152801a8a | ||
|
|
97b4f04d33 | ||
|
|
cf07cb0c35 | ||
|
|
af455b2967 | ||
|
|
bdd21fa8a7 | ||
|
|
8a2e973814 | ||
|
|
2bdb5f3b01 | ||
|
|
d35574352f | ||
|
|
01bd13a3b5 | ||
|
|
94362674f2 | ||
|
|
2783446387 | ||
|
|
afb6782a88 | ||
|
|
24f5259339 | ||
|
|
536c0b0ef7 | ||
|
|
b3e6b7e818 | ||
|
|
4ac3dedaa0 | ||
|
|
1fc48be2f4 | ||
|
|
dfafca9f62 | ||
|
|
ea462a8ec1 | ||
|
|
94ae0099be | ||
|
|
e7306982e9 | ||
|
|
40bf68af26 | ||
|
|
078cda7b48 | ||
|
|
329abc5c46 | ||
|
|
440e8ca7b1 | ||
|
|
34eacd561b | ||
|
|
abe6b82fc7 | ||
|
|
26389a8423 | ||
|
|
daf866039e | ||
|
|
059239d2a7 | ||
|
|
8cfabdae47 | ||
|
|
b30151e6dd | ||
|
|
93ffa118a3 | ||
|
|
e7645597e1 | ||
|
|
428b73fc5a | ||
|
|
e95776d40b | ||
|
|
d8f7e8df54 | ||
|
|
bc9fd232e4 | ||
|
|
f847b05e32 |
@@ -18,6 +18,6 @@ install:
|
||||
|
||||
script:
|
||||
- time ./neofetch --travis -v
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck -e SC2244 -e SC2243 neofetch; fi
|
||||
# Check for lines longer than 100 chars.
|
||||
- if grep '.\{102\}' neofetch; then (exit 1); else (exit 0); fi
|
||||
|
||||
189
CHANGELOG.md
189
CHANGELOG.md
@@ -5,21 +5,178 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [6.0.1] - N/A
|
||||
|
||||
- **ascii**: Fixed bug causing files to not work.
|
||||
- **ascii**: Fixed bug causing files named `ascii` to not load.
|
||||
- **term_font** [kitty]: Fixed bug with empty config.
|
||||
- **get_cols**: Variables are now local. [**@asantam**](https://github.com/asantam)
|
||||
- **man_page**: More consistent arg documentation. [**@xPMo**](https://github.com/xPMo)
|
||||
|
||||
|
||||
## [6.0.0] - 2019-01-08
|
||||
|
||||
<img src="https://i.imgur.com/ZQI2EYz.png" alt="logo" height="100px">
|
||||
|
||||
This release fixes a wide range of bugs and adds some neat new features.
|
||||
Scroll down to "highlights" to see the bigger changes from this release.
|
||||
A big thank you to @konimex, @iandrewt and the contributors below who
|
||||
kept development going during my absence.
|
||||
|
||||
Expect a minor bug fix release sometime this week as I'm sure new bugs
|
||||
will come up. I've done extensive testing but things always slip through.
|
||||
|
||||
**Contributors**
|
||||
|
||||
- [**@mstraube**](https://github.com/mstraube)
|
||||
[**@konimex**](https://github.com/konimex), [**@iandrewt**](https://github.com/iandrewt), [**@arisinfenix**](https://github.com/arisinfenix), [**@xPMo**](https://github.com/xPMo), [**@nero**](https://github.com/nero), [**@alyssais**](https://github.com/alyssais),
|
||||
[**@plgruener**](https://github.com/plgruener), [**@StarryTony**](https://github.com/StarryTony), [**@julianaito**](https://github.com/julianaito), [**@HolyStephano**](https://github.com/HolyStephano),
|
||||
[**@nikitenich**](https://github.com/nikitenich), [**@Appadeia**](https://github.com/Appadeia), [**@marlonn**](https://github.com/marlonn), [**@Snuggle**](https://github.com/dylanaraps/neofetch/commits?author=Snuggle), [**@Phuurl**](https://github.com/Phuurl), [**@erikdubois**](https://github.com/erikdubois)
|
||||
|
||||
|
||||
**Breaking Changes**
|
||||
|
||||
- **Config**: Removed `get_line_break()`.
|
||||
- Alternative: `prin '\n'`
|
||||
- Rationale: fix a bug that's been lingering for a couple of years now.
|
||||
|
||||
**OS**
|
||||
|
||||
- Added support for Bedrock Linux. [**@paradigm**](https://github.com/paradigm)
|
||||
- Added support for Namib GNU/Linux. [**@arisinfenix**](https://github.com/arisinfenix)
|
||||
- Added support for Reborn OS. [**@iandrewt**](https://github.com/iandrewt)
|
||||
- Added support for OpenMandriva Lx. [**@konimex**](https://github.com/konimex)
|
||||
- Added support for Star. [**@arisinfenix**](https://github.com/arisinfenix)
|
||||
- Added support for BlueLight OS.
|
||||
- Added support for Huayra Linux.
|
||||
- Added support for Pentoo.
|
||||
|
||||
**Highlights**
|
||||
|
||||
[ASCII] Added support for command output. You can now use whatever
|
||||
terminal commands you like as the ASCII art.
|
||||
|
||||
```sh
|
||||
# Use fortune and cowsay as ascii art.
|
||||
neofetch --ascii "$(fortune|cowsay -W 30)"
|
||||
|
||||
# use figlet as ascii art.
|
||||
neofetch --ascii "$(figlet -w 30 hello world)"
|
||||
```
|
||||
|
||||
<img src="https://i.imgur.com/ozoXAvz.jpg" alt="scrot" height="400px">
|
||||
|
||||
Added a new "simple" mode. You can now use neofetch for scripting
|
||||
by getting it to output individual info functions in plain text.
|
||||
|
||||
```sh
|
||||
# Example:
|
||||
neofetch uptime --uptime_shorthand tiny
|
||||
> uptime: 32m
|
||||
|
||||
# Example:
|
||||
neofetch uptime disk wm memory
|
||||
> uptime: 33 mins
|
||||
> disk (/): 212G / 235G (96%)
|
||||
> wm: Openbox
|
||||
> memory: 1215MiB / 7881MiB
|
||||
|
||||
# This can be used in bars and scripts like so:
|
||||
memory="$(neofetch memory)"; memory="${memory##*: }"
|
||||
|
||||
# For multiple outputs at once (each line of info in an array):
|
||||
# Much faster than running neofetch multiple times.
|
||||
IFS=$'\n' read -d "" -ra info < <(neofetch memory uptime wm)
|
||||
info=("${info[@]##*: }")
|
||||
```
|
||||
|
||||
Added new image backend [chafa](https://hpjansson.org/chafa/) (`--chafa`)
|
||||
which displays images in the terminal using unicode characters.
|
||||
|
||||
```sh
|
||||
neofetch --chafa ~/Pictures/meow.jpg
|
||||
```
|
||||
|
||||
<img src="https://i.imgur.com/fCOoWlA.jpg" alt="scrot" height="400px">
|
||||
|
||||
|
||||
**Info**
|
||||
|
||||
- **Color Blocks**: Fixed issue where disabling blocks caused an extra newline to appear.
|
||||
- **Color Blocks**: Color blocks now have their padding built in. No more need for `get_line_break()`.
|
||||
- **Song**: Added snippet to display music player.
|
||||
- `[[ $player ]] && prin "Music Player" "$player"`
|
||||
- NOTE: Must have `info "Song" song` enabled.
|
||||
- **Song**: Added support for Netease Cloud.
|
||||
- **Song**: Fixed issues in various players. [**@arisinfenix**](https://github.com/arisinfenix) [**@xPMo**](https://github.com/xPMo)
|
||||
- **Song**: Fixed issues with non-English tags.
|
||||
- **Song**: Fixed issues with broken newlines.
|
||||
- **Song**: Fixed issues with Deadbeef.
|
||||
- **Song**: Fixed issues with `qmmp`.
|
||||
- **Song**: Removed `gpmdp-remote` support (unmaintained/no longer works).
|
||||
- **Shell**: Fixed output for mksh [**@nero**](https://github.com/nero)
|
||||
- **Packages**: Added support for `scoop`. [**@Phuurl**](https://github.com/Phuurl)
|
||||
- **Packages**: Added support for `puyo`. [**@Appadeia**](https://github.com/Appadeia)
|
||||
- **Packages**: Added support for `spm`. [**@Appadeia**](https://github.com/author=Appadeia)
|
||||
- **Packages** [macOS]: Added detection of Nix [**@alyssais**](https://github.com/alyssais)
|
||||
- **Packages**: Fixed packages from pkginfo (pkgutils) not appearing in CRUX/Janus Linux.
|
||||
- **Terminal Font**: Added support for Yakuake [**@plgruener**](https://github.com/plgruener)
|
||||
- **Terminal Font** [Kitty]: Use `kitty --debug-config` to get font information.
|
||||
- **Memory** [Solaris]: Updated memory detection to use pages. [**@konimex**](https://github.com/konimex)
|
||||
- **Memory**: Added option to show memory percentage (`--memory_percent`).
|
||||
- **Model** [OpenBSD]: Added vmm (OpenBSD hypervisor) support [**@julianaito**](https://github.com/julianaito)
|
||||
- **Model** [macOS]: Added VirtualSMC as a new FakeSMC alternative for Hackintosh. [**@nikitenich**](https://github.com/nikitenich)
|
||||
- **WM**: Added detection for FVWM. [**@julianaito**](https://github.com/julianaito)
|
||||
- **WM** [OpenBSD]: Added a new `ps_flags` to correctly detect non-EWMH WMs. [**@julianaito**](https://github.com/julianaito)
|
||||
- **Disk** [OpenBSD]: Added a separate disk array creation using `awk` since one cannot directly use `/dev/...` unless being root or in the `operator` group. [**@julianaito**](https://github.com/julianaito)
|
||||
- **Battery** [OpenBSD]: Improve charge `%` and add status. **Charlène**
|
||||
- **GPU** [AMD]: Remove unnecessary check.
|
||||
- **Public IP**: Added configurable timeout to requests.
|
||||
- **Resolution**: If resolution is not found, don't print anything.
|
||||
|
||||
**ASCII**
|
||||
|
||||
- Fixed issues with various ASCII arts (namely the `_small` ones).
|
||||
- Added support for command output.
|
||||
- `neofetch --ascii "$(fortune|cowsay -W 30)"`
|
||||
- `neofetch --ascii "$(figlet -w 30 hello world)"`
|
||||
- Added small ArcoLinux logo. [**@erikdubois**](https://github.com/erikdubois)
|
||||
- Added new Lubuntu logo. [**@marlonn**](https://github.com/marlonn)
|
||||
- Fixed a bug where ASCII logo changes the terminal foreground color. [**@plgruener**](https://github.com/plgruener)
|
||||
- Fixed a bug when files named `auto` or `ascii` exist.
|
||||
- Do not parse file as ASCII if the source is an image file.
|
||||
|
||||
**Image**
|
||||
|
||||
- Added new image backend [chafa](https://hpjansson.org/chafa/) (`--chafa`).
|
||||
- **w3m**: Fixed issues with URxvt and internal borders.
|
||||
- **w3m**: Fixed issues with URxvt and cursor position.
|
||||
- **w3m**: Fixed issue with `bash 3`.
|
||||
- **macOS**: Unset IFS to get window size. [**@StarryTony**](https://github.com/StarryTony)
|
||||
- **Kitty**: Use `kitty +kitten icat` instead of the deprecated `kitty icat`. [**@HolyStephano**](https://github.com/HolyStephano)
|
||||
- **Kitty**: Update docs. [**@Snuggle**](https://github.com/dylanaraps/neofetch/commits?author=Snuggle)
|
||||
- Thumbnails are high quality again.
|
||||
- Cached thumbnails are now stored with PATH to prevent collision issues.
|
||||
|
||||
## [5.0.0] - 2018-06-18
|
||||
|
||||
<img src="https://i.imgur.com/ZQI2EYz.png" alt="logo" height="100px">
|
||||
|
||||
A lot of the script has been rewritten and all lint errors have been resolved. There's probably a few bugs so the version number has been bumped to `5.0`. Expect a minor release in the coming days to fix any bugs that come up. Thanks to everyone who contributed to this release.
|
||||
|
||||
**Contributors**
|
||||
|
||||
- [**@arisinfenix**](https://github.com/arisinfenix)
|
||||
- [**@iandrewt**](https://github.com/iandrewt)
|
||||
- [**@konimex**](https://github.com/konimex)
|
||||
- [**@MindTooth**](https://github.com/MindTooth)
|
||||
|
||||
**Operating System**
|
||||
|
||||
- Added support for Condres OS. [**@mstraube**](https://github.com/mstraube)
|
||||
- Added support for RedCore Linux. [**@mstraube**](https://github.com/mstraube)
|
||||
- Added support for Regata OS. [**@mstraube**](https://github.com/mstraube)
|
||||
- Added support for Condres OS. [**@arisinfenix**](https://github.com/arisinfenix)
|
||||
- Added support for RedCore Linux. [**@arisinfenix**](https://github.com/arisinfenix)
|
||||
- Added support for Regata OS. [**@arisinfenix**](https://github.com/arisinfenix)
|
||||
- Added support for ClearOS. [**@arisinfenix**](https://github.com/arisinfenix)
|
||||
- Added support for PureOS.
|
||||
- Added support for Kibojoe Linux.
|
||||
- Added support for SharkLinux.
|
||||
@@ -62,34 +219,35 @@ See: https://github.com/dylanaraps/neofetch/issues/1001
|
||||
- **cpu**: Remove extra call to `uname`.
|
||||
- **cpu**: Simplify core calculation.
|
||||
- **disk**: Clean up.
|
||||
- **font**: Fix iTerm2 checking for 2 extra profiles that don't exist.
|
||||
[**@iandrewt**](https://github.com/iandrewt")
|
||||
- **font**: Fix iTerm2 checking for 2 extra profiles that don't exist. [**@iandrewt**](https://github.com/iandrewt")
|
||||
- **gpu**: Fixed ATI/AMD branding issue.
|
||||
- **gpu**: Removed `glxinfo` usage (*too slow*).
|
||||
- **packages**: Added support for `flatpak`.
|
||||
[**@konimex**](https://github.com/konimex)
|
||||
- **packages**: Added support for `snap`.
|
||||
[**@konimex**](https://github.com/konimex)
|
||||
- **packages**: Added support for `flatpak`. [**@konimex**](https://github.com/konimex)
|
||||
- **packages**: Added support for `snap`. [**@konimex**](https://github.com/konimex)
|
||||
- **packages**: Added used package managers to output (`Packages: 900
|
||||
(pacman, snap)`).
|
||||
- **packages**: Fixed issues with `pacman` 5.1.
|
||||
- **packages**: Fixed issues with `dpkg`.
|
||||
- **packages**: Removed `find` usage.
|
||||
- **packages**: Removed `ls` usage.
|
||||
- **packages**: Removed `wc -l` usage.
|
||||
- **song**: Added support for `gmusicbrowser`.
|
||||
[**@mstraube**](https://github.com/mstraube)
|
||||
- **song**: Added support for `gmusicbrowser`. [**@arisinfenix**](https://github.com/arisinfenix)
|
||||
- **song**: Added support for `SMPlayer`. [**@arisinfenix**](https://github.com/arisinfenix)
|
||||
- **song**: Added support for `Dragon Player`. [**@arisinfenix**](https://github.com/arisinfenix)
|
||||
- **song**: Fixed song detection on macOS.
|
||||
- **song**: Fixed song output on systems using `C` locale.
|
||||
- **song**: Added `mpc_args` to send additional arguments to `mpc`.
|
||||
- **term\_font**: Clean up of config file handling.
|
||||
- **resolution**: Added support for `xwininfo`.
|
||||
|
||||
## [4.0.2] - 2018-05-19
|
||||
|
||||
### This fixes default config issues on Android, AIX, HP-UX and possibly others.
|
||||
|
||||
- [config] Fixed `/dev/stdin` error.
|
||||
- [config] Added `--print_config` to display the default config file.
|
||||
- [macOS] Fixed xquartz issue.
|
||||
|
||||
|
||||
## [4.0.1] - 2018-05-18
|
||||
|
||||
### Note: This release is only required for those running `bash <3.3`.
|
||||
@@ -2752,7 +2910,8 @@ Changelog:
|
||||
Let me know if you're having issues.
|
||||
|
||||
|
||||
[Unreleased]: https://github.com/dylanaraps/neofetch/compare/4.0.2...HEAD
|
||||
[Unreleased]: https://github.com/dylanaraps/neofetch/compare/5.0.0...HEAD
|
||||
[5.0.0]: https://github.com/dylanaraps/neofetch/compare/4.0.2...5.0.0
|
||||
[4.0.2]: https://github.com/dylanaraps/neofetch/compare/4.0.1...4.0.2
|
||||
[4.0.1]: https://github.com/dylanaraps/neofetch/compare/4.0.0...4.0.1
|
||||
[4.0.0]: https://github.com/dylanaraps/neofetch/compare/3.4.0...4.0.0
|
||||
|
||||
37
README.md
37
README.md
@@ -6,8 +6,7 @@
|
||||
<a href="https://travis-ci.org/dylanaraps/neofetch"><img src="https://travis-ci.org/dylanaraps/neofetch.svg?branch=master"></a>
|
||||
<a href="./LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
|
||||
<a href="https://github.com/dylanaraps/neofetch/releases"><img src="https://img.shields.io/github/release/dylanaraps/neofetch.svg"></a>
|
||||
<a href="https://www.patreon.com/dyla"><img src="https://img.shields.io/badge/donate-patreon-yellow.svg"></a>
|
||||
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=V7QNJNKS3WYVS"><img src="https://img.shields.io/badge/donate-paypal-green.svg"></a>
|
||||
<a href="https://repology.org/metapackage/neofetch"><img src="https://repology.org/badge/tiny-repos/neofetch.svg" alt="Packaging status"></a>
|
||||
</p>
|
||||
|
||||
<img src="https://i.imgur.com/GFmC5Ad.png" alt="neofetch" align="right" height="240px">
|
||||
@@ -26,37 +25,3 @@ Neofetch supports almost 150 different operating systems. From Linux to Windows,
|
||||
|
||||
|
||||
### More: \[[Dependencies](https://github.com/dylanaraps/neofetch/wiki/Dependencies)\] \[[Installation](https://github.com/dylanaraps/neofetch/wiki/Installation)\] \[[Wiki](https://github.com/dylanaraps/neofetch/wiki)\]
|
||||
|
||||
## Articles
|
||||
|
||||
- https://lamiradadelreplicante.com/2016/05/15/la-informacion-de-tu-sistema-en-la-terminal-con-neofetch/
|
||||
- https://linuxconfig.org/how-to-display-system-information-with-neofetch
|
||||
- https://www.2daygeek.com/neofetch-display-linux-systems-information-ascii-distribution-logo-terminal/
|
||||
- https://www.cyberciti.biz/howto/neofetch-awesome-system-info-bash-script-for-linux-unix-macos/
|
||||
- https://www.lffl.org/2016/11/neofetch-le-informazioni-sistema-sul-terminale-stile.html
|
||||
- https://www.maketecheasier.com/display-system-information-neofetch-linux/
|
||||
- https://www.omgubuntu.co.uk/2016/11/neofetch-terminal-system-info-app
|
||||
- https://www.omgubuntu.co.uk/2016/12/cli-system-tool-neofetch-2-0-released
|
||||
- https://www.omgubuntu.co.uk/2017/01/neofetch-3-0-released
|
||||
- https://www.ostechnix.com/neofetch-display-linux-systems-information/
|
||||
- https://www.techrepublic.com/article/how-to-get-all-the-information-you-need-about-your-linux-machine-with-a-single-command/
|
||||
- https://www.tecmint.com/neofetch-shows-linux-system-information-with-logo/
|
||||
- https://www.youtube.com/watch?v=bgepGW858fc
|
||||
- https://www.linuxuprising.com/2018/05/display-system-information-on-linux.html
|
||||
- https://esgeeks.com/neofetch-informacion-sistema-linux/
|
||||
|
||||
|
||||
## Thanks
|
||||
|
||||
- [Contributors](https://github.com/dylanaraps/neofetch/contributors)
|
||||
- [Packagers](https://github.com/dylanaraps/neofetch/issues/115)
|
||||
- [Screenfetch](https://github.com/KittyKatt/screenFetch)
|
||||
- [ufetch](https://github.com/jschx/ufetch)
|
||||
|
||||
|
||||
## Donate
|
||||
|
||||
Donations allow me to spend more time working on `neofetch` and my other Open Source projects. If you like `neofetch` and want to give back in some way you can donate at the links below.
|
||||
|
||||
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=V7QNJNKS3WYVS"><img src="https://img.shields.io/badge/donate-paypal-green.svg"></a> <a href="https://www.patreon.com/dyla"><img src="https://img.shields.io/badge/donate-patreon-yellow.svg"></a>
|
||||
|
||||
|
||||
@@ -1,437 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Shell completion for neofetch.
|
||||
shopt -s nullglob
|
||||
|
||||
_neofetch_completions() {
|
||||
local cur prev usage
|
||||
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
usage="$(neofetch -h | awk '/^ --/{printf $1" "}')"
|
||||
|
||||
IFS=$'\n' read -d "" -ra COMPREPLY \
|
||||
< <(compgen -W "$usage" -- "$cur")
|
||||
|
||||
else
|
||||
case "$prev" in
|
||||
"--disable")
|
||||
conf="${HOME}/.config/neofetch/config.conf"
|
||||
|
||||
[[ -f "$conf" ]] &&
|
||||
IFS=$'\n' read -d "" -ra values \
|
||||
< <(awk '/ info /&&!a[$0]++{print $NF}' "$conf")
|
||||
;;
|
||||
|
||||
"--backend")
|
||||
values=(
|
||||
"ascii"
|
||||
"caca"
|
||||
"iterm2"
|
||||
"jp2a"
|
||||
"kitty"
|
||||
"pixterm"
|
||||
"sixel"
|
||||
"termpix"
|
||||
"tycat"
|
||||
"w3m"
|
||||
"off"
|
||||
)
|
||||
;;
|
||||
|
||||
"--os_arch"|\
|
||||
"--speed_shorthand"|\
|
||||
"--cpu_brand"|\
|
||||
"--cpu_speed"|\
|
||||
"--kernel_shorthand"|\
|
||||
"--refresh_rate"|\
|
||||
"--gpu_brand"|\
|
||||
"--gtk_shorthand"|\
|
||||
"--gtk2"|\
|
||||
"--gtk3"|\
|
||||
"--shell_path"|\
|
||||
"--shell_version"|\
|
||||
"--song_shorthand"|\
|
||||
"--underline"|\
|
||||
"--bold"|\
|
||||
"--color_blocks"|\
|
||||
"--bar_border"|\
|
||||
"--ascii_bold")
|
||||
values=(
|
||||
"on"
|
||||
"off"
|
||||
)
|
||||
;;
|
||||
|
||||
"--uptime_shorthand"|\
|
||||
"--package_managers"|\
|
||||
"--distro_shorthand")
|
||||
values=(
|
||||
"on"
|
||||
"tiny"
|
||||
"off"
|
||||
)
|
||||
;;
|
||||
|
||||
"--speed_type")
|
||||
values=(
|
||||
"current"
|
||||
"min"
|
||||
"max"
|
||||
"bios"
|
||||
"scaling_current"
|
||||
"scaling_min"
|
||||
"scaling_max"
|
||||
)
|
||||
;;
|
||||
|
||||
"--cpu_cores")
|
||||
values=(
|
||||
"logical"
|
||||
"physical"
|
||||
"off"
|
||||
)
|
||||
;;
|
||||
|
||||
"--cpu_temp")
|
||||
values=(
|
||||
"C"
|
||||
"F"
|
||||
"off"
|
||||
)
|
||||
;;
|
||||
|
||||
"--gpu_type")
|
||||
values=(
|
||||
"all"
|
||||
"dedicated"
|
||||
"integrated"
|
||||
)
|
||||
;;
|
||||
|
||||
"--disk_show")
|
||||
values=(
|
||||
"/dev/sd"*
|
||||
"/"
|
||||
)
|
||||
;;
|
||||
|
||||
"--disk_subtitle")
|
||||
values=(
|
||||
"name"
|
||||
"mount"
|
||||
"dir"
|
||||
)
|
||||
;;
|
||||
|
||||
"--ip_host")
|
||||
values=(
|
||||
"http://ident.me"
|
||||
)
|
||||
;;
|
||||
|
||||
"--song_format")
|
||||
values=(
|
||||
"\"%artist% - %album% - %title%\""
|
||||
"\"%artist - %title\""
|
||||
)
|
||||
;;
|
||||
|
||||
"--music_player")
|
||||
values=(
|
||||
"amarok"
|
||||
"audacious"
|
||||
"banshee"
|
||||
"bluemindo"
|
||||
"clementine"
|
||||
"cmus"
|
||||
"deadbeef"
|
||||
"deepin-music"
|
||||
"elisa"
|
||||
"exaile"
|
||||
"gmusicbrowser"
|
||||
"gnome-music"
|
||||
"gmusicbrowser"
|
||||
"Google Play"
|
||||
"guayadeque"
|
||||
"iTunes"
|
||||
"juk"
|
||||
"lollypop"
|
||||
"mocp"
|
||||
"mopidy"
|
||||
"mpd"
|
||||
"pogo"
|
||||
"pragha"
|
||||
"qmmp"
|
||||
"quodlibet"
|
||||
"rhythmbox"
|
||||
"sayonara"
|
||||
"spotify"
|
||||
"Spotify"
|
||||
"tomahawk"
|
||||
"vlc"
|
||||
"xmms2d"
|
||||
"yarock"
|
||||
)
|
||||
;;
|
||||
|
||||
"--install_time_format")
|
||||
values=(
|
||||
"12h"
|
||||
"24h"
|
||||
)
|
||||
;;
|
||||
|
||||
"--underline_char")
|
||||
values=(
|
||||
"_"
|
||||
"-"
|
||||
"."
|
||||
"⎯"
|
||||
"―"
|
||||
)
|
||||
;;
|
||||
|
||||
"--block_width"|\
|
||||
"--block_height"|\
|
||||
"--bar_length")
|
||||
values=(
|
||||
{1..9}
|
||||
)
|
||||
;;
|
||||
|
||||
"--cpu_display"|\
|
||||
"--memory_display"|\
|
||||
"--battery_display"|\
|
||||
"--disk_display")
|
||||
values=(
|
||||
"bar"
|
||||
"infobar"
|
||||
"barinfo"
|
||||
"off"
|
||||
)
|
||||
;;
|
||||
|
||||
"--source"|\
|
||||
"--ascii"|\
|
||||
"--caca"|\
|
||||
"--iterm2"|\
|
||||
"--jp2a"|\
|
||||
"--kitty"|\
|
||||
"--pixterm"|\
|
||||
"--sixel"|\
|
||||
"--termpix"|\
|
||||
"--tycat"|\
|
||||
"--w3m")
|
||||
values=(
|
||||
"auto"
|
||||
"ascii"
|
||||
"wallpaper"
|
||||
"/path/to/img.jpg"
|
||||
"/path/to/images"
|
||||
"/path/to/ascii_file"
|
||||
)
|
||||
|
||||
;;
|
||||
|
||||
"--ascii_distro")
|
||||
values=(
|
||||
"aix"
|
||||
"alpine"
|
||||
"alpine_small"
|
||||
"amazon"
|
||||
"anarchy"
|
||||
"android"
|
||||
"antergos"
|
||||
"antix"
|
||||
"aosc"
|
||||
"apricity"
|
||||
"arch"
|
||||
"arch_old"
|
||||
"arch_small"
|
||||
"archbox"
|
||||
"archlabs"
|
||||
"archmerge"
|
||||
"arcolinux"
|
||||
"artix"
|
||||
"arya"
|
||||
"bitrig"
|
||||
"blag"
|
||||
"blankon"
|
||||
"bsd"
|
||||
"bunsenlabs"
|
||||
"calculate"
|
||||
"centos"
|
||||
"chakra"
|
||||
"chaletos"
|
||||
"chapeau"
|
||||
"chrom"
|
||||
"clover"
|
||||
"condres"
|
||||
"crux"
|
||||
"crux_small"
|
||||
"darwin"
|
||||
"debian"
|
||||
"debian_small"
|
||||
"deepin"
|
||||
"desaos"
|
||||
"devuan"
|
||||
"dracos"
|
||||
"dragonfly"
|
||||
"dragonfly_old"
|
||||
"dragonfly_small"
|
||||
"elementary"
|
||||
"endless"
|
||||
"exherbo"
|
||||
"fedora"
|
||||
"freebsd"
|
||||
"freebsd_small"
|
||||
"freemint"
|
||||
"frugalware"
|
||||
"funtoo"
|
||||
"galliumos"
|
||||
"gentoo"
|
||||
"gentoo_small"
|
||||
"gnewsense"
|
||||
"gnu"
|
||||
"gobolinux"
|
||||
"grombyang"
|
||||
"guixsd"
|
||||
"haiku"
|
||||
"hyperbola"
|
||||
"irix"
|
||||
"kali"
|
||||
"kaos"
|
||||
"kde"
|
||||
"kibojoe"
|
||||
"kogaion"
|
||||
"korora"
|
||||
"kslinux"
|
||||
"kubuntu"
|
||||
"lede"
|
||||
"linux lite"
|
||||
"linux mint"
|
||||
"linux"
|
||||
"lmde"
|
||||
"lubuntu"
|
||||
"lunar"
|
||||
"mac"
|
||||
"mageia"
|
||||
"magpieos"
|
||||
"manjaro"
|
||||
"maui"
|
||||
"mer"
|
||||
"minix"
|
||||
"mx"
|
||||
"netbsd"
|
||||
"netrunner"
|
||||
"nitrux"
|
||||
"nixos"
|
||||
"nixos_small"
|
||||
"nurunner"
|
||||
"nutyx"
|
||||
"obrevenge"
|
||||
"open source media center"
|
||||
"openbsd"
|
||||
"openbsd_small"
|
||||
"openindiana"
|
||||
"openmandriva"
|
||||
"opensuse"
|
||||
"openwrt"
|
||||
"oracle"
|
||||
"pacbsd"
|
||||
"parabola"
|
||||
"pardus"
|
||||
"parrot"
|
||||
"parsix"
|
||||
"pcbsd"
|
||||
"pclinuxos"
|
||||
"peppermint"
|
||||
"porteus"
|
||||
"postmarketos"
|
||||
"puppy"
|
||||
"pureos"
|
||||
"qubes"
|
||||
"raspbian"
|
||||
"red star"
|
||||
"redcore"
|
||||
"redcore"
|
||||
"redhat"
|
||||
"regata"
|
||||
"rosa"
|
||||
"sabayon"
|
||||
"sabotage"
|
||||
"sailfishos"
|
||||
"salentos"
|
||||
"scientific"
|
||||
"sharklinux"
|
||||
"siduction"
|
||||
"slackware"
|
||||
"slitaz"
|
||||
"smartos"
|
||||
"solus"
|
||||
"sparky"
|
||||
"steamos"
|
||||
"sunos"
|
||||
"swagarch"
|
||||
"tails"
|
||||
"trisquel"
|
||||
"ubuntu"
|
||||
"ubuntu_old"
|
||||
"void"
|
||||
"void_small"
|
||||
"windows 10"
|
||||
"windows"
|
||||
"xferience"
|
||||
"xubuntu"
|
||||
"zorin"
|
||||
)
|
||||
;;
|
||||
|
||||
"--size")
|
||||
values=(
|
||||
"00px"
|
||||
"00%"
|
||||
"auto"
|
||||
"none"
|
||||
)
|
||||
;;
|
||||
|
||||
"--crop_mode")
|
||||
values=(
|
||||
"normal"
|
||||
"fit"
|
||||
"fill"
|
||||
)
|
||||
;;
|
||||
|
||||
"--crop_offset")
|
||||
values=(
|
||||
"northwest"
|
||||
"north"
|
||||
"northeast"
|
||||
"west"
|
||||
"center"
|
||||
"east"
|
||||
"southwest"
|
||||
"south"
|
||||
"southeast"
|
||||
)
|
||||
;;
|
||||
|
||||
"--config")
|
||||
values=(
|
||||
"none"
|
||||
"/path/to/config"
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
IFS=$'\n' read -d "" -ra COMPREPLY \
|
||||
< <(compgen -W "${values[*]}" -- "$cur")
|
||||
fi
|
||||
}
|
||||
|
||||
complete -F _neofetch_completions neofetch
|
||||
58
neofetch.1
58
neofetch.1
@@ -1,10 +1,10 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
|
||||
.TH NEOFETCH "1" "June 2018" "Neofetch 4.0.3" "User Commands"
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8.
|
||||
.TH NEOFETCH "1" "January 2019" "Neofetch 6.0.1" "User Commands"
|
||||
.SH NAME
|
||||
Neofetch \- A fast, highly customizable system info script
|
||||
.SH SYNOPSIS
|
||||
.B neofetch
|
||||
\fI\,--option "value" --option "value"\/\fR
|
||||
\fI\,func_name --option "value" --option "value"\/\fR
|
||||
.SH DESCRIPTION
|
||||
Neofetch is a CLI system information tool written in BASH. Neofetch
|
||||
displays information about your system next to an image, your OS logo,
|
||||
@@ -14,6 +14,24 @@ NOTE: Every launch flag has a config option.
|
||||
.SH OPTIONS
|
||||
.SS "INFO:"
|
||||
.TP
|
||||
func_name
|
||||
Specify a function name (second part of info() from config) to
|
||||
quickly display only that function's information.
|
||||
.IP
|
||||
Example: neofetch uptime \fB\-\-uptime_shorthand\fR tiny
|
||||
.IP
|
||||
Example: neofetch uptime disk wm memory
|
||||
.IP
|
||||
This can be used in bars and scripts like so:
|
||||
.IP
|
||||
memory="$(neofetch memory)"; memory="${memory##*: }"
|
||||
.IP
|
||||
For multiple outputs at once (each line of info in an array):
|
||||
.IP
|
||||
IFS=$'\en' read \fB\-d\fR "" \fB\-ra\fR info < <(neofetch memory uptime wm)
|
||||
.IP
|
||||
info=("${info[@]##*: }")
|
||||
.TP
|
||||
\fB\-\-disable\fR infoname
|
||||
Allows you to disable an info line from appearing
|
||||
in the output. 'infoname' is the function name from the
|
||||
@@ -22,8 +40,8 @@ For example: 'info "Memory" memory' would be '\-\-disable memory'
|
||||
.IP
|
||||
NOTE: You can supply multiple args. eg. 'neofetch \fB\-\-disable\fR cpu gpu'
|
||||
.TP
|
||||
\fB\-\-package_managers\fR on/off
|
||||
Hide/Show Package Manager names.
|
||||
\fB\-\-package_managers\fR on/tiny/off
|
||||
Hide/Show Package Manager names . (on, tiny, off)
|
||||
.TP
|
||||
\fB\-\-os_arch\fR on/off
|
||||
Hide/Show OS architecture.
|
||||
@@ -61,8 +79,8 @@ NOTE: This only works on Linux and BSD.
|
||||
NOTE: For FreeBSD and NetBSD\-based systems, you need to enable
|
||||
coretemp kernel module. This only supports newer Intel processors.
|
||||
.TP
|
||||
\fB\-\-distro_shorthand\fR on/off
|
||||
Shorten the output of distro (tiny, on, off)
|
||||
\fB\-\-distro_shorthand\fR on/tiny/off
|
||||
Shorten the output of distro (on, tiny, off)
|
||||
.IP
|
||||
NOTE: This option won't work in Windows (Cygwin)
|
||||
.TP
|
||||
@@ -71,8 +89,8 @@ Shorten the output of kernel
|
||||
.IP
|
||||
NOTE: This option won't work in BSDs (except PacBSD and PC\-BSD)
|
||||
.TP
|
||||
\fB\-\-uptime_shorthand\fR on/off
|
||||
Shorten the output of uptime (tiny, on, off)
|
||||
\fB\-\-uptime_shorthand\fR on/tiny/off
|
||||
Shorten the output of uptime (on, tiny, off)
|
||||
.TP
|
||||
\fB\-\-refresh_rate\fR on/off
|
||||
Whether to display the refresh rate of each monitor
|
||||
@@ -120,12 +138,18 @@ Takes: name, mount, dir
|
||||
\fB\-\-ip_host\fR url
|
||||
URL to query for public IP
|
||||
.TP
|
||||
\fB\-\-ip_timeout\fR int
|
||||
Public IP timeout (in seconds).
|
||||
.TP
|
||||
\fB\-\-song_format\fR format
|
||||
Print the song data in a specific format (see config file).
|
||||
.TP
|
||||
\fB\-\-song_shorthand\fR on/off
|
||||
Print the Artist/Album/Title on separate lines.
|
||||
.TP
|
||||
\fB\-\-memory_percent\fR on/off
|
||||
Display memory percentage.
|
||||
.TP
|
||||
\fB\-\-music_player\fR player\-name
|
||||
Manually specify a player to use.
|
||||
Available values are listed in the config file
|
||||
@@ -143,6 +167,9 @@ Character to use when underlining title
|
||||
.TP
|
||||
\fB\-\-bold\fR on/off
|
||||
Enable/Disable bold text
|
||||
.TP
|
||||
\fB\-\-separator\fR string
|
||||
Changes the default ':' separator to the specified string.
|
||||
.SS "COLOR BLOCKS:"
|
||||
.TP
|
||||
\fB\-\-color_blocks\fR on/off
|
||||
@@ -190,20 +217,25 @@ Possible values: bar, infobar, barinfo, off
|
||||
.TP
|
||||
\fB\-\-backend\fR backend
|
||||
Which image backend to use.
|
||||
Possible values: 'ascii', 'caca', 'jp2a', 'iterm2', 'off',
|
||||
\&'sixel', 'tycat', 'w3m'
|
||||
Possible values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2',
|
||||
\&'off', 'sixel', 'tycat', 'w3m'
|
||||
.TP
|
||||
\fB\-\-source\fR source
|
||||
Which image or ascii file to use.
|
||||
Possible values: 'auto', 'ascii', 'wallpaper', '/path/to/img',
|
||||
\&'/path/to/ascii', '/path/to/dir/'
|
||||
\&'/path/to/ascii', '/path/to/dir/', 'command output' [ascii]
|
||||
.TP
|
||||
\fB\-\-ascii\fR source
|
||||
Shortcut to use 'ascii' backend.
|
||||
.IP
|
||||
NEW: neofetch \fB\-\-ascii\fR "$(fortune | cowsay \fB\-W\fR 30)"
|
||||
.TP
|
||||
\fB\-\-caca\fR source
|
||||
Shortcut to use 'caca' backend.
|
||||
.TP
|
||||
\fB\-\-chafa\fR source
|
||||
Shortcut to use 'chafa' backend.
|
||||
.TP
|
||||
\fB\-\-iterm2\fR source
|
||||
Shortcut to use 'iterm2' backend.
|
||||
.TP
|
||||
@@ -260,8 +292,6 @@ Whether or not to bold the ascii logo.
|
||||
.TP
|
||||
\fB\-L\fR, \fB\-\-logo\fR
|
||||
Hide the info text and only show the ascii logo.
|
||||
.IP
|
||||
Possible values: bar, infobar, barinfo, off
|
||||
.SS "IMAGE:"
|
||||
.TP
|
||||
\fB\-\-loop\fR
|
||||
|
||||
Reference in New Issue
Block a user