Commit Graph

5119 Commits

Author SHA1 Message Date
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
William Gathoye 679c739724 Add Proxmox VE 2018-07-14 15:32:34 +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