neofetch/1.1.md

133 lines
4.9 KiB
Markdown
Raw Normal View History

2016-01-28 02:44:06 +01:00
# Fetch 1.1 changelog
2016-02-03 10:03:06 +01:00
![screenfetch mode](http://i.imgur.com/nW3HiNP.png)<br \>
<sup>New screenfetch mode</sup>
2016-01-30 07:45:50 +01:00
- If `w3m` or `imagemagick` aren't installed we gracefully fallback to ascii mode.
- Automatically find the `w3mimgdisplay` path and fallback to ascii mode if not found.
2016-01-28 02:44:06 +01:00
- Fix padding escape codes on BSD systems.
- Swap escape codes from `\e` to `\033` for consistency.
- We only move the cursor to the bottom of the terminal in w3m/iterm2 rendering modes.
2016-01-29 01:38:25 +01:00
- Cursor position is now dynamic based on the height of the ascii and info text.
2016-01-29 07:07:56 +01:00
- If images and ascii are off, don't clear the terminal
2016-01-30 01:41:21 +01:00
- The script now exits correctly instead of always exiting with status code `1`
2016-01-31 09:24:53 +01:00
- If the script exits for any reason, unhide the cursor.
2016-02-01 01:53:11 +01:00
- Removed duplicate blocks inside `getcpu` and `getmemory`.
2016-02-01 09:13:59 +01:00
- Removed `--colors` as it was apparently broken from day 1.
2016-02-03 10:03:06 +01:00
- Usage has been reformatted so that every flag has a value.
### Image
- Added support for displaying ascii art inside of text files.
- Added "screenfetch mode" which will display your distro's ascii art next to the info. \[1\]<br \>
- Added `--ascii_distro` to choose which distro's ascii logo to display.
- Added `--ascii_colors` and `$ascii_colors` which allow you to change the colors of the ascii art<br \>
and distro logos. \[2\]
2016-02-03 10:03:06 +01:00
- Rename `--shuffledir` and `$shuffledir` to `shuffle_dir`.
- Rename `--imgtempdir` and `$imgtempdir` to `thumbnail_dir`
- Default thumbnail directory is now `$HOME/.cache/thumbnails/fetch`. Thanks @tudurom
- If `--image` and `--ascii` are left empty we fallback to ascii distro mode.
Example usage of ascii from file:
```sh
fetch --ascii "path/to/ascii" --ascii_color 2
```
\[1\] **[How do I enable screenfetch mode?](http://github.com/dylanaraps/fetch#how-do-i-enable-screenfetch-mode)**<br \>
\[2\] `ascii_colors` takes a range of colors which allows you to color every aspect of<br \>
distro and OS ascii art. For custom art the script will color the entirety of it using<br \>
the first value of `ascii_colors`.
2016-02-03 10:03:06 +01:00
2016-01-30 01:41:21 +01:00
### Config file
2016-02-01 01:10:20 +01:00
- Fetch now has a config file that you can share with people and keep between<br \>
script versions!
2016-01-30 01:41:21 +01:00
- Added `--config` and `$config_file` to specify a custom config location.
- Added `--config off`, `--config none` and `$config` to enable / disable config files<br \>
at launch or in script.
2016-01-30 01:41:21 +01:00
2016-01-28 02:44:06 +01:00
### Makefile
- Fetch now has a make file due to the increasing number of files,<br \>
this allows the script to be easily installed and uninstalled on<br \>
2016-02-03 10:03:06 +01:00
systems it isn't packaged for yet! \[1\]
2016-02-03 10:03:06 +01:00
\[1\] The script will still work just fine on its own, you'll just be missing<br \>
2016-02-01 01:11:15 +01:00
the distro ascii art and the automatic config creation.
2016-02-01 01:10:20 +01:00
2016-02-01 02:32:30 +01:00
### Packages
- Fetch now has a Gentoo/Funtoo e-build courtesy of @z1lt0id
2016-01-28 02:44:06 +01:00
### Info
- Added `--disable` which allows you to stop an info line from appearing at launch.<br \>
```sh
# Stop cpu, gpu, disk and shell functions from being called
fetch --disable cpu gpu disk shell
```
2016-02-03 10:03:06 +01:00
**Kernel:** Added `--kernel_shorthand` and `$kernel_shorthand` to print less or more kernel info<br \>
**Window Manager:** Added support for `$XINITRC`<br \>
**GTK:** Fix incorrect GTK3 theme being displayed<br \>
**CPU:** `cpu_shorthand`: New substitutions<br \>
**GPU:** `[Linux]` Count the number of identical GPUs. eg. `Nvidia Geforce GTX 970 x 2`<br \>
**Memory:** `[Mac OS X]` Added wired memory to memory usage.<br \>
2016-01-28 02:45:27 +01:00
**Distro:**
2016-02-03 10:03:06 +01:00
- Added support for showing OS architecture. eg `Arch Linux x86_64`, `Windows 7 Ultimate 64-bit` \[1\]
- Mac OS X: Added support for showing Max OS X build version. \[2\]
- Windows: Distro now displays Windows edition. eg. `Windows 7 Ultimate`
2016-01-28 02:45:27 +01:00
2016-02-03 10:03:06 +01:00
\[1\] You can toggle this using `--os_arch` and `$os_arch`.<br \>
\[2\] You can toggle it using `--osx_buildversion` and `$osx_buildversion`.
2016-01-28 02:44:06 +01:00
**Shell:**
- Added `--shell_version` and `$shell_version` to hide/show your shell's version.
- Added `--shell_path` and `$shell_path` to hide/show the path to your shell
2016-01-30 12:41:58 +01:00
**Birthday:**
2016-02-01 01:10:20 +01:00
- Added `birthday` which prints the age of your OS install.
2016-01-30 12:42:54 +01:00
- Added `--birthday_shorthand` and `$birthday_shorthand` to shorten/lengthen<br \>
the output of birthday.
- Added `--birthday_time` and `$birthday_time` to show/hide the time in the output.
2016-01-30 12:41:58 +01:00
2016-02-03 10:03:06 +01:00
**Battery:**
- Added `battery` which prints the battery usage percentage for each battery<br \>
in your system.
2016-02-03 10:03:06 +01:00
- Linux: Added `battery_num` which allows you to choose which battery to display, <br \>
it also takes the value `all` which will print all batteries line by line.
2016-02-03 10:03:06 +01:00
- Linux: Added `battery_shorthand` which when set to `on` prints each battery on the<br \>
same line like so:
```sh
# battery_shorthand="on"
Battery: 10%, 5%, 67%
# battery_shorthand="off"
Battery0: 10%
Battery1: 5%
Battery2: 67%
# If there's only a single battery in the system
# we ommit the numbered title.
Battery: 10%
```
2016-02-02 23:46:26 +01:00
- **NOTE:** This currently doesn't support BSD systems as we have no one to help us test
- See **[Issue #46](https://github.com/dylanaraps/fetch/issues/46)**
2016-01-29 02:18:04 +01:00