Commit graph

1218 commits

Author SHA1 Message Date
Dylan Araps
b5485bea7a Distro add back full lsb_release support. Closes #493 2016-12-05 09:13:19 +11:00
Dylan Araps
c8d5044e2e Distro: Remove DISTRIB_CODENAME 2016-12-04 09:20:38 +11:00
Dylan Araps
3766833329 Distro: Add DISTRIB_CODENAME 2016-12-04 09:14:41 +11:00
Dylan Araps
25fa44b2ef Distro: Use /etc/lsb-release file instead 2016-12-04 08:37:28 +11:00
Dylan Araps
b177d4f6f6 Distro: Add back lsb_release detection 2016-12-04 07:49:27 +11:00
Dylan Araps
989ca16f05 Distro: Added support for SwagArch 2016-12-03 20:44:13 +11:00
Dylan Araps
dfc64f6b19 CPU: Fix incorrect CPU speeds 2016-12-03 19:33:36 +11:00
Dylan Araps
18cfafa998 Model: Remove dummy info 2016-12-03 17:35:11 +11:00
Dylan Araps
19a6357ce9 Image: Fix issue where '--image ascii' didn't work 2016-12-03 17:19:01 +11:00
Dylan Araps
adff1f61ff Merge pull request #486 from dylanaraps/pkg2
Packages: Call wc -l once at the end, instead of multiple times.
2016-12-03 16:55:28 +11:00
Dylan Araps
ff43eb39a5 Ascii: --ascii_colors, don't color text colors 2016-12-03 16:51:56 +11:00
Dylan Araps
394eccecd2 Packages: Only call wc -l once 2016-12-03 16:02:42 +11:00
Dylan Araps
4bdae818b3 Call wc -l once 2016-12-03 15:43:48 +11:00
Muhammad Herdiansyah
63c532f2c5 Kernel: Modify how kernel_shorthand works in BSDs 2016-12-03 11:20:31 +07:00
Dylan Araps
3bf9658ab4 Distro: Added support for Apricity OS, closes #479 2016-12-03 09:46:57 +11:00
Dylan Araps
4118ea0d43 Public IP: Disable caching 2016-12-03 09:10:45 +11:00
Dylan Araps
230b217339 Ascii: Added GoboLinux ascii art 2016-12-02 23:16:47 +11:00
Muhammad Herdiansyah
956c79d0de Distro: Added support for GoboLinux 2016-12-02 18:18:55 +07:00
Dylan Araps
51622c371f Changelog: Clear changelog 2016-12-02 21:05:02 +11:00
Dylan Araps
8193bd6313 Cache: Only cache info if the info exists 2016-12-02 20:39:34 +11:00
Dylan Araps
99c0abc820 Remove comment 2016-12-02 20:35:05 +11:00
Dylan Araps
72c7046a95 Cache: Move cache file source to info function 2016-12-02 20:34:31 +11:00
Dylan Araps
b36528dd80 GPU: Add caching support for all OS 2016-12-02 20:13:43 +11:00
Dylan Araps
7749be4156 General: Add cache dir var 2016-12-02 20:06:43 +11:00
Dylan Araps
8bb7524b95 Merge pull request #472 from konimex/master
Public IP: Add caching
2016-12-02 16:23:09 +11:00
Muhammad Herdiansyah
00447db6d7 Public IP: Add caching 2016-12-02 12:11:39 +07:00
Dylan Araps
739ac2678f Merge pull request #468 from dylanaraps/gpu-fix2
GPU: [Linux] Prefer dedicated card over integrated card.
2016-12-02 12:21:13 +11:00
Dylan Araps
112613410d General: Remove TODO 2016-12-02 09:52:06 +11:00
Dylan Araps
06db0b517b General: Combine test 2016-12-02 09:46:31 +11:00
Dylan Araps
3c5ac7d9ee Distro: Cleanup 2016-12-02 09:33:46 +11:00
Dylan Araps
01882dca04 Wallpaper: Add support for Cinnamon 2016-12-02 09:23:08 +11:00
Dylan Araps
691dc9bad4 GPU: [Linux] lspci, look for 'Display' 2016-11-30 07:06:34 +11:00
Dylan Araps
07c4f9fc52 GPU: Remove comment 2016-11-29 21:20:55 +11:00
Dylan Araps
c62901c203 GPU: Prefer dedicated card over intel card 2016-11-29 21:16:26 +11:00
Dylan Araps
c4271fdc17 Merge pull request #467 from konimex/master
GNU Hurd: Added uptime
2016-11-29 21:16:13 +11:00
Dylan Araps
5466c66053 GPU: Quote case 2016-11-29 20:55:06 +11:00
Muhammad Herdiansyah
4d21fb6397 GNU Hurd: Added uptime
Oops, forgot this one.
2016-11-29 16:46:58 +07:00
Dylan Araps
5890e965b5 Merge pull request #461 from dylanaraps/gpu_fix
GPU: Fix wrong AMD GPU detected
2016-11-29 06:21:06 +11:00
Dylan Araps
0549cfc9aa Windows: Fix wmic bugs 2016-11-28 17:58:10 +11:00
Dylan Araps
b88696568a Merge pull request #464 from konimex/bsdtemp
CPU: Added cpu_temp support for BSDs
2016-11-26 19:42:54 +11:00
Muhammad Herdiansyah
4d939690a8 CPU: Added cpu_temp support for BSDs 2016-11-26 14:48:25 +07:00
Dylan Araps
29cba2234b General: Move functions around 2016-11-26 17:09:14 +11:00
Dylan Araps
1c3db96a8d Color Blocks: Fix issue when cols function is called more than once 2016-11-26 16:20:22 +11:00
Dylan Araps
68b6811a14 Images: [tycat] Handle errors 2016-11-26 12:04:19 +11:00
Dylan Araps
e5aaeee653 GPU: Fix wrong AMD GPU detected 2016-11-26 11:45:40 +11:00
Dylan Araps
b2a70325e9 Packages: Remove /usr/games from PATH to fix issues with pacman game 2016-11-25 23:50:26 +11:00
Dylan Araps
6e8ff7b59f Term: Find parent of 'su' 2016-11-25 18:54:19 +11:00
Dylan Araps
6175d1d33c Args: --disable: Lowercase arguments 2016-11-25 18:34:01 +11:00
Dylan Araps
d3fa82d415 Model: More OEM exclusions 2016-11-25 18:23:13 +11:00
Dylan Araps
05a9251942 Merge pull request #454 from dylanaraps/macos
Resolution: [MacOS] If refresh rate is empty don't append Hz
2016-11-25 14:20:40 +11:00
Dylan Araps
1281d762d0 Memory: Change math to fix possible bug 2016-11-25 13:47:26 +11:00
Dylan Araps
474e0b4ff2 Resolution: [MacOS] If refresh rate is empty don't append Hz 2016-11-25 13:43:35 +11:00
Dylan Araps
0b96b1e4c5 Model: [Linux] Remove more OEM strings 2016-11-25 10:33:56 +11:00
Dylan Araps
b7e6c9931a Merge branch 'master' of https://github.com/dylanaraps/neofetch 2016-11-25 10:29:18 +11:00
Dylan Araps
02143b4323 Scrot: Add a warning when the scrot directory doesn't exist 2016-11-25 10:29:05 +11:00
Muhammad Herdiansyah
7527f2c459 Music: Added support for Pragha 2016-11-24 22:08:52 +07:00
Muhammad Herdiansyah
21201a1abd Music: Added support for Clementine 2016-11-24 22:01:28 +07:00
Dylan Araps
aa6843048f CPU: Hide 'with Radeon * Graphics' 2016-11-24 20:25:30 +11:00
Dylan Araps
cf0499257e Scrot Upload: [imgur] Hardcode client id 2016-11-23 14:12:55 +11:00
Muhammad Herdiansyah
524a43dd33 Distro: Add last fallback if no distro was detected 2016-11-22 07:02:34 +07:00
Dylan Araps
e3feb32a69 Distro: Remove lsb_release block 2016-11-19 16:49:18 +11:00
Dylan Araps
8b0d8dfda2 Packages: Move block 2016-11-19 10:34:29 +11:00
Dylan Araps
98950b4f25 Merge branch 'master' of https://github.com/dylanaraps/neofetch 2016-11-19 10:31:46 +11:00
Dylan Araps
889592f135 Fixes #446: If the ascii art uses gray, style the text white 2016-11-19 10:31:25 +11:00
Muhammad Herdiansyah
87fb0fd5ea Packages: Added package detection for Lunar Linux and TinyCore 2016-11-18 21:41:11 +07:00
Andrew Titmuss
cc641708aa
fix conn time-out with dig 2016-11-17 14:49:55 +11:00
Dylan Araps
08502fa519 Memory: Rename mem* to mem_* 2016-11-17 01:04:01 +11:00
Dylan Araps
c9da0e8e0d Images: Use $XDG_CACHE_HOME if available 2016-11-16 23:30:46 +11:00
Dylan Araps
3de37dc6a0 Distro: Prefer /etc/os-release, break on successful source 2016-11-16 20:16:11 +11:00
Dylan Araps
4fe0dcd63e Merge branch 'master' of https://github.com/dylanaraps/neofetch 2016-11-16 20:01:04 +11:00
Dylan Araps
3aa5ed54d8 Packages: [Solus] If pisi is unavailable, use eopkg 2016-11-16 20:00:07 +11:00
Dylan Araps
794e5fa286 Merge pull request #441 from dylanaraps/gtk
Style: Cleanup get_style
2016-11-16 14:37:14 +11:00
Dylan Araps
7bf2654c76 trim_quotes: Fix bug with only one type of quote being removed 2016-11-16 13:03:45 +11:00
Dylan Araps
6cd4584f67 General: Extend trim_quotes() to the entire script 2016-11-16 12:32:55 +11:00
Dylan Araps
e13c9917f7 Style: Cleanup get_style 2016-11-16 12:20:14 +11:00
Muhammad Herdiansyah
2581fbd8d8 Music: Added support for Lollypop 2016-11-15 21:46:27 +07:00
Muhammad Herdiansyah
7e445aa062 Music: Added support for GNOME Music 2016-11-15 21:46:25 +07:00
Dylan Araps
57d5273806 General: Revert quoting change 2016-11-15 22:50:48 +11:00
Dylan Araps
b759a7a88d General: Rename $version to $bash_version 2016-11-15 22:38:11 +11:00
Dylan Araps
2215fa95bb Docs: Update docs 2016-11-15 22:34:44 +11:00
Dylan Araps
85c4e8ce4a General: Cleanup / Fixes 2016-11-15 22:27:36 +11:00
Dylan Araps
4fd1bbdc30 Distro: Add support for ChaletOS 2016-11-15 22:05:15 +11:00
Dylan Araps
780c30de7d CPU Usage: Wildcard case statement 2016-11-14 01:03:19 +11:00
Dylan Araps
5c7ab93129 CPU: Quote strings 2016-11-14 00:59:29 +11:00
Dylan Araps
322a866b65 cols: Use C-Style for loop instead of while loop 2016-11-14 00:58:26 +11:00
Dylan Araps
200a4ca46e Model: Small fix 2016-11-14 00:43:58 +11:00
Dylan Araps
fccc7609a9 Merge pull request #438 from konimex/asciifallback
Added fallback ASCII for *BSD, Solaris, and GNU (Hurd)
2016-11-13 23:11:05 +11:00
Dylan Araps
26809f8eca Memory: Use simpler math 2016-11-13 22:30:14 +11:00
Muhammad Herdiansyah
5801cd44a1 Added fallback ASCII for *BSD, Solaris, GNU 2016-11-13 18:08:07 +07:00
Dylan Araps
87b2d3178d Docs: Update docs' 2016-11-13 21:37:41 +11:00
Dylan Araps
a7ed58970c Docs: Update docs to change progress to bar 2016-11-13 21:36:24 +11:00
Dylan Araps
2ab56e8570 bold: Rename bold() to get_bold() 2016-11-13 21:29:25 +11:00
Dylan Araps
2d0dbd2878 bar: Rename all progress_ variables to bar_ 2016-11-13 21:20:20 +11:00
Dylan Araps
0a9aa93aad Ascii: More cleanup 2016-11-13 20:58:59 +11:00
Dylan Araps
234ce87aab Ascii: Remove duplicates from get_distro_colors() 2016-11-13 20:41:27 +11:00
Dylan Araps
5511b04940 Ascii: Cleanup ascii functions 2016-11-13 20:21:32 +11:00
Dylan Araps
89c43b1f07 Merge pull request #436 from dylanaraps/image
Images: Rewrite image functions
2016-11-13 20:06:45 +11:00
Dylan Araps
232ac07f3a Err: Use printf instead of echo 2016-11-13 19:54:03 +11:00
Dylan Araps
aba89c8aca Images: Add $image to deprecated flags 2016-11-13 19:44:03 +11:00
Dylan Araps
716afbd937 Images: Misc changes 2016-11-13 19:25:29 +11:00
Dylan Araps
da2708dffc Distro: Add support for Pardus 2016-11-13 18:09:13 +11:00
Dylan Araps
902976e618 Images: Added two new functions to fallback to ascii/off modes 2016-11-13 15:53:52 +11:00
Dylan Araps
e262e30d93 Image: Rename $img to $image 2016-11-13 15:33:28 +11:00
Dylan Araps
a1b79bd33b Images; Rewrite functions 2016-11-13 15:12:22 +11:00
Dylan Araps
5ccbb39fbf Images: Rewrite functions 2016-11-13 00:30:09 +11:00
Dylan Araps
b699989de3 Merge branch 'master' of https://github.com/dylanaraps/neofetch 2016-11-12 19:36:15 +11:00
Dylan Araps
b3161124f2 Generel: Fixes 2016-11-12 19:36:01 +11:00
Dylan Araps
7ac4d56286 General: Fix more shellcheck errors 2016-11-12 13:39:23 +11:00
Dylan Araps
9572d37073 General: Fix more errors 2016-11-12 13:39:20 +11:00
Dylan Araps
ad23439d9d General: Remove stray echo 2016-11-12 11:53:53 +11:00
Dylan Araps
cf60ea9c6f General: Fix all Solaris bugs 2016-11-11 19:14:36 +11:00
Dylan Araps
a208ddc019 General: Cleanup 2016-11-11 18:42:51 +11:00
Dylan Araps
8dc8c97c80 General: Remove $HOSTTYPE since it
's set incorrectly on FreeBSD
2016-11-11 17:01:13 +11:00
Dylan Araps
5ca6d69d28 General: Add a new function called cache_uname 2016-11-11 16:51:23 +11:00
Dylan Araps
09d2ff8b56 Merge pull request #431 from dylanaraps/syntaxfold
General: Remove all fold markers.
2016-11-11 15:52:26 +11:00
Dylan Araps
17406f24f5 Shell: Simplify bash version 2016-11-11 15:42:11 +11:00
Dylan Araps
1b8d8f6eaa General: Cache uname output for use later in the script 2016-11-11 14:25:43 +11:00
Dylan Araps
7a6e1d101e General: Remove fold markers from configs 2016-11-11 11:49:01 +11:00
Dylan Araps
e443656502 General: Swap to syntax folding 2016-11-11 11:15:05 +11:00
Dylan Araps
5dcc423bad General: Remove spaces around math 2016-11-10 00:18:53 +11:00
Dylan Araps
45c75f2cde General: Convert math tests to correct syntax 2016-11-10 00:16:19 +11:00
Dylan Araps
88f7f0af2a Misc: kde_config_dir: If the var exists already, don't run the entire function 2016-11-09 23:22:54 +11:00
Dylan Araps
0f878a24c6 Config: Add new function called old_functions() to add backwards compatibility with old config files 2016-11-09 23:12:26 +11:00
Dylan Araps
551da617ed General: Change all vars/functions to use underscores 2016-11-09 22:40:31 +11:00
Dylan Araps
01cf820822 General: Change all vars/functions to use underlines 2016-11-09 22:33:35 +11:00
Dylan Araps
149d8798c4 Misc: Misc changes 2016-11-09 19:34:43 +11:00
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