mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 01:00:17 +00:00
Compare commits
425 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
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 | ||
|
b7ba768787 | ||
|
6e41a62193 | ||
|
edb960fece | ||
|
108bb9cff9 | ||
|
552523edbf | ||
|
62aca46151 | ||
|
81beb26972 | ||
|
d6505023a9 | ||
|
cc0d232b48 | ||
|
264fc4d028 | ||
|
131719a5ff | ||
|
da5f443bec | ||
|
c652bfb97b | ||
|
02c7c90496 | ||
|
9b09ed65fa | ||
|
b3235cfff4 | ||
|
b119a154b0 | ||
|
05b0d1055b | ||
|
23d02ae90e | ||
|
c461704b36 | ||
|
982710fff0 | ||
|
e5542a6425 | ||
|
5fc7dc61ce | ||
|
2cc5516b42 | ||
|
4637e00742 | ||
|
59766adf2b | ||
|
58e7bf039f | ||
|
55b3925a29 | ||
|
96bd33c2a0 | ||
|
ab01e65fad | ||
|
21103d9ada | ||
|
e3723d277c | ||
|
7696f58ea4 | ||
|
e12927aa17 | ||
|
320ad76b21 | ||
|
f51de7f139 | ||
|
041c021c97 | ||
|
f2e2cb94e9 | ||
|
f7f47799ea | ||
|
ee9939a1dd | ||
|
27b2feb216 | ||
|
a46d2dec07 | ||
|
d69fd6d839 | ||
|
bee887a3e0 | ||
|
14005cac4a | ||
|
159cf63658 | ||
|
76eb43fb65 | ||
|
175fce87b5 | ||
|
4698dbd06e | ||
|
aedfa1e92d | ||
|
1c015aea18 | ||
|
89d4126ec1 | ||
|
e3afa265f9 | ||
|
094fca97bf | ||
|
3051bbc424 | ||
|
9bf46946b6 | ||
|
c03c9e1248 | ||
|
dc9b5519fd | ||
|
75f845c7af | ||
|
4bc2a23a46 | ||
|
ffcf82d10d | ||
|
d02c590ff7 | ||
|
8d0205a56a | ||
|
55c128211c | ||
|
eba08e3efc | ||
|
37bb794602 | ||
|
6ea186d987 | ||
|
c1cde629c4 | ||
|
5784af20d3 | ||
|
96386dc90e | ||
|
3fe0e1e65c | ||
|
840d4afbb1 | ||
|
aab70da27c | ||
|
2f917c78d2 | ||
|
bd5706ca0e | ||
|
c1f0fc9699 | ||
|
1f7aa76c48 | ||
|
5e78bcb7be | ||
|
ae7271578a | ||
|
ffe94c26ee | ||
|
5cac0a8dc1 | ||
|
d7e04822d3 | ||
|
f143ed5991 | ||
|
f7001b142a | ||
|
f8779be333 | ||
|
226f746c60 | ||
|
da97fc8a64 | ||
|
4b684c0eb6 | ||
|
ea7512da2f | ||
|
6244bbb1da | ||
|
2bb28bb67b | ||
|
f41607c36c | ||
|
077e5fadb7 | ||
|
c6fde1ff9a | ||
|
b93eb5ad30 | ||
|
3889bf8dd4 | ||
|
9175a47a3c | ||
|
15cd3b3e07 | ||
|
ec29e74406 | ||
|
a2769a93ed | ||
|
8e3be5204d | ||
|
b02ed9fff2 | ||
|
29aabc97fa | ||
|
8707a49f04 | ||
|
b981fb50fa | ||
|
e04302ccec | ||
|
92ecdf0012 | ||
|
e2274fddd8 | ||
|
ba9c7bba23 | ||
|
a4ca62cf5a | ||
|
fca688dd12 | ||
|
e6b8f4f64f | ||
|
8554f42345 | ||
|
2a13d62c0c | ||
|
3ad38d7c95 | ||
|
01ef60445e | ||
|
160276ff6d | ||
|
77282c8fea | ||
|
bff6cf3b1a | ||
|
e8ab52de7d | ||
|
b4fc29e6f6 | ||
|
c64b5c3d8c | ||
|
0f0d9aa84f | ||
|
6991b71ccb | ||
|
de0d342852 | ||
|
33d6dd760f | ||
|
130b7028ef | ||
|
f49919e957 | ||
|
5143b20ce1 | ||
|
d6d6e6ea63 | ||
|
15c2939779 | ||
|
5756eb97f2 | ||
|
14981205c6 | ||
|
dfc8b10ee4 | ||
|
38762182e8 | ||
|
3ee0980aac | ||
|
3f021fbbb6 | ||
|
8e99bc6e5f | ||
|
dc9334b7f1 | ||
|
070651e4f4 | ||
|
6aba54154c | ||
|
c5188a891f | ||
|
6bf7f9452e | ||
|
4895ed33b1 | ||
|
8ad455a1ce | ||
|
aed206b5d7 | ||
|
a27382d21d | ||
|
0fe972073f | ||
|
fc229704c8 | ||
|
c4bf54db3d | ||
|
7b1b3755a9 | ||
|
cb68508be2 | ||
|
7a4492c6c3 | ||
|
1f678f8020 | ||
|
e4c1732c01 | ||
|
c9bda1dd09 | ||
|
c814f14726 | ||
|
992d0b38ae | ||
|
c782af6a06 | ||
|
80299bd064 | ||
|
c69e5ef041 | ||
|
19d35b995d | ||
|
0e43d765fa | ||
|
8b4c858042 | ||
|
98252472ce | ||
|
6e41d5e0a9 | ||
|
b16ff8bc4d | ||
|
bad073d78a | ||
|
0f7e7b6ee0 | ||
|
e398f1ee08 | ||
|
c5dbf34e76 | ||
|
7961c38693 | ||
|
582fa2f50b | ||
|
63ae8994e2 | ||
|
225d9cea1a | ||
|
a31e656f82 | ||
|
156136121a | ||
|
85d3150d13 | ||
|
57cd8e3cc5 | ||
|
5f8d6e06cc | ||
|
a62c3d2029 | ||
|
01ec03720b | ||
|
b74c7a63d3 | ||
|
293633d5ab | ||
|
a8446133f0 | ||
|
33fbed0b14 | ||
|
bd0e62d5f3 | ||
|
71104d7e25 | ||
|
8513b62259 | ||
|
7e4ec9f09d | ||
|
670161e13a | ||
|
358006dd92 | ||
|
f1aa74f144 | ||
|
f93da07f36 | ||
|
965940f57e | ||
|
1480b833b0 | ||
|
94bf52ecd4 | ||
|
8dc25c3ae5 | ||
|
ece335dd94 | ||
|
f882c48685 | ||
|
158173b3c7 | ||
|
7d259e8ef9 | ||
|
b5a2323144 | ||
|
e8ac76dc57 | ||
|
e54f324595 | ||
|
ccced8d997 | ||
|
a7c6745507 | ||
|
b6f0460b35 | ||
|
acd4c84614 | ||
|
94a2bf6ec0 | ||
|
cfcd6fff17 | ||
|
3ece779d47 | ||
|
a5f5be869c | ||
|
d8436768a0 | ||
|
859dc69b20 | ||
|
f765caa038 | ||
|
8fe3130cbe | ||
|
a9c4db2b54 | ||
|
862a4c96db | ||
|
5dbc0a2748 | ||
|
6d003b2f2a | ||
|
01721da481 | ||
|
27df891ab9 | ||
|
0d89e1a400 | ||
|
da94f65b8c | ||
|
31ccd633d2 | ||
|
8ff013e734 | ||
|
1f482d786c | ||
|
f1052a8e73 | ||
|
9b94195ed9 |
17
.travis.yml
17
.travis.yml
@@ -9,14 +9,15 @@ before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi
|
||||
|
||||
install:
|
||||
# Install a custom version of shellcheck instead of Travis CI's default
|
||||
- scversion="latest" # or "v0.4.7", or "latest"
|
||||
- wget "https://storage.googleapis.com/shellcheck/shellcheck-${scversion}.linux.x86_64.tar.xz"
|
||||
- tar --xz -xvf "shellcheck-${scversion}.linux.x86_64.tar.xz"
|
||||
- shellcheck() { "shellcheck-${scversion}/shellcheck" "$@"; }
|
||||
|
||||
script:
|
||||
- time ./neofetch --travis -v
|
||||
# See this wiki page for why we're disabling these errors.
|
||||
# https://github.com/dylanaraps/neofetch/wiki/Shellcheck-Exclusions
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch -e SC1090,SC2009,SC2012,SC2016,SC2034,SC2128,SC2153,SC2154,SC2178,SC2010,SC1004,SC1091,SC1117; fi
|
||||
# The if statement is here to invert the exit code from grep.
|
||||
# grep normally errors if no match is found but we want the opposite.
|
||||
# We invert it so grep fails if a match is found.
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck -e SC2244 -e SC2243 neofetch; fi
|
||||
# Check for lines longer than 100 chars.
|
||||
# There are 3 lines that must be longer than 100 chars.
|
||||
- if (("$(grep '.\{101\}' neofetch | wc -l)" > 3)); then (exit 1); else (exit 0); fi
|
||||
- if grep '.\{102\}' neofetch; then (exit 1); else (exit 0); fi
|
||||
|
240
CHANGELOG.md
240
CHANGELOG.md
@@ -7,6 +7,211 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
<img src="https://i.imgur.com/ZQI2EYz.png" alt="logo" height="100px">
|
||||
|
||||
**Contributors**
|
||||
|
||||
[**@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)
|
||||
|
||||
**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[@]##*: }")
|
||||
```
|
||||
|
||||
**Info**
|
||||
|
||||
- **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)
|
||||
- **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.
|
||||
|
||||
**ASCII**
|
||||
|
||||
- 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**
|
||||
|
||||
- **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)
|
||||
- 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. [**@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.
|
||||
- Added support for Linux Lite.
|
||||
- Added support for macOS 10.14 Mojave. [**@iandrewt**](https://github.com/iandrewt)
|
||||
|
||||
**General**
|
||||
|
||||
- **output**: Added `--json` to output the info in `json`.
|
||||
- **cursor**: Fixed prompt location issues after Neofetch is run.
|
||||
- **macOS**: Fixed neofetch launching XQuartz.
|
||||
- **misc**: Removed `uppercase()`.
|
||||
- **misc**: Removed all instances of `export`.
|
||||
- **misc**: Removed all deprecated options and functions.
|
||||
- **info**: Removed `get_install_date()`.
|
||||
|
||||
**Ascii**
|
||||
|
||||
- Fixed a bug causing Windows 7 ASCII art to not display.
|
||||
- Simplified ASCII art handling.
|
||||
- Updated Funtoo ASCII art.
|
||||
|
||||
**Image**
|
||||
|
||||
- Improved performance of image handling.
|
||||
- Removed `catimg` support (*It didn’t allow us to specify height so we
|
||||
couldn’t accurately place the cursor*).
|
||||
- Fixed `tycat`, `sixel` and `kitty icat` image sizes.
|
||||
- Simplified `w3m-img` code.
|
||||
|
||||
**Screenshot**
|
||||
|
||||
See: https://github.com/dylanaraps/neofetch/issues/1001
|
||||
|
||||
- Removed screenshot functionality.
|
||||
- Removed screenshot upload functionality.
|
||||
|
||||
**Info**
|
||||
|
||||
- **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")
|
||||
- **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 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`. [**@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`.
|
||||
|
||||
- [config] Fixed issue with default config in bash3.
|
||||
- [packages] Simplified code.
|
||||
- [term] Fixed macOS issue.
|
||||
- [term] Fixed `tmux` issue.
|
||||
|
||||
|
||||
## [4.0.0] - 2018-05-17
|
||||
|
||||
<h1><img src="https://i.imgur.com/JFxwJtU.png" alt="logo" height="100px"></h1>
|
||||
|
||||
This release bumps the version number up to `4.0.0` as it contains major
|
||||
changes to how Neofetch is packaged and installed.
|
||||
|
||||
@@ -14,15 +219,21 @@ The entirety of Neofetch is now contained within a single executable.
|
||||
Everything has been in-lined. Installing Neofetch is now as easy as
|
||||
downloading the script and running it.
|
||||
|
||||
Packaging Neofetch is now easier as well. We were using `sed` in the
|
||||
`Makefile` to replace specific paths and we have had to work around
|
||||
different system hierarchies. None of this is necessary anymore.
|
||||
|
||||
Those using distributions with an outdated Neofetch version in their repos
|
||||
can now easily install the latest version.
|
||||
can now easily install the latest version themselves.
|
||||
|
||||
Thanks to those who contributed this time around and thanks to those who
|
||||
discussed proposed changes in the bug tracker. I appreciate it. :+1:
|
||||
discussed proposed changes in the bug tracker and Discord. I appreciate
|
||||
it. :+1:
|
||||
|
||||
|
||||
## Discord
|
||||
|
||||
Neofetch now has a Discord server. Come and join the discussion!
|
||||
|
||||
<a
|
||||
href="https://discord.gg/BtnTPFF"><img
|
||||
src="https://img.shields.io/discord/440354555197128704.svg"></a>
|
||||
|
||||
|
||||
## Contributors
|
||||
@@ -36,6 +247,8 @@ discussed proposed changes in the bug tracker. I appreciate it. :+1:
|
||||
- [**@TsundereBug**](https://github.com/TsundereBug)
|
||||
- [**@dawidd6**](https://github.com/dawidd6)
|
||||
- [**@mstraube**](https://github.com/mstraube)
|
||||
- [**@iandrewt**](https://github.com/iandrewt)
|
||||
- [**@MindTooth**](https://github.com/MindTooth)
|
||||
|
||||
|
||||
## Operating System
|
||||
@@ -64,6 +277,14 @@ discussed proposed changes in the bug tracker. I appreciate it. :+1:
|
||||
|
||||
## Info
|
||||
|
||||
**Song**
|
||||
|
||||
- Added support for VLC. [**@mstraube**](https://github.com/mstraube)
|
||||
- Added support for Sayonara. [**@mstraube**](https://github.com/mstraube)
|
||||
- Added album data to song output. [**@mstraube**](https://github.com/mstraube), [**@iandrewt**](https://github.com/iandrewt)
|
||||
- Added `song_format` to change the display format of the data.
|
||||
- Default: `%artist% - %album% - %title%`.
|
||||
|
||||
**Title**
|
||||
|
||||
- Fixed unexpected backslash being inserted on some systems.
|
||||
@@ -80,6 +301,7 @@ discussed proposed changes in the bug tracker. I appreciate it. :+1:
|
||||
|
||||
- Added support for `st`. [**@aidanharris**](https://github.com/aidanharris)
|
||||
- Added support for `qterminal`. [**@mstraube**](https://github.com/mstraube)
|
||||
- Fixed `kitty` font bug. [**@MindTooth**](https://github.com/MindTooth)
|
||||
|
||||
**Packages**
|
||||
|
||||
@@ -2638,7 +2860,11 @@ Changelog:
|
||||
Let me know if you're having issues.
|
||||
|
||||
|
||||
[Unreleased]: https://github.com/dylanaraps/neofetch/compare/3.4.0...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
|
||||
[3.4.0]: https://github.com/dylanaraps/neofetch/compare/3.3.0...3.4.0
|
||||
[3.3.0]: https://github.com/dylanaraps/neofetch/compare/3.2.0...3.3.0
|
||||
[3.2.0]: https://github.com/dylanaraps/neofetch/compare/3.1.0...3.2.0
|
||||
|
@@ -23,20 +23,15 @@
|
||||
and variable names.
|
||||
- Keep lines below `100` characters long.
|
||||
- Use `[[ ]]` for tests.
|
||||
- Double Quote **EVERYTHING**.
|
||||
- Don’t use single quotes, except for special cases.
|
||||
- Quote **EVERYTHING**.
|
||||
|
||||
### ShellCheck
|
||||
|
||||
For your contribution to be accepted, your changes need to pass
|
||||
ShellCheck.
|
||||
|
||||
Run ShellCheck with the following command:
|
||||
|
||||
```sh
|
||||
# Why do we exclude numerous tests?
|
||||
# See: https://github.com/dylanaraps/neofetch/wiki/Shellcheck-Exclusions
|
||||
shellcheck neofetch -e SC1090,SC2009,SC2012,SC2016,SC2034,SC2128,SC2153,SC2154,SC2178,SC2010,SC1004,SC1091,SC1117
|
||||
shellcheck neofetch
|
||||
```
|
||||
|
||||
**Note**: If you have trouble installing ShellCheck. You can open a pull
|
||||
@@ -58,6 +53,8 @@ request on the repo and our Travis.ci hook will run ShellCheck for you.
|
||||
- Use `bash`'s built-in syntax (`file="$(< /path/to/file.txt)")`).
|
||||
- Don’t use `grep "pattern" | awk '{ printf }'`.
|
||||
- Use `awk '/pattern/ { printf }'`
|
||||
- Don’t use `wc`.
|
||||
- Use `${#var}` or `${#arr[@]}`.
|
||||
|
||||
|
||||
### If Statements
|
||||
|
@@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016-2017 Dylan Araps
|
||||
Copyright (c) 2016-2018 Dylan Araps
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
36
README.md
36
README.md
@@ -1,14 +1,16 @@
|
||||
# Neofetch
|
||||
<h3 align="center"><img src="https://i.imgur.com/ZQI2EYz.png" alt="logo" height="100px"></h3>
|
||||
<p align="center">A command-line system information tool written in bash 3.2+</p>
|
||||
|
||||
<a href="https://repology.org/metapackage/neofetch">
|
||||
<img src="https://repology.org/badge/vertical-allrepos/neofetch.svg" alt="Packaging status" align="right" width="150px" height="730px">
|
||||
</a>
|
||||
<p align="center">
|
||||
<a href="https://discord.gg/BtnTPFF"><img src="https://img.shields.io/discord/440354555197128704.svg"></a>
|
||||
<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://repology.org/metapackage/neofetch"><img src="https://repology.org/badge/tiny-repos/neofetch.svg" alt="Packaging status"></a>
|
||||
<a href="#donate"><img src="https://img.shields.io/badge/donate-donate-yellow.svg"></a>
|
||||
</p>
|
||||
|
||||
[](https://travis-ci.org/dylanaraps/neofetch)
|
||||
[](https://github.com/dylanaraps/neofetch)
|
||||
[](./LICENSE.md)
|
||||
[](https://github.com/dylanaraps/neofetch/releases)
|
||||
[](https://www.patreon.com/dyla)
|
||||
<img src="https://i.imgur.com/GFmC5Ad.png" alt="neofetch" align="right" height="240px">
|
||||
|
||||
Neofetch is a command-line system information tool written in `bash 3.2+`. Neofetch displays information about your operating system, software and hardware in an aesthetic and visually pleasing way.
|
||||
|
||||
@@ -16,15 +18,14 @@ The overall purpose of Neofetch is to be used in screen-shots of your system. Ne
|
||||
|
||||
The information by default is displayed alongside your operating system's logo. You can further configure Neofetch to instead use an image, a custom ASCII file, your wallpaper or nothing at all.
|
||||
|
||||
<img src="https://i.imgur.com/lUrkQBN.png" alt="neofetch" align="right" height="240px">
|
||||
|
||||
You can further configure Neofetch to display exactly what you want it to. Through the use of command-line flags and the configuration file you can change existing information outputs or add your own custom ones.
|
||||
|
||||
Neofetch supports almost 150 different operating systems. From Linux to Windows, all the way to more obscure operating systems like Minix, AIX and Haiku. If your favourite operating system is unsupported: Open up an issue and support will be added.<br>
|
||||
Neofetch supports almost 150 different operating systems. From Linux to Windows, all the way to more obscure operating systems like Minix, AIX and Haiku. If your favourite operating system is unsupported: Open up an issue and support will be added.
|
||||
|
||||
|
||||
### For more information: \[[Dependencies](https://github.com/dylanaraps/neofetch/wiki/Dependencies)\] \[[Installation](https://github.com/dylanaraps/neofetch/wiki/Installation)\] \[[Wiki](https://github.com/dylanaraps/neofetch/wiki)\]
|
||||
|
||||
<img src="https://i.imgur.com/lUrkQBN.png" alt="neofetch" align="right" width="349px">
|
||||
<img src="https://i.imgur.com/GFmC5Ad.png" alt="neofetch" width="349px">
|
||||
### 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
|
||||
|
||||
@@ -41,6 +42,8 @@ Neofetch supports almost 150 different operating systems. From Linux to Windows,
|
||||
- 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
|
||||
@@ -53,6 +56,7 @@ Neofetch supports almost 150 different operating systems. From Linux to Windows,
|
||||
|
||||
## Donate
|
||||
|
||||
Donations will allow me to spend more time working on `neofetch`.
|
||||
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-yellow.svg"></a> <a href="https://www.patreon.com/dyla"><img src="https://img.shields.io/badge/donate-patreon-yellow.svg"> </a><a href="https://liberapay.com/2211/"><img src="https://img.shields.io/badge/donate-liberapay-yellow.svg"></a>
|
||||
|
||||
If you like `neofetch` and want to give back in some way you can donate here: **https://patreon.com/dyla**
|
||||
|
83
neofetch.1
83
neofetch.1
@@ -1,10 +1,10 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
|
||||
.TH NEOFETCH "1" "May 2018" "Neofetch 3.4.1-git" "User Commands"
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8.
|
||||
.TH NEOFETCH "1" "January 2019" "Neofetch 6.0.0" "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,12 +14,35 @@ 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.
|
||||
in the output. 'infoname' is the function name from the
|
||||
\&'print_info()' function inside the config file.
|
||||
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 . (tiny, on, off)
|
||||
.TP
|
||||
\fB\-\-os_arch\fR on/off
|
||||
Hide/Show OS architecture.
|
||||
.TP
|
||||
@@ -115,18 +138,21 @@ 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/Title on separate lines
|
||||
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
|
||||
.TP
|
||||
\fB\-\-install_time\fR on/off
|
||||
Enable/Disable showing the time in Install Date output.
|
||||
.TP
|
||||
\fB\-\-install_time_format\fR 12h/24h
|
||||
Set time format in Install Date to be 12 hour or 24 hour.
|
||||
.SS "TEXT FORMATTING:"
|
||||
.TP
|
||||
\fB\-\-colors\fR x x x x x x
|
||||
@@ -141,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
|
||||
@@ -188,22 +217,24 @@ Possible values: bar, infobar, barinfo, off
|
||||
.TP
|
||||
\fB\-\-backend\fR backend
|
||||
Which image backend to use.
|
||||
Possible values: 'ascii', 'caca', 'catimg', '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\-\-catimg\fR source
|
||||
Shortcut to use 'catimg' backend.
|
||||
\fB\-\-chafa\fR source
|
||||
Shortcut to use 'chafa' backend.
|
||||
.TP
|
||||
\fB\-\-iterm2\fR source
|
||||
Shortcut to use 'iterm2' backend.
|
||||
@@ -230,7 +261,7 @@ Shortcut to use 'tycat' backend.
|
||||
Shortcut to use 'w3m' backend.
|
||||
.TP
|
||||
\fB\-\-off\fR
|
||||
Shortcut to use 'off' backend.
|
||||
Shortcut to use 'off' backend (Disable ascii art).
|
||||
.IP
|
||||
NOTE: 'source; can be any of the following: 'auto', 'ascii', 'wallpaper', '/path/to/img',
|
||||
\&'/path/to/ascii', '/path/to/dir/'
|
||||
@@ -261,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
|
||||
@@ -302,19 +331,6 @@ closer to the left side.
|
||||
.TP
|
||||
\fB\-\-clean\fR
|
||||
Delete cached files and thumbnails.
|
||||
.SS "SCREENSHOT:"
|
||||
.TP
|
||||
\fB\-s\fR, \fB\-\-scrot\fR \fI\,/path/to/img\/\fP
|
||||
Take a screenshot, if path is left empty the screenshot function will use $scrot_dir and $scrot_name.
|
||||
.TP
|
||||
\fB\-su\fR, \fB\-\-upload\fR \fI\,/path/to/img\/\fP
|
||||
Same as \fB\-\-scrot\fR but uploads the scrot to a website.
|
||||
.TP
|
||||
\fB\-\-image_host\fR imgur/teknik
|
||||
Website to upload scrots to.
|
||||
.TP
|
||||
\fB\-\-scrot_cmd\fR cmd
|
||||
Screenshot program to launch
|
||||
.SS "OTHER:"
|
||||
.TP
|
||||
\fB\-\-config\fR \fI\,/path/to/config\/\fP
|
||||
@@ -323,6 +339,9 @@ Specify a path to a custom config file
|
||||
\fB\-\-config\fR none
|
||||
Launch the script without a config file
|
||||
.TP
|
||||
\fB\-\-print_config\fR
|
||||
Print the default config file to stdout.
|
||||
.TP
|
||||
\fB\-\-stdout\fR
|
||||
Turn off all colors and disables any ASCII/image backend.
|
||||
.TP
|
||||
|
Reference in New Issue
Block a user