Commit graph

1276 commits

Author SHA1 Message Date
Dylan Araps
4ce470e6b8 Merge pull request #523 from dylanaraps/de
DE: Better Desktop Environment Detection.
2016-12-13 12:04:48 +11:00
Dylan Araps
101d5c5254 DE: Check {GNOME,MATE}_DESKTOP_SESSION_ID 2016-12-13 11:25:00 +11:00
Dylan Araps
c3596680c9 DE: Better DE detection 2016-12-13 11:22:39 +11:00
Jorge Gonzalez
da251b8bc9 Change to one-line if statement 2016-12-12 17:57:49 -05:00
Jorge Gonzalez
6dbdaa4a63
Fix always charging bug 2016-12-12 16:40:03 -05:00
Dylan Araps
a173afb6ec Merge pull request #519 from dylanaraps/main_cleanup
General: Cleanup main
2016-12-12 23:57:06 +11:00
Dylan Araps
a3dc58347a Merge pull request #520 from dylanaraps/scrot2
Scrot: Use arrays for $scrot_program
2016-12-12 23:55:29 +11:00
Dylan Araps
2946e785db Merge pull request #521 from dylanaraps/cmus
Song: [cmus] Simplify block and fix artistsort bug
2016-12-12 23:54:18 +11:00
Dylan Araps
f7274fef87 General: Don't uppercase term font 2016-12-12 18:38:55 +11:00
Dylan Araps
f7e254d0d0 Song: Simplify state detection 2016-12-12 18:27:20 +11:00
Dylan Araps
c0355cea99 Song: [cmus] Simplify block and fix artistsort bug 2016-12-12 18:23:25 +11:00
Dylan Araps
a6e2bc9f8a General: Remove test comment 2016-12-12 18:00:53 +11:00
Dylan Araps
9be91cd8e3 Scrot: Quote unquoted var 2016-12-12 17:59:54 +11:00
Dylan Araps
0e8f6637dc General: Cleanup main 2016-12-12 17:41:35 +11:00
Dylan Araps
d08fdbf0e3 Fix test 2016-12-12 13:14:36 +11:00
Dylan Araps
0674f14125 Cache: Simplify caching 2016-12-12 13:10:08 +11:00
Dylan Araps
b205a4b5f2 Merge pull request #516 from konimex/master
Colors: use start++ instead of adding it manually after case
2016-12-10 23:56:50 +11:00
Muhammad Herdiansyah
66be054f30 Colors: use start++ instead of adding it manually after case 2016-12-10 19:52:07 +07:00
Dylan Araps
1a815a3789 Image: If $image_source is set to ascii display a warning in -v 2016-12-10 20:12:16 +11:00
Dylan Araps
7bd6eda49d Disk: Exit the function if the user doesn't have df installed 2016-12-10 19:22:26 +11:00
Dylan Araps
42cae93481 Fix conflicts 2016-12-09 16:20:10 +11:00
Dylan Araps
75df5c574e Ascii: Fix bug where OS X ascii was used on linux 2016-12-09 16:19:15 +11:00
Dylan Araps
c08ba009d7 General: Instead of running functions multiple time, log it 2016-12-09 15:20:40 +11:00
Dylan Araps
571d0c4df3 Images: Fix blank images in iTerm2, closes #513 2016-12-09 11:52:32 +11:00
Dylan Araps
926dea972b Images: Fix blank images in Iterm2, closes #513 2016-12-09 01:21:08 +11:00
Dylan Araps
d7e7e246e0 Shellcheck: Fix SC2068 and SC2086 2016-12-08 19:50:04 +11:00
Dylan Araps
ff5aaf342f Shellcheck: Fix SC2076 2016-12-08 19:24:58 +11:00
Dylan Araps
9aec102bcf General: cleanup 2016-12-08 19:09:52 +11:00
Dylan Araps
5e76bf8f1c Travis: Don't source files' 2016-12-08 19:09:09 +11:00
Dylan Araps
4d36341475 Travis: Point shellcheck to config files 2016-12-08 19:01:24 +11:00
Dylan Araps
9343a42a07 Version: Bump Neofetch to 2.1.0 2016-12-07 12:25:13 +11:00
Dylan Araps
ae4e2b038d GPU: [Linux + AMD] Remove some OEM stuff from the info 2016-12-07 12:17:08 +11:00
Dylan Araps
d381102f57 Theme: Fix incorrect theme output on Cinnamon 2016-12-07 10:04:59 +11:00
Dylan Araps
8f0bb0fcd3 GPU: Disable caching on all systems but macOS. Fixes #509 2016-12-07 00:54:37 +11:00
Dylan Araps
461a5692ac Version: Bump Neofetch to 2.0.2 2016-12-07 00:45:53 +11:00
Dylan Araps
de614f5bf1 Packages: Revert wc -l optimization 2016-12-07 00:35:27 +11:00
Dylan Araps
b5bc72ac51 General: Bump version number to 2.1 2016-12-06 12:14:13 +11:00
Dylan Araps
afcb210aaa General: Quote string 2016-12-06 12:03:09 +11:00
Dylan Araps
0fd55c5b5c Image: Only call grep once 2016-12-06 11:46:34 +11:00
Dylan Araps
9c9e08f17d Docs: Add notes about ubuntu flavors 2016-12-06 10:32:47 +11:00
Dylan Araps
2f3c749d9c Ascii: Added ascii art for Ubuntu-Budgie 2016-12-06 10:27:44 +11:00
Dylan Araps
0c03b4e4d0 Distro: Added support for Parrot Security 2016-12-06 09:04:23 +11:00
Muhammad Herdiansyah
de91180567 BSD: Use $kernel_name instead of $distro in some functions 2016-12-05 18:07:20 +07:00
Muhammad Herdiansyah
a40c0fd7ad Wallpaper: Expanded support to Solaris and GNU Hurd 2016-12-05 17:36:21 +07:00
Dylan Araps
e2827fefbf Merge pull request #502 from dylanaraps/scrot_auto
Scrot: Automatically detect tools
2016-12-05 20:41:19 +11:00
Dylan Araps
da87d54d72 Image Upload: [teknik] Fix file type 2016-12-05 19:40:56 +11:00
Dylan Araps
cf57ebe7f7 Screenshot: Add support for macOS and Haiku 2016-12-05 15:42:32 +11:00
Dylan Araps
9a04c65c66 Distro: Add support for AOSC OS 2016-12-05 15:25:28 +11:00
Dylan Araps
3f3326ca29 Scrot: Automatically detect tools 2016-12-05 15:14:44 +11:00
Dylan Araps
32adaa3b39 Docs: Added note about old logos 2016-12-05 14:31:56 +11:00
Dylan Araps
daf0e25d4f Wallpaper: Rewrite wallpaper functon. 2016-12-05 13:37:32 +11:00
Dylan Araps
e64a98ec48 Merge pull request #498 from dylanaraps/gpu_fix2
GPU: Fix bug with sound card being detected, closes #491
2016-12-05 12:43:15 +11:00
Dylan Araps
242b2bd589 Memory: [BSD] Remove Free from output 2016-12-05 10:55:56 +11:00
Dylan Araps
4c860aaea4 Memory: [FreeBSD] Fix memory usage 2016-12-05 10:51:00 +11:00
Dylan Araps
13135b698e Memory: [FreeBSD] Rewrite memory functon 2016-12-05 10:30:01 +11:00
Dylan Araps
3b4a1864bd DE: Print Cinnamon version, closes #494 2016-12-05 09:29:41 +11:00
Dylan Araps
e357203c5f Distro: [RFRemix] Use fedora ascii art 2016-12-05 09:24:27 +11:00
Dylan Araps
4d240088be GPU: Fix bug with sound card being detected, closes #491 2016-12-05 09:16:51 +11:00
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