Skip to content

Commit 23db006

Browse files
committed
Merge branch 'master' into comp
2 parents 455dfa1 + 81beb26 commit 23db006

File tree

6 files changed

+863
-836
lines changed

6 files changed

+863
-836
lines changed

.travis.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ before_install:
99
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
1010
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi
1111

12+
install:
13+
# Install a custom version of shellcheck instead of Travis CI's default
14+
- scversion="latest" # or "v0.4.7", or "latest"
15+
- wget "https://storage.googleapis.com/shellcheck/shellcheck-${scversion}.linux.x86_64.tar.xz"
16+
- tar --xz -xvf "shellcheck-${scversion}.linux.x86_64.tar.xz"
17+
- shellcheck() { "shellcheck-${scversion}/shellcheck" "$@"; }
18+
1219
script:
1320
- time ./neofetch --travis -v
14-
# See this wiki page for why we're disabling these errors.
15-
# https://github.com/dylanaraps/neofetch/wiki/Shellcheck-Exclusions
16-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch -e SC1090,SC2009,SC2012,SC2016,SC2034,SC2128,SC2153,SC2154,SC2178,SC2010,SC1004,SC1091,SC1117; fi
17-
# The if statement is here to invert the exit code from grep.
18-
# grep normally errors if no match is found but we want the opposite.
19-
# We invert it so grep fails if a match is found.
21+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch; fi
2022
# Check for lines longer than 100 chars.
21-
# There are 3 lines that must be longer than 100 chars.
22-
- if (("$(grep '.\{101\}' neofetch | wc -l)" > 3)); then (exit 1); else (exit 0); fi
23+
- if grep '.\{102\}' neofetch; then (exit 1); else (exit 0); fi

CHANGELOG.md

Lines changed: 46 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,44 +7,80 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
<img src="https://i.imgur.com/ZQI2EYz.png" alt="logo" height="100px">
11+
1012
**Contributors**
1113

1214
- [**@mstraube**](https://github.com/mstraube)
13-
- [**@iandrewt**](https://github.com/iandrewt")
15+
- [**@iandrewt**](https://github.com/iandrewt)
16+
- [**@konimex**](https://github.com/konimex)
1417

1518
**Operating System**
1619

20+
- Added support for Condres OS. [**@mstraube**](https://github.com/mstraube)
1721
- Added support for RedCore Linux. [**@mstraube**](https://github.com/mstraube)
22+
- Added support for Regata OS. [**@mstraube**](https://github.com/mstraube)
23+
- Added support for PureOS.
24+
- Added support for Kibojoe Linux.
25+
- Added support for SharkLinux.
26+
- Added support for Linux Lite.
1827

1928
**General**
2029

21-
- [output] Added `--json` to output the info in `json`.
22-
- [cursor] Fixed prompt location issues after Neofetch is run.
23-
- [macOS] Fixed neofetch launching XQuartz.
24-
- [misc] Removed `uppercase()`.
25-
- [misc] Removed all instances of `export`.
30+
- **output**: Added `--json` to output the info in `json`.
31+
- **cursor**: Fixed prompt location issues after Neofetch is run.
32+
- **macOS**: Fixed neofetch launching XQuartz.
33+
- **misc**: Removed `uppercase()`.
34+
- **misc**: Removed all instances of `export`.
35+
- **misc**: Removed all deprecated options and functions.
36+
- **info**: Removed `get_install_date()`.
2637

2738
**Ascii**
2839

2940
- Fixed a bug causing Windows 7 ASCII art to not display.
41+
- Simplified ASCII art handling.
42+
- Updated Funtoo ASCII art.
3043

3144
**Image**
3245

46+
- Improved performance of image handling.
3347
- Removed `catimg` support (*It didn’t allow us to specify height so we
3448
couldn’t accurately place the cursor*).
3549
- Fixed `tycat`, `sixel` and `kitty icat` image sizes.
50+
- Simplified `w3m-img` code.
3651

3752
**Screenshot**
3853

54+
See: https://github.com/dylanaraps/neofetch/issues/1001
55+
3956
- Removed screenshot functionality.
4057
- Removed screenshot upload functionality.
4158

4259
**Info**
4360

44-
- [font] Fix iTerm2 checking for 2 extra profiles that don't exist. [**@iandrewt**](https://github.com/iandrewt")
45-
- [gpu] Fixed ATI/AMD branding issue.
46-
- [song] Fixed song detection on macOS.
47-
- [song] Fixed song output on systems using `C` locale.
61+
- **cpu**: Remove extra call to `uname`.
62+
- **cpu**: Simplify core calculation.
63+
- **disk**: Clean up.
64+
- **font**: Fix iTerm2 checking for 2 extra profiles that don't exist.
65+
[**@iandrewt**](https://github.com/iandrewt")
66+
- **gpu**: Fixed ATI/AMD branding issue.
67+
- **gpu**: Removed `glxinfo` usage (*too slow*).
68+
- **packages**: Added support for `flatpak`.
69+
[**@konimex**](https://github.com/konimex)
70+
- **packages**: Added support for `snap`.
71+
[**@konimex**](https://github.com/konimex)
72+
- **packages**: Added used package managers to output (`Packages: 900
73+
(pacman, snap)`).
74+
- **packages**: Fixed issues with `pacman` 5.1.
75+
- **packages**: Removed `find` usage.
76+
- **packages**: Removed `ls` usage.
77+
- **packages**: Removed `wc -l` usage.
78+
- **song**: Added support for `gmusicbrowser`.
79+
[**@mstraube**](https://github.com/mstraube)
80+
- **song**: Fixed song detection on macOS.
81+
- **song**: Fixed song output on systems using `C` locale.
82+
- **term\_font**: Clean up of config file handling.
83+
- **resolution**: Added support for `xwininfo`.
4884

4985
## [4.0.2] - 2018-05-19
5086

CONTRIBUTING.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,15 @@
2323
and variable names.
2424
- Keep lines below `100` characters long.
2525
- Use `[[ ]]` for tests.
26-
- Double Quote **EVERYTHING**.
27-
- Don’t use single quotes, except for special cases.
26+
- Quote **EVERYTHING**.
2827

2928
### ShellCheck
3029

3130
For your contribution to be accepted, your changes need to pass
3231
ShellCheck.
3332

34-
Run ShellCheck with the following command:
35-
3633
```sh
37-
# Why do we exclude numerous tests?
38-
# See: https://github.com/dylanaraps/neofetch/wiki/Shellcheck-Exclusions
39-
shellcheck neofetch -e SC1090,SC2009,SC2012,SC2016,SC2034,SC2128,SC2153,SC2154,SC2178,SC2010,SC1004,SC1091,SC1117
34+
shellcheck neofetch
4035
```
4136

4237
**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.
5853
- Use `bash`'s built-in syntax (`file="$(< /path/to/file.txt)")`).
5954
- Don’t use `grep "pattern" | awk '{ printf }'`.
6055
- Use `awk '/pattern/ { printf }'`
56+
- Don’t use `wc`.
57+
- Use `${#var}` or `${#arr[@]}`.
6158

6259

6360
### If Statements

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Neofetch supports almost 150 different operating systems. From Linux to Windows,
4242
- https://www.tecmint.com/neofetch-shows-linux-system-information-with-logo/
4343
- https://www.youtube.com/watch?v=bgepGW858fc
4444
- https://www.linuxuprising.com/2018/05/display-system-information-on-linux.html
45+
- https://esgeeks.com/neofetch-informacion-sistema-linux/
4546

4647

4748
## Thanks

0 commit comments

Comments
 (0)