Commit graph

1092 commits

Author SHA1 Message Date
Dylan Araps
0934f147b9 Merge pull request #428 from dylanaraps/noeval
General: Remove all eval usage
2016-11-09 10:53:21 +11:00
Dylan Araps
9311e7310d Ascii: Finish converting ascii art 2016-11-08 20:50:39 +11:00
Dylan Araps
44f8168088 Ascii: Convert more ascii 2016-11-08 20:30:05 +11:00
Dylan Araps
82db41d8ab Ascii: --ascii_disitro now also sets the mode to ascii 2016-11-08 07:10:03 +11:00
Dylan Araps
6c7501eb20 General: Supress xrdb error 2016-11-08 07:05:14 +11:00
Dylan Araps
174eb66b56 Remove all eval usage 2016-11-07 17:54:38 +11:00
Dylan Araps
12e2a8b03b Merge branch 'master' of https://github.com/dylanaraps/neofetch 2016-11-07 17:01:23 +11:00
Dylan Araps
ba0404e399 General: Remove eval from info() 2016-11-07 17:01:10 +11:00
Dylan Araps
6f07012bef Misc: Fix lint errors 2016-11-06 23:00:09 +11:00
Dylan Araps
880e6a43f2 Misc: Combine tests 2016-11-06 22:12:35 +11:00
Dylan Araps
95d2eea0f3 General: Swap to double bracket tests everywhere 2016-11-06 22:01:58 +11:00
Dylan Araps
d91361138a Misc: Fix failing build 2016-11-06 21:37:13 +11:00
Dylan Araps
730a8b0290 Fix quote syntax errors 2016-11-06 21:32:29 +11:00
Dylan Araps
6b0a9ebf94 Misc: Quote unquoted vars 2016-11-06 21:21:23 +11:00
Dylan Araps
e94a57c8c4 Misc: Fix some if empty tests 2016-11-06 20:46:41 +11:00
Dylan Araps
29b7fd589e Misc: Fix uname being run 3 times on iOS 2016-11-06 20:34:51 +11:00
Dylan Araps
c607101099 Misc: Fix scrot 2016-11-06 20:16:50 +11:00
Dylan Araps
42bcad1b02 Misc: Fix bold=off not working 2016-11-06 20:12:25 +11:00
Dylan Araps
a3a8fea94f Misc: Quote unquoted vars 2016-11-06 20:11:12 +11:00
Dylan Araps
3a2bcaebb9 Misc: Remove stray line 2016-11-06 20:07:01 +11:00
Dylan Araps
ec830128c8 Merge master 2016-11-06 20:05:11 +11:00
Dylan Araps
b00928aeb6 Merge master 2016-11-06 20:04:49 +11:00
Dylan Araps
4b16e28998 Grep: Take advantage of -F and -e to speedup grep 2016-11-06 20:04:24 +11:00
Dylan Araps
fec45f7a75 General: Function cleanup 2016-11-06 18:06:23 +11:00
Dylan Araps
37dd5d5741 General: Function cleanup 2016-11-06 17:35:59 +11:00
Dylan Araps
5288a609e5 General: Function cleanup 2016-11-06 17:08:09 +11:00
Dylan Araps
ba0c7e441f General: Cleanup info() 2016-11-06 16:25:53 +11:00
Dylan Araps
cd41ef4e0d General: Added support for iPhone 7 / 7 Plus 2016-11-06 11:27:43 +11:00
Dylan Araps
97f7617458 Images: Fix images in ST 2016-11-06 10:23:27 +11:00
Dylan Araps
84c0803f77 Merge #421: Fix multi gpu detection on Linux 2016-11-06 10:15:43 +11:00
Dylan Araps
954b0ee203 Merge master 2016-11-06 10:09:17 +11:00
Dylan Araps
931a50be31 Distro: Added support for DracOS 2016-11-06 10:05:18 +11:00
Dylan Araps
c2e86a505f Remove useless redirection 2016-11-05 15:06:45 +11:00
Dylan Araps
306fe9caa6 Memory: [Haiku] Simpler memory command 2016-11-05 12:03:00 +11:00
Dylan Araps
03aebe277c Merge #414 2016-11-05 11:53:18 +11:00
Dylan Araps
e9059f8e24 Disk: Disable disk in Haiku 2016-11-05 11:51:05 +11:00
Dylan Araps
09aa5b9ba9 Haiku: Fix battery again 2016-11-05 11:51:05 +11:00
Dylan Araps
fd8994b938 Haiku: Fix battery usage 2016-11-05 11:51:05 +11:00
Dylan Araps
68a14e5b1f Haiku: Added battery support 2016-11-05 11:51:05 +11:00
Dylan Araps
f637bbfe7b Merge #419 2016-11-05 11:46:08 +11:00
Dylan Araps
8711f1bfaf Merge pull request #423 from dylanaraps/tux
Ascii [Linux] Add tux ascii art if distro ascii art doesn't exist
2016-11-05 11:05:38 +11:00
Dylan Araps
fbedf02007 Merge branch '2.0' of https://github.com/dylanaraps/neofetch into 2.0 2016-11-05 11:04:57 +11:00
Dylan Araps
040a964833 Merge master 2016-11-05 11:04:52 +11:00
Dylan Araps
8bcfa43089 Ascii [Linux] Add tux ascii art if distro ascii art doesn't exist 2016-11-05 10:29:21 +11:00
Dylan Araps
a14cba7068 Terminal Font: Add HyperTerm support 2016-11-05 09:52:11 +11:00
Jorge Gonzalez
1830f9651b macOS Sierra (HyperTerm): Add termfont detection 2016-11-04 17:44:44 -04:00
Jorge Gonzalez
a63a6a6b1d macOS Sierra (HyperTerm): Add terminal detection 2016-11-04 17:44:12 -04:00
Dylan Araps
9f16ba9aa1 Merge pull request #420 from konimex/ascii
ASCII: Added Korora and Netrunner
2016-11-05 00:37:45 +11:00
Muhammad Herdiansyah
d160a2ee03 ASCII: Added Netrunner 2016-11-04 19:33:16 +07:00
Muhammad Herdiansyah
1fa37fa274 ASCII: Added Korora 2016-11-04 19:33:16 +07:00
Dylan Araps
7fbe91e8e8 General: Fix issue with no info printed if whitespace was in the output 2016-11-04 20:09:27 +11:00
Dylan Araps
edfdbf05a4 Merge pull request #406 from dylanaraps/distro3
Distro: [Linux] Source *ease files
2016-11-04 18:56:36 +11:00
Dylan Araps
564b0f889e Docs: Change version 2016-11-04 18:45:02 +11:00
Dylan Araps
e912d35b34 Remove --test 2016-11-04 17:42:32 +11:00
Dylan Araps
5585eaa8b8 General: If something can't be detected let the user know in verbose mode 2016-11-04 14:49:50 +11:00
Dylan Araps
4cea604b86 Termfont: Simpler awk commands 2016-11-04 13:44:37 +11:00
Dylan Araps
3a0c82ebc5 Merge branch 'master' of https://github.com/dylanaraps/neofetch 2016-11-03 11:14:59 +11:00
Dylan Araps
2b3940adb9 Memory: [OpenBSD] Fix OpenBSD memory usage - @Head-on-a-Stick (Closes #413) 2016-11-03 11:14:34 +11:00
Fredrik Fornwall
7ebd6dacba Android (Termux): Fix default config location 2016-11-02 16:18:45 +01:00
Dylan Araps
bd0dd91973 General: Add support for BlankOn Linux 2016-11-02 17:40:50 +11:00
Dylan Araps
ba4b541167 Image: Fix cursor position in URxvt when using terminal padding 2016-11-02 17:17:09 +11:00
Dylan Araps
5cede165cf WM Theme: Use double quotes 2016-11-02 15:56:00 +11:00
Dylan Araps
e8ab7ea88d Remove stray newline 2016-11-02 15:49:52 +11:00
Dylan Araps
2705f23248 Merge branch 'master' of https://github.com/dylanaraps/neofetch 2016-11-02 14:41:57 +11:00
Dylan Araps
0c28f8c3f6 WM Theme: Don't print Mutter (Budgie) wm theme 2016-11-02 14:41:39 +11:00
Dylan Araps
a687096bc2 Merge pull request #411 from konimex/master
Various updates for Android/Termux
2016-11-02 13:29:29 +11:00
Herdiansyah
ebf5f6345a Android (Termux): Fixed ASCII not appearing 2016-11-02 08:21:15 +07:00
Dylan Araps
651d38c949 Theme: Misc fixes 2016-11-02 10:16:16 +11:00
Dylan Araps
1505ed5d68 Theme: [Budgie] Fix incorrect GTK Theme/Icons 2016-11-02 10:10:40 +11:00
Dylan Araps
013e9d6652 Termfont: [Linux] Fix whitespace issue 2016-11-02 09:52:46 +11:00
Dylan Araps
453a38d79f Images: Fix Division by 0 error. Closes #410 2016-11-02 09:44:25 +11:00
Dylan Araps
7b2dcea117 Termfont: [Termite] Fix incorrect font choses. Closes #409 2016-11-02 09:39:37 +11:00
Dylan Araps
462d4c594a prin: Fix bold not working, Add prin tests to travis 2016-11-02 00:54:52 +11:00
Dylan Araps
00f22df3c8 prin: Revert bold fix 2016-11-02 00:41:52 +11:00
Dylan Araps
6ada4c7fb8 prin: Fix bold not working, Fix color breakage. Closes #407 2016-11-02 00:37:54 +11:00
Dylan Araps
e0fff44cce Distro: [Linux] Fallback only print first line 2016-11-01 23:23:11 +11:00
Dylan Araps
dcdf6190c8 Distro: [Linux] Fix incorrect quoting 2016-11-01 23:09:21 +11:00
Dylan Araps
b1b6226189 Distro: [Linux] Fix fallbacks not working 2016-11-01 23:05:30 +11:00
Dylan Araps
29ccbb2a31 Remove stray line 2016-11-01 23:00:14 +11:00
Dylan Araps
d45002ca15 Distro: [Linux] Also look in /usr/lib/*ease 2016-11-01 22:47:27 +11:00
Dylan Araps
f8f50f6b1d Distro: [Linux] Source /etc/*ease files 2016-11-01 22:43:22 +11:00
Dylan Araps
a37a3eec31 Update docs 2016-11-01 17:57:08 +11:00
Dylan Araps
921f0975f1 General: Red Star OS fixes 2016-11-01 11:43:06 +11:00
Kim Myung-ki
85eef19406 레드 스타 OS에 대한 도움 탐지
친애하는 지도자 김정일의 위대한 후계자가 김정은이 프로그램 neofetch에
영광스러운 붉은 별의 검출을 추가 요구했다, 당신은 더 나은 자신의
명령을주의 나 기회가 될!

Signed-off-by: Korea Computer Center <admin@kcc.net.kp>
2016-10-31 23:22:51 +07:00
Muhammad Herdiansyah
c47d095a38 Expanded distro_shorthand to *BSDs 2016-10-31 20:47:32 +07:00
Dylan Araps
dcf51866ec Merge branch 'master' of https://github.com/dylanaraps/neofetch 2016-10-31 14:57:22 +11:00
Dylan Araps
194c7b500d Images: Use \033[14t before falling back to external programs 2016-10-31 14:57:04 +11:00
Muhammad Herdiansyah
2f46385cf0 GPU: Used FreeBSD's method for DragonFlyBSD and PacBSD 2016-10-30 23:40:52 +07:00
Dylan Araps
e408e6f8d7 Kernel: Remove kernel_shorthand tiny 2016-10-30 20:55:14 +11:00
Dylan Araps
c667fca505 Kernel: Hardcode kernel_shorthand=tiny on BSD systems 2016-10-30 17:40:43 +11:00
Dylan Araps
5959cb1b93 Image: If terminal size is less than or equal to 10 fallback to ascii mode 2016-10-30 14:20:01 +11:00
Dylan Araps
0be5f01291 Image: If terminal width is 0, fallback to ascii mode 2016-10-30 14:08:48 +11:00
Dylan Araps
0a2c9a5a6b Misc: Don't uppercase Terminal and WM output 2016-10-29 16:50:48 +11:00
Dylan Araps
ec0ed23d11 Term: Add a fallback to ps. 2016-10-29 16:02:24 +11:00
Dylan Araps
a06329db1b getterm: Use /proc/$PPID/comm instead of ps 2016-10-29 15:19:04 +11:00
Dylan Araps
7c327683a8 Kernel: Print kernel name by default 2016-10-29 14:33:36 +11:00
Dylan Araps
0871c362ef Windows 10 (bash): Fix battery 2 2016-10-29 11:47:00 +11:00
Dylan Araps
7735fb02a5 Windows 10 (bash): Fix battery usage 2016-10-29 11:41:50 +11:00
Dylan Araps
63198a2209 Uptime: Remove 'up' 2016-10-27 09:45:55 +11:00
Dylan Araps
51354b2235 Merge pull request #322 from dylanaraps/android2
Add Android support 2
2016-10-27 09:30:23 +11:00
Dylan Araps
b8502a8b44 Ascii: Fix colors on light terminals 2016-10-27 08:20:20 +11:00
Dylan Araps
e8e859b590 Merge master 2016-10-27 08:09:08 +11:00
Dylan Araps
785a22520b Merge pull request #398 from dylanaraps/gpu
GPU: [Linux] Rewrite GPU
2016-10-26 23:50:57 +11:00
Dylan Araps
64b8e02812 Fix 2016-10-26 23:50:54 +11:00
Dylan Araps
8cbf7e7feb Remove GPU shorthand 2016-10-26 23:41:17 +11:00
Dylan Araps
4e7955bc94 Cache GPU output 2016-10-26 23:22:08 +11:00
Dylan Araps
b2d17711f9 GPU: Add brand 2016-10-26 23:16:57 +11:00
Dylan Araps
0177837f69 GPU: Start rewrite 2016-10-26 22:48:20 +11:00
Dylan Araps
eee8ac7f8e Merge pull request #396 from dylanaraps/song
Song: Rewrite song function
2016-10-26 21:20:05 +11:00
Dylan Araps
6f41167eb5 Song: Fix iTunes 2 2016-10-26 21:18:46 +11:00
Dylan Araps
9889ba14cb Song: Fix iTunes 2016-10-26 21:04:58 +11:00
Dylan Araps
314c254794 Docs: misc 2016-10-26 18:24:37 +11:00
Dylan Araps
bf67d5be11 Docs: Remove battery options 2016-10-26 18:23:15 +11:00
Dylan Araps
43ac9dfcb2 Docs 2016-10-26 18:22:08 +11:00
Dylan Araps
0c41c285a7 Fix processes with paths in name' 2016-10-26 18:09:59 +11:00
Dylan Araps
b23ccd6709 Battery: [Linux] Rewrite battery 2016-10-26 17:56:50 +11:00
Dylan Araps
931660d31a Remove pointless if
"
2016-10-26 15:38:45 +11:00
Dylan Araps
efa55b28b0 Rewrite getsong 2016-10-26 15:18:11 +11:00
Dylan Araps
252d56ab49 Reduce sise of iOS GPU function 2016-10-26 11:29:46 +11:00
Dylan Araps
fa312af1ee Misc fixes/changes 2016-10-26 11:18:37 +11:00
Dylan Araps
cc9095ccd5 Refactor GPU 2016-10-25 10:39:56 +11:00
Dylan Araps
ab1de702f9 Distro: Simplify shorthand for lsb_release 2016-10-25 10:30:41 +11:00
Dylan Araps
192014ca9f Model: Remove useless use of cat 2016-10-25 10:25:10 +11:00
Muhammad Herdiansyah
e92e691751 SUSE: Changed ASCII behavior
In SUSE's `lsb_release`, they have different behavior for `-ir` and
`-d`, one output will be `openSUSE Leap 42.1` and the other will be
`SUSE LINUX 42.1`. This new behavior would also extend compatibility
with SUSE Linux Enterprise.
2016-10-24 22:09:57 +07:00
Dylan Araps
c869e81e3b Fix w3m-img being used even when images were off 2016-10-24 08:53:54 +11:00
Muhammad Herdiansyah
24e7216777 Solaris: Strip out crap from getdistro output 2016-10-23 18:51:12 +07:00
Muhammad Herdiansyah
d39bebb2a4 Solaris: Unified package detection with Linux
Some OpenSolaris/illumos-based distribution used various Linux package
managers such as dpkg, rpm, and portage (see more at
http://wiki.illumos.org/display/illumos/Distributions). It would make
sense for Solaris' case to be unified with Linux.

However, Linux's `pkg` detection (I don't know which distro is that) are
vastly different from Oracle Solaris/OpenIndiana's `pkg`, so a
workaround is used.
2016-10-23 18:51:04 +07:00
Dylan Araps
09a4ac132e Simplify cursor positioning 2016-10-23 14:08:45 +11:00
Dylan Araps
d09cf58790 Cursor Position: Fix issues when using URxvt+Padding 2016-10-23 13:47:49 +11:00
Dylan Araps
5dddaa0b26 GPU: Remove duplicate substitutions 2016-10-23 11:22:17 +11:00
Dylan Araps
f4b266b5c6 CPU Speed: Don't use read 2016-10-23 11:13:40 +11:00
Dylan Araps
49cdb2f95c Linux: Correctly calculate memory usage 2016-10-23 11:03:46 +11:00
Dylan Araps
664556d137 Test mode: Show CPU temp 2016-10-23 09:51:16 +11:00
Dylan Araps
3ef6aeea42 Linux: Add CPU temperature 2016-10-23 09:45:03 +11:00
Dylan Araps
6457b3276f Windows: Print DE 2016-10-23 09:07:04 +11:00
Dylan Araps
a59cf169e4 Cmus: Fix broken output, closes #389 2016-10-22 23:14:54 +11:00
Dylan Araps
fe8e15d5d6 Simplify cursor position 2016-10-22 20:25:41 +11:00
Dylan Araps
17d17f4480 Theme: Fix gtk2/3 comparison when whitespace is involved 2016-10-22 19:59:25 +11:00
Dylan Araps
919da27716 Added support for Porteus, closes #388 2016-10-22 15:19:56 +11:00
Dylan Araps
0fb2b661ba Song: Add support for Audacious. @ncmprhnsbl 2016-10-22 15:11:52 +11:00
Dylan Araps
92595e8bc6 Fix cursor artifacts in termux 2016-10-22 10:20:14 +11:00
Dylan Araps
ad3a90219a Fix cursor artifcats in termux 2016-10-22 10:18:38 +11:00
Dylan Araps
fd957835b7 Merge branch 'master' into android2 2016-10-22 10:16:10 +11:00
Dylan Araps
79392d75a9 Sigh 2016-10-22 10:15:47 +11:00
Dylan Araps
d1ef3ab4e8 Merge branch 'master' into android2 2016-10-22 10:11:38 +11:00
Dylan Araps
ad2b18ef07 Count line breaks when calculating cursor position 2016-10-22 10:11:18 +11:00
Dylan Araps
8bc6b2d183 Merge branch 'master' into android2 2016-10-22 09:52:26 +11:00
Dylan Araps
50f87a4233 Fix cursor bugs if ascii art is taller than info 2016-10-22 09:51:58 +11:00
Dylan Araps
0b5d25d9b5 Fix cursor bugs if ascii art is taller than info 2016-10-22 09:49:59 +11:00
Dylan Araps
bb01418dca Merge master 2016-10-22 01:39:31 +11:00