2016-12-08 07:22:20 -07:00
## Contributors
2016-12-10 05:57:54 -07:00
- **[@konimex](https://github.com/konimex)**
2016-12-12 16:20:58 -07:00
- **[@iandrewt](https://github.com/iandrewt)**
- **[@jorgegonzalez](https://github.com/jorgegonzalez)**
2016-12-08 07:22:20 -07:00
2016-12-12 05:56:14 -07:00
2016-12-09 23:14:51 -07:00
## IRC
2016-12-11 20:25:22 -07:00
Neofetch now has an irc channel at `#neofetch` on Freenode. If you have any questions, issues or ideas feel free to join the irc channel and I'll be happy to assist you. I know that we've already got the gitter chat but hopefully this makes things easier for those without a github account. :)
2016-12-09 23:14:51 -07:00
2016-12-12 05:54:48 -07:00
[![Freenode ](https://img.shields.io/badge/%23neofetch-%20on%20Freenode-brightgreen.svg )](http://irc.lc/freenode/neofetch)
2016-12-09 23:14:51 -07:00
2016-12-10 01:23:59 -07:00
2016-12-08 21:10:16 -07:00
## General
- Travis now runs [shellcheck ](https://github.com/koalaman/shellcheck ) on every commit and pull request.
- We've had to exclude around 10 lint errors, see this wiki page for why we did this:
- https://github.com/dylanaraps/neofetch/wiki/Shellcheck-Exclusions
2016-12-08 21:41:23 -07:00
- Optimize usage of get_de(), get_wm() and get_term().
- We were calling these multiple times, we now check to see if they were run previously.
2016-12-12 00:28:41 -07:00
- Optimize info caching, only check for cache files in scripts that use caching.
2016-12-12 05:57:28 -07:00
- Cleanup `main()` .
2016-12-14 01:25:58 -07:00
- Renamed `old_flags()` --> `old_options()` .
2016-12-14 15:35:14 -07:00
- The manpage is now generated using `help2man` . `help2man` parses the output of `--help` and `--version` to create a manpage. This ensures that our manpage stays 1:1 with the script documentation. We actually found a lot of outdated info in the old manpage thanks to this.
- A new flag was added called `--gen-man` which generates a neofetch manpage in your current directory.
2016-12-14 23:57:29 -07:00
- Delete most of `info()` and instead call `prin()` .
- This removes a lot of duplicate code between `info()` and `prin()` .
2016-12-15 19:35:39 -07:00
- Remove `printf` subshells and instead use `printf -v` to declare the variables.
2016-12-09 23:14:51 -07:00
2016-12-10 01:23:59 -07:00
## Info
2016-12-15 02:56:30 -07:00
**Shell**< br \>
- [Fish] Fixed memory leak caused by Fish.
2016-12-15 04:41:05 -07:00
- Added support for `xonsh` .
- Fixed version output on `ksh` .
- Rewrote the function to remove duplicate code. All shells now use `$SHELL --version` to get the version info, with the exception of `mksh` which doesn't have a `--version` flag.
2016-12-15 02:56:30 -07:00
2016-12-15 05:05:59 -07:00
**Uptime**< br \>
- Moved duplicate code to a function.
- Changed `$uptime_shorthand` to `on` by default.
2016-12-12 18:07:31 -07:00
**Desktop Environment**< br \>
- Fixed issues where MATE wouldn't be detected properly.
- Added fallback to `$DESKTOP_SESSION` , `$MATE_DESKTOP_SESSION_ID` and `$GNOME_DESKTOP_SESSION_ID` .
2016-12-14 01:25:58 -07:00
**CPU**< br \>
- [Linux] Don't simplify `cpufreq` speed option names for no reason.
2016-12-15 04:51:02 -07:00
- [Linux] Fixed issues with CPU name detection for architectures other than x86/amd64/ARM.
2016-12-14 01:25:58 -07:00
- [NetBSD] Remove case statement in favor of 1 line test.
- Remove case sensitive substitutions.
- We match everything case insensitively so they were pointless.
- Simplify check for low CPU speeds.
2016-12-15 06:10:29 -07:00
**CPU Usage**< br \>
- Added Haiku cores command.
- Updated Linux and macOS commands to the match the commands in the `get_cpu()` function.
2016-12-10 01:23:59 -07:00
**Disk**< br \>
- Warn the user if `df` isn't installed.
- Fixed broken output if `df` wasn't installed but the function was enabled.
2016-12-12 00:28:41 -07:00
**Song**< br \>
2016-12-15 06:12:57 -07:00
- [cmus] Simplify block and fix `artistsort` bug.
- Removed `state` detection.
- Removed duplicate `dbus-send` commands.
2016-12-12 00:28:41 -07:00
2016-12-12 16:20:58 -07:00
**Battery**< br \>
2016-12-12 16:21:12 -07:00
- [MacOS] Fixed issue where battery always appears as charging. ** [@jorgegonzalez ](https://github.com/jorgegonzalez )**
2016-12-12 16:20:58 -07:00
2016-12-15 15:42:27 -07:00
**Local IP**< br \>
- [Windows] Support multiple interfaces.
2016-12-10 05:57:54 -07:00
**Color Blocks**< br \>
- Use start++ instead of adding it manually after case. ** [@konimex ](https://github.com/konimex )**
2016-12-10 01:23:59 -07:00
2016-12-12 05:56:14 -07:00
2016-12-08 07:22:20 -07:00
## Images
- [iTerm2] Fixed blank images.
2016-12-08 22:20:44 -07:00
2016-12-10 01:23:59 -07:00
2016-12-08 22:20:44 -07:00
## Ascii
2016-12-13 01:27:43 -07:00
- Added Ubuntu-Studio. ** [@konimex ](https://github.com/konimex )**
2016-12-08 22:20:44 -07:00
- Fixed bug causing macOS ascii art to be used on other Operating Systems.
2016-12-10 02:12:46 -07:00
- Display warning about 'ascii' being the new default mode.
2016-12-12 05:55:56 -07:00
2016-12-12 05:56:14 -07:00
2016-12-12 05:55:56 -07:00
## Screenshot
- Use arrays for `$scrot_program`
2016-12-15 19:25:58 -07:00
2016-12-15 19:26:08 -07:00
2016-12-15 19:25:58 -07:00
## Args
- Fixed bug where `neofetch --config` sourced the user config twice.
- Cleaned up config arg handling.