Compare commits

...

330 Commits
4.0.1 ... clean

Author SHA1 Message Date
Dylan Araps
8dbcbfc03b started removing useless syntax 2019-01-08 00:02:19 +02:00
Dylan Araps
594e1fa10d cleanup 2019-01-07 22:53:51 +02:00
Dylan Araps
a450fc88c5 terminal font [kitty]: Use kitty command instead of parsing config files. Closes #1150 2019-01-07 21:18:33 +02:00
Dylan Araps
679aa306fb Merge branch 'master' of github.com:dylanaraps/neofetch 2019-01-07 20:23:23 +02:00
Dylan Araps
04420479dc image: store thumbnail with path name 2019-01-07 20:22:59 +02:00
Dylan Araps
8aab756a15 packages: Don't run pkginfo on linux 2019-01-07 19:48:05 +02:00
Dylan Araps
af6230f0ca Merge pull request #1152 from dylanaraps/simple
Added new simple mode for script usage
2019-01-07 19:46:20 +02:00
Dylan Araps
7e96b42860 simple mode: expose window size and terminal size 2019-01-07 19:40:37 +02:00
Dylan Araps
ea44816a3c simple mode: expose window size and terminal size 2019-01-07 19:36:14 +02:00
Dylan Araps
981b2da634 general: Fix issues when printing ascii 2019-01-07 18:56:09 +02:00
Dylan Araps
1b67413d49 Merge pull request #1153 from dylanaraps/ascii_enhance
ascii: Added support for command output
2019-01-07 18:47:43 +02:00
Dylan Araps
c99b864590 ascii: Fixed bug when long line is input 2019-01-07 18:34:20 +02:00
Dylan Araps
b399f49077 ascii: Fixed bug when files named auto or ascii were found. 2019-01-07 18:17:56 +02:00
Dylan Araps
defee48d14 ascii: Added support for command output 2019-01-07 18:09:55 +02:00
Dylan Araps
4fb30c040a ascii: Added support for command output 2019-01-07 18:09:10 +02:00
Dylan Araps
1b356da175 ascii: Added support for command output 2019-01-07 18:04:25 +02:00
Dylan Araps
a52115b364 ascii: Added support for Pentoo. Closes #1069 2019-01-07 17:33:46 +02:00
Dylan Araps
e213ee7e58 Merge pull request #1151 from dylanaraps/song_fix5
song: Fix various issues
2019-01-07 17:14:57 +02:00
Dylan Araps
ee30f29da9 song: Added config option to display music player 2019-01-07 17:16:18 +02:00
Dylan Araps
763f3a9af5 song: Add netease to comment. 2019-01-07 17:09:29 +02:00
Dylan Araps
bbb06ad4a9 song: Remove gpmdp-remote support as tool is unmaintained. 2019-01-07 16:40:55 +02:00
Dylan Araps
faae04f0ee song: Remove gpmdp-remote support as tool is unmaintained. 2019-01-07 16:39:56 +02:00
Dylan Araps
186093ddc0 song: Fix qmmp 2019-01-07 16:28:36 +02:00
Dylan Araps
ae2384dca8 song: Fix deadbeef 2019-01-07 16:25:44 +02:00
Dylan Araps
9b2796e168 general: Added new simple mode for script usage 2019-01-07 16:13:59 +02:00
Dylan Araps
c29ecc3fae general: Added new simple mode for script usage 2019-01-07 16:11:00 +02:00
Dylan Araps
6f6b67f387 general: Added new simple mode for script usage 2019-01-07 16:10:53 +02:00
Dylan Araps
c47826225e song: Added support for netease cloud music 2019-01-07 15:17:05 +02:00
Dylan Araps
17a56081a5 ascii: Added support for Huayra Linux. Closes #1138 2019-01-07 09:18:35 +02:00
Dylan Araps
27258fb93c ascii: Added support for Huayra Linux. Closes #1138 2019-01-07 09:17:40 +02:00
Dylan Araps
86711645a0 song: Fix issues with broken newlines 2019-01-07 09:07:24 +02:00
Dylan Araps
8a96fd545d song: Fix issues with non-english tags 2019-01-07 09:03:24 +02:00
Dylan Araps
6c966b05ae Merge branch 'master' of github.com:dylanaraps/neofetch 2019-01-04 21:22:48 +02:00
Dylan Araps
45d632d1f6 docs: update 2019-01-04 21:22:41 +02:00
Dylan Araps
cc1be73077 docs: update 2019-01-04 21:21:59 +02:00
Dylan Araps
a2b7de8e6a ascii: Added support for BlueLight OS. Closes #1139 2019-01-04 20:52:33 +02:00
Dylan Araps
c8a32768b7 Merge pull request #1132 from Phuurl/master
Adds scoop package manager support
2019-01-04 20:51:17 +02:00
Dylan Araps
52ea4774a3 ascii: Added small arcolinux ascii. Closes #1146 #1147 2019-01-04 20:42:31 +02:00
M. Herdiansyah
da37135ef0 Merge pull request #1110 from arisinfenix/song
Song fixes
2018-12-31 18:02:07 +07:00
M. Herdiansyah
6afceae066 Merge pull request #1144 from arisinfenix/star
Distro: Add support for Star
2018-12-26 08:59:18 +07:00
Michael Straube
2bbb46fedb Distro: Add support for Star 2018-12-23 23:28:29 +01:00
M. Herdiansyah
10da8b3671 Merge pull request #1135 from arisinfenix/awk
Misc: Use comma syntax in awk to print spaces
2018-12-11 16:32:16 +07:00
Michael Straube
71e22d842e Misc: Use comma syntax in awk to print spaces 2018-12-08 15:51:21 +01:00
Phuurl
acdd6828f8 Adds scoop package manager support 2018-12-06 22:58:29 +00:00
Michael Straube
fcb302f649 song: fix elisa detection 2018-12-04 10:53:35 +01:00
Michael Straube
3da0b5cfb4 song: use get_song_dbus for rhythmbox 2018-12-04 10:53:35 +01:00
Michael Straube
e85a6a03f1 song: also quote xesam:title in get_song_dbus matching 2018-12-04 10:53:35 +01:00
xPMo
90ddcbd3e1 awk: Match exactly "album", not "albumArtist" 2018-12-04 10:53:35 +01:00
xPMo
92c3ad7493 extra spaces in song information 2018-12-04 10:53:35 +01:00
Muhammad Herdiansyah
ed0b0a9746 Misc: Fix 100 character limit 2018-11-27 19:30:04 +07:00
Muhammad Herdiansyah
0168516a2c Memory [Solaris]: Detect using a new method using pages 2018-11-14 07:05:40 +07:00
Muhammad Herdiansyah
801760a01b Distro: Add support for OpenMandriva Lx 2018-11-09 17:13:30 +07:00
Dylan Araps
49c6119de5 Merge pull request #1107 from marlonn/patch-1
new logo for Lubuntu
2018-10-23 23:30:40 +11:00
marlonn
6cbd5c4114 new logo for Lubuntu
Lubuntu changed from LXDE to LXQt with the current release (Lubuntu 18.10), and changed their logo accordingly.
2018-10-23 12:26:54 +00:00
Andrew Titmuss
9605ae9c04 Merge pull request #1103 from dylanaraps/macos-fix-mem
get_memory: fix awk for vm_stat on macOS
2018-10-23 10:46:37 +11:00
Andrew Titmuss
2f5b84afbd Merge pull request #1105 from dylanaraps/reborn-os
OS: Add Reborn OS
2018-10-23 10:33:22 +11:00
Andrew Titmuss
a9ec78656b OS: Add Reborn OS 2018-10-23 09:16:38 +11:00
Dylan Araps
c5da0db6f6 Merge pull request #1104 from dylanaraps/ituneshelper-fix
get_song: stop iTunesHelper from being detected
2018-10-22 23:54:54 +11:00
Andrew Titmuss
936b3b6b73 get_song: stop iTunesHelper from being detected 2018-10-22 22:21:12 +11:00
Andrew Titmuss
1bca06c0db get_memory: fix awk for vm_stat on macOS 2018-10-22 22:08:34 +11:00
Dylan Araps
fb23cc69d6 docs: update 2018-10-19 08:08:03 +11:00
Dylan Araps
9d1222cbc2 Merge pull request #1070 from xynxynxyn/master
Modifiable info separator
2018-10-19 08:03:15 +11:00
xynxynxyn
fc12e55052 use correct apostrophe 2018-10-18 17:04:53 +02:00
xynxynxyn
95a8ecfa71 add documentation 2018-10-18 14:28:33 +02:00
Dylan Araps
afc29ac448 general: Faster read on newer bash 2018-10-17 14:57:40 +11:00
Dylan Araps
caea0f059c general: Faster grep 2018-10-17 14:53:54 +11:00
Dylan Araps
a37ee9a833 Merge branch 'master' of github.com:dylanaraps/neofetch 2018-10-17 14:52:05 +11:00
Dylan Araps
6bb5a78f92 general: revert change. 2018-10-17 14:51:14 +11:00
Dylan Araps
19d2f4b2ca Merge pull request #1094 from arisinfenix/namib
OS: Add Namib GNU/Linux
2018-10-17 14:39:26 +11:00
Dylan Araps
3aee64abaf Merge pull request #1099 from Appadeia/master
Add support for puyo & spm
2018-10-17 14:37:51 +11:00
Dylan Araps
1278844d87 general: fixed config issue. Closes #1088 2018-10-17 14:32:18 +11:00
M. Herdiansyah
380f889f2d Merge pull request #1091 from Snuggle/master
Update config comment with kitty backend.
2018-10-14 15:33:07 +07:00
appadeia
4e33cf2f61 Add support for puyo & spm 2018-10-04 23:25:04 -04:00
Michael Straube
0800cf0dfd OS: Add Namib GNU/Linux 2018-09-16 18:13:26 +02:00
Snuggle
f5186ef32d Update config comment with kitty backend. 2018-09-13 03:24:12 +01:00
Muhammad Herdiansyah
21f7203533 docs: changelog 2018-09-05 18:31:06 +07:00
Muhammad Herdiansyah
02da9487fa Merge branch 'ascii-image' 2018-09-05 18:29:26 +07:00
Muhammad Herdiansyah
6f17a2e367 docs: changelog 2018-09-02 23:47:24 +07:00
M. Herdiansyah
382a1d2651 Merge pull request #1078 from nikitenich/master
Improve Hackintosh detection
2018-09-02 23:43:17 +07:00
Muhammad Herdiansyah
ff06200e51 docs: changelog 2018-09-02 23:41:37 +07:00
M. Herdiansyah
565f714298 Merge pull request #1084 from HolyStephano/master
Updated to fix new kitty bug prior to kitty fixes
2018-09-02 23:37:35 +07:00
Muhammad Herdiansyah
495a9fefbf Disk [OpenBSD]: Detect df version through usual df check instead of making a special if uname check 2018-09-02 23:28:33 +07:00
Matt Mathis
0d50468d19 Updated to fix new kitty bug prior to kitty fixes
Kitty recently updated and broke just using "kitty icat <image>" however, "kitty +kitten icat <image>" still works as intended.

This commit makes the neofetch script use +kitten.
2018-09-01 22:11:00 -04:00
Muhammad Herdiansyah
2c4fb88139 Merge pull-request #1058 from 'julianaito/master' 2018-09-01 18:55:48 +07:00
Charlène
e07f545c26 Multiple fixes, OpenBSD related
- get_wm: Fixes non-EWMH WM detection on OpenBSD by introducing a
  ps_flags array the same way we do for disks. Tested successfully on
  Debian GNU/Linux (this change impacts all OSes).

- get_wm: Adds fvwm support

- get_model: Adds vmm(4) (OpenBSD's KVM counterpart) support

- get_disk: On OpenBSD you can't use df against a /dev/... unless being
root or in the 'operator' group. A separate disks array creation using
awk has been introduced only for this OS.
2018-08-30 17:28:41 +02:00
Muhammad Herdiansyah
9ba1bbaafe Misc: Apply existing PATH first before applying fallback values.
In case user has a custom-installed binary, prioritise it first before
using system-supplied binaries.
2018-08-29 11:06:34 +07:00
Muhammad Herdiansyah
e7a3f5cba2 trim: Remove additional space during trimming
I noticed this when I'm testing with -v enabled. Looks like the trim
function replaces any spaces with a space.

This fixes the problem where terminal program cannot be displayed
because of an additional space in PPID variable.
2018-08-25 18:45:53 +07:00
nikitenich
3272dce4ed Improve Hackintosh detection
There is a new SMC emulator https://github.com/acidanthera/VirtualSMC
2018-08-25 14:00:52 +03:00
Muhammad Herdiansyah
4d129b50c1 docs: changelog 2018-08-24 14:20:35 +07:00
Muhammad Herdiansyah
b32f4e4d1a get_window_size: Set read timeout as 1 2018-08-24 12:08:29 +07:00
M. Herdiansyah
926fc4edde Merge pull request #1048 from StarryTony/patch-2
Fix cannot correctly get window size
2018-08-24 12:05:59 +07:00
Muhammad Herdiansyah
754ffe2fae get_ascii: Do not parse file if it's an image file 2018-08-24 11:07:36 +07:00
xynxynxyn
9b29d3f669 replace if statement with parameter expansion 2018-08-16 10:04:24 +02:00
Muhammad Herdiansyah
17f2f5b2a6 docs: changelog 2018-08-16 13:54:21 +07:00
Muhammad Herdiansyah
8ee4710225 Packages: pkginfo is used by CRUX and JanusLinux 2018-08-16 13:54:20 +07:00
Muhammad Herdiansyah
b8eb8fbaa7 docs: changelog 2018-08-16 13:24:20 +07:00
Muhammad Herdiansyah
3b5ec364e6 Merge pull request #1073 from plgruener/colorreset 2018-08-16 13:19:41 +07:00
Muhammad Herdiansyah
6c38b81fe1 Merge pull request #1072 from plgruener/arch_small
fix arch_small logo
2018-08-16 13:19:09 +07:00
Muhammad Herdiansyah
6775a652d3 Merge pull request #1063 from plgruener/yakuake
add term-font support for yakuake
2018-08-16 13:15:40 +07:00
plgruener
5d33b8d99d fix arch_small logo 2018-08-15 17:38:02 +02:00
plgruener
614fad0421 add color-reset to ascii logo drawing 2018-08-15 17:29:54 +02:00
xynxynxyn
43c439853c make seperator changeable 2018-08-14 03:48:53 +02:00
plgruener
2fef4d9849 add term-font support for yakuake 2018-07-31 18:03:29 +02:00
Muhammad Herdiansyah
78f355ba6d docs: changelog 2018-07-27 10:26:43 +07:00
M. Herdiansyah
085bba208a Merge pull request #1062 from alyssais/mac_nix
Add support for Nix packages on macOS
2018-07-27 10:23:38 +07:00
M. Herdiansyah
9fe7ec4ccf Merge pull request #1057 from nero/mksh-nospace-fix
Fix borked version display for mksh
2018-07-27 10:20:38 +07:00
Alyssa Ross
2cc7b84189 Add support for Nix packages on macOS 2018-07-26 15:19:03 +01:00
Muhammad Herdiansyah
2afc5a27af GPU [AMD]: Remove an unnecessary pattern check 2018-07-24 12:26:18 +07:00
Ain
f960594cd4 Fix borked version display for mksh
`"$SHELL" -c "printf %s \$KSH_VERSION"` as part of the shell version
detection for ksh and mksh was expanding to `printf %s $KSH_VERSION`
inside of shell. This resulted in `$KSH_VERSION` being substituted as
multiple arguments to printf. While (afaik) unspecified, mksh, bash
and zsh resort to repeating the format strings. This resulted in all
spaces missing from `$shell`, which in turn caused the string cleanup
to fail: `Shell: mksh @MIRBSDKSHR562017/08/29`

Quoting `$KSH_VERSION` causes it to be given to printf as a single
argument, which preserves its spaces. The output after this change
looks like follows: `Shell: mksh R56 2017/08/29`
2018-07-17 11:56:44 +00:00
Dylan Araps
71df4ffd3b Merge pull request #1056 from julianaito/master
battery/OpenBSD: improved charge%, adds status
2018-07-17 09:01:02 +10:00
Charlène
1332874265 battery/OpenBSD: improved charge%, adds status
This commit adds support for hw.sensors.acpibat0.amphour[03] for battery
charge statistics in addition to watthour[03]. It also adds charging status.
2018-07-16 22:58:47 +02:00
Tony
5037d312fd Fix cannot correctly get window size
A bug caused by not correctly unset IFS to read array
2018-06-30 00:44:56 +01:00
Dylan Araps
22df76c3b6 cpu: Use sysctl on NetBSD. Closes #1041 2018-06-25 09:04:48 +10:00
Dylan Araps
497b782ea1 Merge branch 'master' of github.com:dylanaraps/neofetch 2018-06-25 07:49:49 +10:00
Dylan Araps
c99fc64b67 misc: Fixed substitutions. 2018-06-25 07:49:12 +10:00
Dylan Araps
d43da37d00 Merge pull request #1042 from erikdubois/master
Update neofetch
2018-06-23 15:11:22 +10:00
Erik Dubois
911c70adc3 Update neofetch 2018-06-23 06:56:54 +02:00
Dylan Araps
f70390ede0 Merge pull request #1040 from corollari/patch-1
Fix #1039
2018-06-22 10:56:30 +10:00
Albert
c651f5e068 Fix #1039 2018-06-22 00:55:39 +02:00
Dylan Araps
288036eb26 misc: cleanup 2018-06-21 17:21:08 +10:00
Dylan Araps
aae3271422 wallpaper: Fixed GNOME support. Closes #1037 2018-06-21 14:36:33 +10:00
Dylan Araps
61ee751147 docs: update 2018-06-21 13:55:44 +10:00
Dylan Araps
50804a6877 gpu: Change Xeon output to HD Graphics 2018-06-20 21:48:16 +10:00
Dylan Araps
ef94cc6764 Merge branch 'master' of github.com:dylanaraps/neofetch 2018-06-20 10:32:33 +10:00
Dylan Araps
31af4fe003 misc: cleanup 2018-06-20 10:31:55 +10:00
Dylan Araps
1da3523e9e Merge pull request #1035 from protonesso/master
OS: add januslinux
2018-06-20 07:41:16 +10:00
tsumiki.neko
a596b6467f add januslinux 2018-06-19 22:17:53 +03:00
Dylan Araps
c152801a8a misc: cleanup 2018-06-19 16:13:09 +10:00
Dylan Araps
97b4f04d33 term: [urxvt/xterm] Show greedy fonts. 2018-06-19 16:02:24 +10:00
Dylan Araps
cf07cb0c35 term: Show URxvtd as URxvt 2018-06-19 15:46:51 +10:00
Dylan Araps
af455b2967 misc: Check if xprop is installed 2018-06-19 14:20:44 +10:00
Dylan Araps
bdd21fa8a7 misc: cleanup 2018-06-19 09:52:20 +10:00
Dylan Araps
8a2e973814 misc: cleanup 2018-06-19 09:46:53 +10:00
Dylan Araps
2bdb5f3b01 docs: update 2018-06-19 09:42:08 +10:00
Dylan Araps
d35574352f misc: cleanup 2018-06-19 09:41:27 +10:00
Dylan Araps
01bd13a3b5 song: Fix detection. 2018-06-19 09:37:10 +10:00
Dylan Araps
94362674f2 image: Use stty instead of sequence first. 2018-06-19 09:21:48 +10:00
Dylan Araps
2783446387 fix tests 2018-06-19 09:09:09 +10:00
Dylan Araps
afb6782a88 fix tests 2018-06-19 09:08:02 +10:00
Dylan Araps
24f5259339 fix tests 2018-06-19 09:04:10 +10:00
Dylan Araps
536c0b0ef7 Merge branch 'master' of github.com:dylanaraps/neofetch 2018-06-19 08:59:30 +10:00
Dylan Araps
b3e6b7e818 song: Added mpc_args to specify arguments for mpc. Closes #1033 2018-06-19 08:59:14 +10:00
Dylan Araps
4ac3dedaa0 Merge pull request #1032 from mstraube/clearos
OS: Add support for ClearOS
2018-06-15 06:30:17 +10:00
Michael Straube
1fc48be2f4 OS: Add support for ClearOS 2018-06-14 20:50:05 +02:00
Dylan Araps
dfafca9f62 Merge pull request #1030 from mstraube/song
Song: Add Dragon Player and SMPlayer
2018-06-14 06:44:37 +10:00
Michael Straube
ea462a8ec1 song: Add SMPlayer 2018-06-13 18:03:51 +02:00
Michael Straube
94ae0099be song: Add Dragon Player 2018-06-13 17:58:41 +02:00
Dylan Araps
e7306982e9 packages: Fix bug with dpkg 2018-06-09 17:48:49 +10:00
Dylan Araps
40bf68af26 packages: Fix dpkg bug. 2018-06-09 17:40:09 +10:00
Dylan Araps
078cda7b48 misc: cleanup 2018-06-09 17:23:42 +10:00
Dylan Araps
329abc5c46 Merge branch 'master' of github.com:dylanaraps/neofetch 2018-06-09 17:23:07 +10:00
Dylan Araps
440e8ca7b1 packages: Fix bug with snapd. Closes #1026 2018-06-09 17:22:51 +10:00
Dylan Araps
34eacd561b Merge pull request #1025 from mstraube/song
song: use get_song_dbus for amarok
2018-06-09 06:40:33 +10:00
Michael Straube
abe6b82fc7 song: add comment for exaile 2018-06-08 14:18:56 +02:00
Michael Straube
26389a8423 song: use get_song_dbus for amarok 2018-06-08 13:56:45 +02:00
Dylan Araps
daf866039e Merge pull request #1023 from mstraube/pragha
song: use get_song_dbus for pragha
2018-06-08 04:58:22 +10:00
Michael Straube
059239d2a7 song: use get_song_dbus for pragha 2018-06-07 13:47:13 +02:00
Dylan Araps
8cfabdae47 Merge pull request #1021 from mstraube/indent
misc: indent
2018-06-06 20:39:06 +00:00
Michael Straube
b30151e6dd misc: indent 2018-06-06 18:02:07 +02:00
Dylan Araps
93ffa118a3 Merge pull request #1020 from MindTooth/fix_end
awk: Space around END
2018-06-05 20:07:01 +00:00
Birger J. Nordølum
e7645597e1 awk: Space around END 2018-06-05 19:33:20 +02:00
Andrew Titmuss
428b73fc5a os: add cache_uname for Darwin (macOS/iOS) 2018-06-05 23:13:20 +10:00
Dylan Araps
e95776d40b misc: cleanup 2018-06-05 13:12:29 +10:00
Dylan Araps
d8f7e8df54 config: Fixed incorrect error message 2018-06-05 12:20:12 +10:00
Dylan Araps
bc9fd232e4 distro: Fixed file error 2018-06-05 12:19:18 +10:00
Dylan Araps
f847b05e32 image: Added method to get the terminal size using an escape sequence. 2018-06-05 11:50:55 +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
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
3fe0e1e65c Merge pull request #1012 from mstraube/gmusicbrowser
song: add support for gmusicbrowser
2018-06-01 21:43:38 +00: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
f41607c36c cpu: Use HOSTTYPE 2018-05-31 14:30:48 +10:00
Dylan Araps
077e5fadb7 w3m: Simplify function further. 2018-05-31 08:10:43 +10:00
Dylan Araps
c6fde1ff9a ascii: Simplify function. 2018-05-31 08:04:01 +10:00
Dylan Araps
b93eb5ad30 w3m: Simplify path find. 2018-05-31 07:33:20 +10:00
Dylan Araps
3889bf8dd4 misc: Fix missing quote. 2018-05-29 09:26:59 +10:00
Dylan Araps
9175a47a3c packages: Fix issues with pacman 5.1. Remove needless call to pkginfo on Linux. 2018-05-29 09:16:45 +10:00
Dylan Araps
15cd3b3e07 gpu: Remove glxinfo usage. Too slow. 2018-05-29 09:08:32 +10:00
Dylan Araps
ec29e74406 cpu: Simplify cpu_cores 2018-05-29 08:48:03 +10:00
Dylan Araps
a2769a93ed image: Fixed images in kitty on macOS. Closes #994 2018-05-28 18:51:41 +10:00
Dylan Araps
8e3be5204d docs: update 2018-05-28 11:08:06 +10:00
Dylan Araps
b02ed9fff2 image: Fixed kitty image size. 2018-05-28 10:28:14 +10:00
Dylan Araps
29aabc97fa docs: update 2018-05-28 09:47:17 +10:00
Dylan Araps
8707a49f04 docs: update 2018-05-28 09:46:08 +10:00
Dylan Araps
b981fb50fa image: Fixed tycat size. 2018-05-28 09:33:47 +10:00
Dylan Araps
e04302ccec docs: update 2018-05-28 09:27:55 +10:00
Dylan Araps
92ecdf0012 image: Removed catimg support. Fixed sixel size. 2018-05-28 09:27:41 +10:00
Dylan Araps
e2274fddd8 Merge branch 'master' of github.com:dylanaraps/neofetch 2018-05-28 08:42:48 +10:00
Dylan Araps
ba9c7bba23 docs: update 2018-05-28 08:42:35 +10:00
Dylan Araps
a4ca62cf5a Merge pull request #1007 from mstraube/song-config
song: sort players in config
2018-05-26 08:34:19 +00:00
Michael Straube
fca688dd12 song: sort players in config 2018-05-26 10:21:08 +02:00
Dylan Araps
e6b8f4f64f song: Use newlines as a separator directly. 2018-05-26 09:14:28 +10:00
Dylan Araps
8554f42345 song: Remove locale override. 2018-05-26 06:55:25 +10:00
Dylan Araps
2a13d62c0c song: Use ascii characters to split fields. 2018-05-26 06:54:38 +10:00
Dylan Araps
3ad38d7c95 docs: update 2018-05-25 16:08:41 +10:00
Dylan Araps
01ef60445e song: Use regex for matching. 2018-05-25 15:13:10 +10:00
Dylan Araps
160276ff6d general: Fix prompt issues 3 2018-05-25 06:51:06 +10:00
Dylan Araps
77282c8fea general: revert Fix prompt issue 2 2018-05-25 06:07:42 +10:00
Dylan Araps
bff6cf3b1a general: Fix prompt issues 2 2018-05-25 06:05:31 +10:00
Dylan Araps
e8ab52de7d Merge pull request #1003 from dylanaraps/song_fix
song: Fix matching
2018-05-24 08:43:32 +00:00
Dylan Araps
b4fc29e6f6 Merge pull request #962 from dylanaraps/ati
gpu: Fix ATI/AMD branding issue.
2018-05-24 07:58:45 +00:00
Dylan Araps
c64b5c3d8c general: clean up 2018-05-24 16:55:10 +10:00
Dylan Araps
0f0d9aa84f Merge branch 'master' of github.com:dylanaraps/neofetch 2018-05-24 16:51:34 +10:00
Dylan Araps
6991b71ccb general: Added json output option. 2018-05-24 16:51:23 +10:00
Andrew Titmuss
de0d342852 Revert "Revert "term_font: fix iTerm2 checking 2 more profiles than exists""
This reverts commit f49919e957.
2018-05-24 15:46:38 +10:00
Dylan Araps
33d6dd760f song: Fix matching 2018-05-24 15:36:04 +10:00
Dylan Araps
130b7028ef song: Fix matching 2018-05-24 15:33:13 +10:00
Andrew Titmuss
f49919e957 Revert "term_font: fix iTerm2 checking 2 more profiles than exists"
This reverts commit 15c2939779.
2018-05-24 14:27:39 +10:00
Andrew Titmuss
5143b20ce1 font: fix line length for iTerm2 profile count 2018-05-24 13:55:09 +10:00
Andrew Titmuss
d6d6e6ea63 docs: update [skip ci] 2018-05-24 13:50:05 +10:00
Andrew Titmuss
15c2939779 term_font: fix iTerm2 checking 2 more profiles than exists 2018-05-24 13:46:35 +10:00
Andrew Titmuss
5756eb97f2 song: fix iTunes detection 2018-05-24 12:46:47 +10:00
Dylan Araps
14981205c6 docs: update 2018-05-24 08:52:55 +10:00
Dylan Araps
dfc8b10ee4 general: Fix cursor location errors. 2018-05-24 08:07:37 +10:00
Dylan Araps
38762182e8 docs: update 2018-05-22 19:44:14 +10:00
Dylan Araps
3ee0980aac Merge branch 'master' of github.com:dylanaraps/neofetch 2018-05-22 14:38:50 +10:00
Dylan Araps
3f021fbbb6 misc: cleanup 2018-05-22 14:14:17 +10:00
Dylan Araps
8e99bc6e5f Merge pull request #1002 from mstraube/redcore
OS: Add support for Redcore Linux
2018-05-21 14:03:28 +00:00
Michael Straube
dc9334b7f1 OS: Add support for Redcore Linux 2018-05-21 11:03:36 +02:00
Dylan Araps
070651e4f4 general: Remove screenshot functionality. 2018-05-21 12:46:05 +10:00
Dylan Araps
6aba54154c misc: Remove uppercase() 2018-05-21 10:26:46 +10:00
Dylan Araps
c5188a891f config: Remove support for deprecated options. 2018-05-21 10:23:01 +10:00
Dylan Araps
6bf7f9452e misc: Remove all instances of export. They're pointless. 2018-05-21 10:14:35 +10:00
Dylan Araps
4895ed33b1 misc: cleanup 2018-05-21 10:08:43 +10:00
Dylan Araps
8ad455a1ce docs: update 2018-05-21 09:35:07 +10:00
Dylan Araps
aed206b5d7 docs: update 2018-05-21 08:32:28 +10:00
Dylan Araps
a27382d21d image: Make the resolution of catimg configurable. 2018-05-21 08:29:50 +10:00
Dylan Araps
0fe972073f image: Cleanup of get_term_size 2018-05-21 08:24:32 +10:00
Dylan Araps
fc229704c8 general: term_size, macos fix. 2018-05-20 15:36:54 +10:00
Dylan Araps
c4bf54db3d ascii: Fix ascii art on windows. 2018-05-20 14:22:26 +10:00
Dylan Araps
7b1b3755a9 general: Fix issues with default config. 2018-05-20 13:59:14 +10:00
Dylan Araps
cb68508be2 general: Fix issues with default config. 2018-05-20 13:56:24 +10:00
Dylan Araps
7a4492c6c3 ascii: Fix ascii art on windows. 2018-05-20 13:50:10 +10:00
Dylan Araps
1f678f8020 version: bump 2018-05-20 08:03:12 +10:00
Dylan Araps
e4c1732c01 docs: update 2018-05-20 07:59:01 +10:00
Dylan Araps
c9bda1dd09 docs: update 2018-05-20 07:56:46 +10:00
Dylan Araps
c814f14726 general: Fix issues with default config. 2018-05-19 20:38:45 +10:00
Dylan Araps
992d0b38ae general: Added --print_config to display the default config file. 2018-05-19 08:28:10 +10:00
Dylan Araps
c782af6a06 Merge branch 'master' of github.com:dylanaraps/neofetch 2018-05-19 08:06:22 +10:00
Dylan Araps
80299bd064 macOS: Fix xquartz issue. 2018-05-19 08:06:05 +10:00
Dylan Araps
c69e5ef041 docs: update 2018-05-18 16:26:22 +10:00
Dylan Araps
19d35b995d docs: update 2018-05-18 16:25:46 +10:00
Dylan Araps
0d89e1a400 gpu: Fix ATI/AMD branding issue. 2018-04-25 11:42:11 +10:00
Dylan Araps
da94f65b8c gpu: Fix ATI/AMD branding issue. 2018-04-25 11:39:03 +10:00
6 changed files with 1839 additions and 1683 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 -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

View File

@@ -7,13 +7,142 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
**Contributors**
- [**@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)
**Info**
- **Shell**: Fixed output for mksh [**@nero**](https://github.com/nero)
- **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)
- **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)
**ASCII**
- Fixed a bug where ASCII logo changes the terminal foreground color. [**@plgruener**](https://github.com/plgruener)
- 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)
## [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 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**
- **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.
@@ -2662,7 +2791,10 @@ Changelog:
Let me know if you're having issues.
[Unreleased]: https://github.com/dylanaraps/neofetch/compare/4.0.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

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

@@ -1,16 +1,16 @@
<h1 align="center"><img src="https://i.imgur.com/JFxwJtU.png" alt="logo" height="50px"></h1>
<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>
<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://www.patreon.com/dyla"><img src="https://img.shields.io/badge/donate-patreon-yellow.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>
<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="700px">
</a>
<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.
@@ -18,14 +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.
<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">
### 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)\]
### 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
@@ -42,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
@@ -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-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**

3266
neofetch

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +1,10 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
.TH NEOFETCH "1" "May 2018" "Neofetch 4.0.1" "User Commands"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8.
.TH NEOFETCH "1" "January 2019" "Neofetch 5.0.1" "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
@@ -124,12 +147,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
@@ -144,6 +161,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
@@ -191,23 +211,22 @@ Possible values: bar, infobar, barinfo, off
.TP
\fB\-\-backend\fR backend
Which image backend to use.
Possible values: 'ascii', 'caca', 'catimg', 'jp2a', 'iterm2', 'off',
Possible values: 'ascii', 'caca', '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.
.TP
\fB\-\-iterm2\fR source
Shortcut to use 'iterm2' backend.
.TP
@@ -233,7 +252,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/'
@@ -264,8 +283,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
@@ -305,19 +322,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
@@ -326,6 +330,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