Compare commits

...

107 Commits
ostype ... comp

Author SHA1 Message Date
Dylan Araps
80b089b8d9 merge: fix conflicts 2018-06-05 10:58:41 +10:00
Dylan Araps
552b0dd6bc revert: makefile changes 2018-06-05 10:56:13 +10:00
Dylan Araps
b7ba768787 Merge branch 'master' of github.com:dylanaraps/neofetch 2018-06-05 07:46:01 +10:00
Andrew Titmuss
6e41a62193 docs: update [skip ci] 2018-06-05 07:42:58 +10:00
Dylan Araps
edb960fece docs: update 2018-06-05 07:42:54 +10:00
Andrew Titmuss
108bb9cff9 os: add macOS codename for Mojave 2018-06-05 07:40:29 +10:00
Dylan Araps
552523edbf misc: cleanup 2018-06-05 06:45:11 +10:00
Dylan Araps
62aca46151 packages: Fix snap issue 2018-06-05 06:33:27 +10:00
Dylan Araps
ea7e8531e9 Merge branch 'comp' of github.com:dylanaraps/neofetch into comp 2018-06-05 06:28:55 +10:00
Dylan Araps
27346df5e3 general: Update completion 2018-06-05 06:25:29 +10:00
Dylan Araps
23db006fb9 Merge branch 'master' into comp 2018-06-05 06:18:45 +10:00
Dylan Araps
81beb26972 packages: Added option to display package counts individually. 2018-06-04 14:40:18 +10:00
Dylan Araps
d6505023a9 cursor: simplify statement 2018-06-04 10:46:47 +10:00
Dylan Araps
cc0d232b48 docs: update 2018-06-04 10:21:15 +10:00
Dylan Araps
264fc4d028 docs: update 2018-06-04 10:17:30 +10:00
Dylan Araps
131719a5ff docs: update 2018-06-04 10:16:49 +10:00
Dylan Araps
da5f443bec docs: update 2018-06-04 10:16:28 +10:00
Dylan Araps
c652bfb97b config: Cleanup and fix bugs 2018-06-04 09:58:27 +10:00
Dylan Araps
02c7c90496 misc: cleanup 2018-06-04 08:56:32 +10:00
Dylan Araps
9b09ed65fa misc: cleanup 2018-06-04 08:45:21 +10:00
Dylan Araps
b3235cfff4 docs: update 2018-06-04 08:41:23 +10:00
Dylan Araps
b119a154b0 term_font: cleanup 2018-06-04 08:33:24 +10:00
Dylan Araps
05b0d1055b misc: cleanup 2018-06-04 07:36:56 +10:00
Dylan Araps
23d02ae90e misc: cleanup 2018-06-04 06:51:30 +10:00
Dylan Araps
c461704b36 packages: Run flatpak/snap after regular package managers 2018-06-04 06:41:39 +10:00
Dylan Araps
982710fff0 Merge pull request #1018 from konimex/agnosticpkg
Packages: Add support for Flatpak and Snap
2018-06-03 20:26:10 +00:00
Dylan Araps
e5542a6425 Merge pull request #1019 from mstraube/condres
OS: Add support for Condres OS.
2018-06-03 20:10:00 +00:00
Michael Straube
5fc7dc61ce OS: Add support for Condres OS. 2018-06-03 18:19:09 +02:00
Muhammad Herdiansyah
2cc5516b42 Packages: Add support for Snap 2018-06-03 20:44:57 +07:00
Muhammad Herdiansyah
4637e00742 Packages: Add support for Flatpak 2018-06-03 20:44:00 +07:00
Dylan Araps
59766adf2b Merge pull request #1017 from mstraube/regata
OS: Add support for Regata OS.
2018-06-03 08:53:34 +00:00
Michael Straube
58e7bf039f OS: Add support for Regata OS. 2018-06-03 10:23:38 +02:00
Dylan Araps
55b3925a29 misc: cleanup 2018-06-03 17:07:04 +10:00
Dylan Araps
96bd33c2a0 misc: cleanup 2018-06-03 16:40:06 +10:00
Dylan Araps
ab01e65fad misc: cleanup 2018-06-03 16:11:37 +10:00
Dylan Araps
21103d9ada resolution: Added xwininfo support. 2018-06-03 16:02:16 +10:00
Dylan Araps
e3723d277c packages: Fix performance bug 2018-06-03 14:52:22 +10:00
Dylan Araps
7696f58ea4 uptime: Remove subshells 2018-06-03 13:14:17 +10:00
Dylan Araps
e12927aa17 distro: [haiku] Use read instead of awk 2018-06-03 12:58:44 +10:00
Dylan Araps
320ad76b21 docs: update 2018-06-03 12:19:03 +10:00
Dylan Araps
f51de7f139 travis: Use latest shellcheck 2018-06-03 11:19:11 +10:00
Dylan Araps
041c021c97 travis: Use latest shellcheck 2018-06-03 11:16:18 +10:00
Dylan Araps
f2e2cb94e9 travis: Use latest shellcheck 2018-06-03 11:15:13 +10:00
Dylan Araps
f7f47799ea travis: Use latest shellcheck 2018-06-03 11:11:26 +10:00
Dylan Araps
ee9939a1dd args: Rename package_manager 2018-06-03 10:26:20 +10:00
Dylan Araps
27b2feb216 travis: Update 2018-06-03 10:22:01 +10:00
Dylan Araps
a46d2dec07 ascii: Update funtoo logo 2018-06-03 10:20:18 +10:00
Dylan Araps
d69fd6d839 ascii: simplify handling. 2018-06-03 10:14:53 +10:00
Dylan Araps
bee887a3e0 misc: docs 2018-06-03 08:25:30 +10:00
Dylan Araps
14005cac4a misc: Get rid of SC2012/2016 2018-06-03 08:15:12 +10:00
Dylan Araps
159cf63658 Merge pull request #1015 from dylanaraps/pkgs
packages: refactor (List package managers used/cleanup)
2018-06-02 21:52:38 +00:00
Dylan Araps
76eb43fb65 Merge pull request #1016 from dylanaraps/install_date
info: Remove get_install_date
2018-06-02 21:52:14 +00:00
Dylan Araps
175fce87b5 info: Remove get_install_date 2018-06-03 07:31:24 +10:00
Dylan Araps
4698dbd06e misc: Surpress last lint errors as they are intended behavior 2018-06-03 07:07:52 +10:00
Dylan Araps
aedfa1e92d docs: update 2018-06-03 07:01:20 +10:00
Dylan Araps
1c015aea18 travis: Remove lint exceptions. 2018-06-03 06:59:24 +10:00
Dylan Araps
89d4126ec1 misc: Fix more lint errors. 2018-06-02 19:18:22 +10:00
Dylan Araps
e3afa265f9 packages: only show manager when packages > 0 2018-06-02 16:31:21 +10:00
Dylan Araps
094fca97bf packages: Remove wc usage 2018-06-02 16:19:29 +10:00
Dylan Araps
3051bbc424 packages: Remove ls usage 2018-06-02 15:43:53 +10:00
Dylan Araps
9bf46946b6 packages: Remove find usage from brew 2018-06-02 15:04:27 +10:00
Dylan Araps
c03c9e1248 packages: refactor 2018-06-02 15:02:34 +10:00
Dylan Araps
dc9b5519fd packages: refactor 2018-06-02 14:54:11 +10:00
Dylan Araps
75f845c7af packages: refactor 2018-06-02 14:52:08 +10:00
Dylan Araps
4bc2a23a46 packages: refactor 2018-06-02 14:44:52 +10:00
Dylan Araps
ffcf82d10d packages: cleanup 2018-06-02 13:54:17 +10:00
Andrew Titmuss
d02c590ff7 misc: fix most SC1117 errors from PlistBuddy 2018-06-02 13:09:02 +10:00
Dylan Araps
8d0205a56a misc: Fix misc style error. 2018-06-02 12:58:53 +10:00
Dylan Araps
55c128211c misc: Fix more lint errors. 2018-06-02 12:43:48 +10:00
Dylan Araps
eba08e3efc misc: fix more lint errors 2018-06-02 12:40:09 +10:00
Dylan Araps
37bb794602 misc: fix awk lint errors 2018-06-02 12:28:10 +10:00
Dylan Araps
6ea186d987 misc: Fix lint errors. 2018-06-02 12:08:08 +10:00
Dylan Araps
c1cde629c4 resolution: Fix lint error. 2018-06-02 10:07:04 +10:00
Dylan Araps
5784af20d3 Merge branch 'master' of github.com:dylanaraps/neofetch 2018-06-02 09:53:52 +10:00
Dylan Araps
96386dc90e cols: Fix lint errors. 2018-06-02 09:52:49 +10:00
Dylan Araps
8dd186d06b Merge pull request #1013 from mstraube/comp
completion: add gmusicbrowser
2018-06-01 21:43:51 +00:00
Dylan Araps
3fe0e1e65c Merge pull request #1012 from mstraube/gmusicbrowser
song: add support for gmusicbrowser
2018-06-01 21:43:38 +00:00
Michael Straube
7dcf21009a completion: add gmusicbrowser 2018-06-01 14:19:58 +02:00
Michael Straube
840d4afbb1 misc: align some lines 2018-06-01 14:10:11 +02:00
Michael Straube
aab70da27c song: add gmusicbrowser 2018-06-01 14:02:12 +02:00
Dylan Araps
2f917c78d2 misc: cleanup 2018-06-01 13:22:31 +10:00
Dylan Araps
bd5706ca0e misc: remove unused var 2018-06-01 13:03:53 +10:00
Dylan Araps
c1f0fc9699 misc: fix some lint errors 2018-06-01 12:58:23 +10:00
Dylan Araps
1f7aa76c48 misc: cleanup 2018-06-01 12:54:31 +10:00
Dylan Araps
5e78bcb7be misc: Shorter syntax for no output 2018-06-01 12:47:18 +10:00
Dylan Araps
ae7271578a image: Performance improvements 2018-06-01 12:34:28 +10:00
Dylan Araps
ffe94c26ee misc: cleanup 2018-06-01 10:53:28 +10:00
Dylan Araps
5cac0a8dc1 OS: Added support for Linux Lite 2018-06-01 10:16:35 +10:00
Dylan Araps
d7e04822d3 OS: Added support for SharkLinux 2018-06-01 10:04:04 +10:00
Dylan Araps
f143ed5991 OS: Added support for Kibojoe Linux 2018-06-01 09:54:46 +10:00
Dylan Araps
f7001b142a OS: Added support for PureOS 2018-06-01 09:34:26 +10:00
Dylan Araps
f8779be333 disk: cleanup 2018-06-01 09:29:51 +10:00
Dylan Araps
226f746c60 term_font: cleanup urxvt/xterm 2018-05-31 19:48:14 +10:00
Dylan Araps
da97fc8a64 term_font: cleanup xfce4-terminal 2018-05-31 19:35:29 +10:00
Dylan Araps
4b684c0eb6 term_font: cleanup konsole 2018-05-31 19:28:46 +10:00
Dylan Araps
ea7512da2f misc: cleanup 2018-05-31 15:09:48 +10:00
Dylan Araps
6244bbb1da os: cleanup 2018-05-31 15:05:22 +10:00
Dylan Araps
2bb28bb67b cpu: Use uname -m for portability 2018-05-31 15:01:20 +10:00
Dylan Araps
455dfa1b73 completion: Install with Makefile 2018-05-30 21:31:13 +10:00
Dylan Araps
530928186f completion: Finish args 2018-05-30 20:55:19 +10:00
Dylan Araps
f8b5e3bb32 completion: Finish args 2018-05-30 20:45:10 +10:00
Dylan Araps
fb5d20a9c4 completion: Finish args 2018-05-30 20:40:21 +10:00
Dylan Araps
39333ad0cb completion: Finish args 2018-05-30 20:31:22 +10:00
Dylan Araps
a1bf937fd8 completion: Finish args 2018-05-30 14:28:18 +10:00
Dylan Araps
0e73d7c9ae general: Started working on completion. 2018-05-30 09:02:49 +10:00
Dylan Araps
c0708d86c2 general: Started working on completion. 2018-05-30 08:37:54 +10:00
Dylan Araps
4afaff4223 general: Started working on completion. 2018-05-30 08:31:01 +10:00
7 changed files with 1298 additions and 798 deletions

View File

@@ -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 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

View File

@@ -7,44 +7,81 @@ 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**
- [**@mstraube**](https://github.com/mstraube)
- [**@iandrewt**](https://github.com/iandrewt")
- [**@iandrewt**](https://github.com/iandrewt)
- [**@konimex**](https://github.com/konimex)
**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 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`.
- **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 didnt allow us to specify height so we
couldnt 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**
- [font] Fix iTerm2 checking for 2 extra profiles that don't exist. [**@iandrewt**](https://github.com/iandrewt")
- [gpu] Fixed ATI/AMD branding issue.
- [song] Fixed song detection on macOS.
- [song] Fixed song output on systems using `C` locale.
- **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**: Removed `find` usage.
- **packages**: Removed `ls` usage.
- **packages**: Removed `wc -l` usage.
- **song**: Added support for `gmusicbrowser`.
[**@mstraube**](https://github.com/mstraube)
- **song**: Fixed song detection on macOS.
- **song**: Fixed song output on systems using `C` locale.
- **term\_font**: Clean up of config file handling.
- **resolution**: Added support for `xwininfo`.
## [4.0.2] - 2018-05-19

View File

@@ -23,20 +23,15 @@
and variable names.
- Keep lines below `100` characters long.
- Use `[[ ]]` for tests.
- Double Quote **EVERYTHING**.
- Dont 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)")`).
- Dont use `grep "pattern" | awk '{ printf }'`.
- Use `awk '/pattern/ { printf }'`
- Dont use `wc`.
- Use `${#var}` or `${#arr[@]}`.
### If Statements

View File

@@ -7,6 +7,7 @@
<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>
</p>
<img src="https://i.imgur.com/GFmC5Ad.png" alt="neofetch" align="right" height="240px">
@@ -42,6 +43,7 @@ Neofetch supports almost 150 different operating systems. From Linux to Windows,
- 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
@@ -54,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-green.svg"></a> <a href="https://www.patreon.com/dyla"><img src="https://img.shields.io/badge/donate-patreon-yellow.svg"></a>
If you like `neofetch` and want to give back in some way you can donate here: **https://patreon.com/dyla**

View File

@@ -0,0 +1,437 @@
#!/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

1556
neofetch

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
.TH NEOFETCH "1" "May 2018" "Neofetch 4.0.3" "User Commands"
.TH NEOFETCH "1" "June 2018" "Neofetch 4.0.3" "User Commands"
.SH NAME
Neofetch \- A fast, highly customizable system info script
.SH SYNOPSIS
@@ -22,6 +22,9 @@ 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.
.TP
\fB\-\-os_arch\fR on/off
Hide/Show OS architecture.
.TP
@@ -126,12 +129,6 @@ Print the Artist/Album/Title on separate lines.
\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