Commit graph

353 commits

Author SHA1 Message Date
Dylan Araps
4ca2a14cd8 Merge pull request #209 from dylanaraps/wmtheme
Implement Window Manager Theme
2016-04-01 20:37:40 +11:00
Dylan
9e420a9b27 Guess we can't reduce the size of this 2016-04-01 19:55:18 +11:00
Dylan
e2e3e4fd77 Fix detection on deepin 2016-04-01 18:46:37 +11:00
Dylan
82e4fce63b Fix Linux Mint detection 2016-04-01 18:34:06 +11:00
Dylan
3bcfe6691b Cleanup 2016-04-01 18:27:00 +11:00
Dylan
45e632e2bc Openbox detection, Add support for LXDE 2016-04-01 18:12:43 +11:00
Dylan
399747a5e2 Fix a distro detection bug when '/etc/*ease' doesn't use quotes 2016-04-01 18:01:24 +11:00
Dylan
4184c17507 Better implementation of envar check 2016-04-01 17:38:06 +11:00
Dylan
50d8a44a6d Don't hardcode '/home/dyl/.config', use '' if available 2016-04-01 09:47:48 +11:00
Dylan
68c5fdb37e Add wildcards to dix wm matching 2016-04-01 09:40:28 +11:00
Dylan
4c54da56b7 Move windows theme to wmtheme 2016-04-01 14:53:31 +11:00
Dylan
c8e8cf5f99 Add support for kwin 2016-04-01 14:50:15 +11:00
Dylan
1ce7a904d1 Wmtheme add support for more window managers 2016-04-01 14:42:38 +11:00
Dylan
d8f2dd2286 Add support for FluxBox 2016-04-01 11:47:16 +11:00
Dylan
dd5a5f02db Move OS X detection to the bottom 2016-04-01 11:44:20 +11:00
Dylan Araps
47132728da Merge pull request #210 from iandrewt/wmtheme_osx
added OS X support to wmtheme
2016-04-01 11:43:20 +11:00
Dylan
95bda4827c Add E17 support for wmtheme 2016-04-01 11:41:49 +11:00
Andrew Titmuss
8d602f1afe added OS X to wmtheme 2016-04-01 11:41:27 +11:00
Dylan
a1047bd3d1 Added support for E16 2016-04-01 11:39:53 +11:00
Dylan
7f3c7f07e5 Add support for Deepin 2016-04-01 11:36:19 +11:00
Dylan
6446660155 Add support for more WM themes 2016-04-01 11:35:26 +11:00
Dylan
3c22c86e38 Add support for more WMs 2016-04-01 11:33:14 +11:00
Dylan
dda8d6cb20 Better approach 2016-04-01 11:28:56 +11:00
Dylan
3f3487764c Case wm theme 2016-04-01 11:26:59 +11:00
Dylan
ebcf6fb0fc WM theme base 2016-04-01 11:23:23 +11:00
Dylan
134cbfc958 Revert bar changes 2016-03-31 22:26:34 +11:00
Dylan
ea2482c7d7 Added hardcoded DE detection for OS X 2016-03-31 20:26:20 +11:00
Dylan
a9d92d3def Travis also print 7 2016-03-31 20:05:36 +11:00
Dylan
676710ca72 Fix color blocks in Travis and older terminal emulators' 2016-03-31 19:57:57 +11:00
Dylan
2d9764baff Suppress errors in output 2016-03-31 19:43:11 +11:00
Dylan
4da69c6f40 Changes to the public ip function 2016-03-31 19:37:18 +11:00
Dylan
292ba8fc52 Fixes #204 2016-03-31 10:35:56 +11:00
Dylan Araps
96e19a59cf Merge pull request #201 from dylanaraps/cache
Implement caching for info.
2016-03-30 22:16:31 +11:00
Dylan
aa18135b24 Revert CPU cache 2016-03-30 19:43:38 +11:00
Dylan
7c6fcb789f Add cache support for CPU 2016-03-30 19:39:03 +11:00
Dylan
c2557873fc "--clean" remove cache folder and files 2016-03-30 19:30:37 +11:00
Dylan
8ef9c1b4c3 Move cache to /Library/Caches on OS X 2016-03-30 19:24:03 +11:00
Andrew Titmuss
f341c8163d made maths part smaller 2016-03-30 19:11:46 +11:00
Andrew Titmuss
5ca8f8cc81 made OS X packages SUPER fast 2016-03-30 18:50:24 +11:00
Dylan
90fd0cf1be Move more lines into the cache block 2016-03-30 14:14:51 +11:00
Dylan
53505207eb Only cache OS X GPU output 2016-03-30 14:13:40 +11:00
Dylan
ab09bf9670 Implement cache function and add caching for GPU 2016-03-30 14:00:13 +11:00
Dylan
aff2e634c4 Line wrap is now disabled by default 2016-03-30 11:40:38 +11:00
Dylan Araps
88e11de4ed Merge pull request #200 from dylanaraps/image_fixes
Image fixes
2016-03-30 10:25:19 +11:00
Dylan
f62994a49c Remove 'image_backend' as we now detect it automatically 2016-03-30 10:22:29 +11:00
Dylan
d7bf5da48e Hardcode iterm2 mode to iterm2 2016-03-30 10:20:06 +11:00
Dylan
ec9bfefbf3 Fix lint errors 2016-03-30 10:14:34 +11:00
Dylan
e55680a010 Remove broken fallback 2016-03-30 09:57:27 +11:00
Dylan
c9e6e7ada0 Merge branch 'master' of github.com:dylanaraps/neofetch 2016-03-30 09:45:09 +11:00
Dylan
97f0b601c7 If intel gpu is detected change gpu to 'Intel Integrated Graphics' 2016-03-30 09:44:46 +11:00
Dylan
b731234be6 Trying to find a fallback for iterm2 image rendering 2016-03-30 09:41:43 +11:00
Dylan Araps
8dd6e98c93 Merge pull request #198 from dylanaraps/misc_fixes
Misc fixes
2016-03-30 09:31:20 +11:00
Dylan Araps
b3dc18799c Merge pull request #197 from dylanaraps/color_func
Use color function instead of harcoding escape sequences
2016-03-29 23:47:14 +11:00
Dylan
a83062f1bb Tweaks 2016-03-29 23:31:08 +11:00
Dylan
38e316733b Misc fixes 2016-03-29 23:14:35 +11:00
Dylan
1c715109fd Fixed issues when progress colors weren't set to 'distro' 2016-03-29 23:02:23 +11:00
Dylan
e7b6d90754 Fix broken cursor height in image mode 2016-03-29 22:57:33 +11:00
Dylan Araps
3a5f63c242 Merge pull request #196 from dylanaraps/ascii
Use awk to get ascii size.
2016-03-29 22:41:37 +11:00
Dylan
9d20bb67cd Fix progress bars 2016-03-29 22:36:40 +11:00
Dylan
bfac607589 Use color function instead of harcoding escape sequences 2016-03-29 21:04:31 +11:00
Dylan
c9bb5988da Color ascii logos using the forground color too 2016-03-29 19:54:09 +11:00
Dylan
1fd6cd5b00 If the title color is white then use foreground color 2016-03-29 19:48:25 +11:00
Dylan
864795da7d Reset highlighting before coloring progress bars 2016-03-29 19:32:46 +11:00
Dylan
9b58b7cdb7 Clear highlighting before setting colors 2016-03-29 18:28:26 +11:00
Dylan
3ea3451417 Add travis condition 2016-03-29 18:25:11 +11:00
Dylan
feb2a32db1 Remove pointless brackets 2016-03-29 18:20:48 +11:00
Dylan
213f23c7c4 Add +1 to the height 2016-03-29 18:19:34 +11:00
Dylan
47eba49457 Swap to a portable way of getting the ascii size' 2016-03-29 18:17:30 +11:00
Dylan
a1d409046a Rename variables so they're clearer 2016-03-29 18:04:36 +11:00
Dylan
5c6b680a1e Get ascii size in a single wc call 2016-03-29 17:57:22 +11:00
Dylan
059eb0eec0 Don't get CPU usage if we're not going to use it 2016-03-29 17:11:36 +11:00
Dylan
97fc5f34b7 Don't use as many ps flags 2016-03-29 10:04:59 +11:00
Dylan
d1a8fb9037 Fix OS X wallpaper detectiob 2016-03-29 11:40:30 +11:00
Dylan
2c881c11f5 Fix broken terminal 2016-03-29 11:11:28 +11:00
Dylan
e0e4ec46b2 Merge branch 'master' of github.com:dylanaraps/neofetch 2016-03-29 11:06:41 +11:00
Dylan
12d7162a2e Use stty instead of read \-s 2016-03-29 11:06:29 +11:00
Andrew Titmuss
64dc636e48 fixed resolution output when refresh rate not available 2016-03-28 17:19:06 +11:00
Dylan
9a7a21d18a More gpu substitutions 2016-03-28 14:32:00 +11:00
Dylan
f358f25e8a Add 2 dummy numbers to mem function 2016-03-28 09:47:38 +11:00
Dylan
e2ae78c898 Merge Windows/Linux memory functions 2016-03-28 09:41:53 +11:00
Dylan
a6bcaab30a Remove highlight reset from progress bars and rebase 2016-03-27 21:42:26 +11:00
Dylan
35d120c25d Restrict progress bar colors to darker shades' 2016-03-27 21:34:41 +11:00
Dylan
951ed1169c Use '' instead of '' for coloring since '' has a lower chance of being white 2016-03-27 21:34:41 +11:00
Dylan
3ac52b1717 Don't let total bar be white 2016-03-27 21:34:41 +11:00
Dylan
c51f7cdac3 Color progress bars based on distro logo colors 2016-03-27 21:34:41 +11:00
Dylan
200faf2e1d Default text colors now work on bright colorschemes 2016-03-27 21:33:11 +11:00
Dylan
f19617cef9 Don't clear highlighting 2016-03-27 21:07:57 +11:00
Dylan
3bb8ee2ae4 Enable more options for test mode and fix bug with memory bar on linux 2016-03-27 20:28:43 +11:00
Andrew Titmuss
a0d409f15e made OS X resolution block smaller 2016-03-27 20:13:32 +11:00
Andrew Titmuss
9779e91672 made resolution way faster on OS X 2016-03-27 19:50:09 +11:00
Dylan Araps
9161b8a1a1 Merge pull request #187 from dylanaraps/cpu_whitespace
Fix huge whitespace in CPU output
2016-03-27 15:22:25 +11:00
Dylan
0805fb5e3a Fix bugs with OpenBSD 2016-03-27 15:21:11 +11:00
Dylan
19b3c22b37 Fix windows whitespace 2016-03-27 15:09:59 +11:00
Dylan
8298f64394 Fix windows displaying a blank battery output when no battery is found 2016-03-27 15:05:43 +11:00
Dylan
3496c85248 Fix stray + sign in birthday output' 2016-03-27 15:04:44 +11:00
Dylan
df945f51a9 Revert tab changes 2016-03-27 14:59:49 +11:00
Dylan
ea1d2d2341 Also remove trailing tab characters 2016-03-27 14:56:43 +11:00
Dylan
5f2047fd0b More reliable whitespace removal 2016-03-27 14:50:00 +11:00
Dylan
423af0cd48 Use extended globbing instead of tr 2016-03-27 14:13:27 +11:00
Dylan
6296cf7410 Use tr on OSX to trim whitespace 2016-03-27 14:05:22 +11:00