Commit graph

6400 commits

Author SHA1 Message Date
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
b0877d4874 Add OPNsense 2018-07-14 20:43:51 +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
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