Commit graph

691 commits

Author SHA1 Message Date
Dylan Araps
5444ecdf6d Fix padding on Android 2016-08-28 10:49:35 +10:00
Dylan Araps
12ba2f925a Add previous PR 2016-08-28 09:03:40 +10:00
Dylan Araps
71f0575b2b Add ascii art and distro detection 2016-08-28 08:59:11 +10:00
Dylan Araps
f7353a6b64 Model: Add checks for more files 2016-08-27 08:48:43 +10:00
Dylan Araps
198fa7bcd9 Merge pull request #310 from dylanaraps/model2
Add new `model` function to print device model name
2016-08-26 22:16:12 +10:00
Dylan Araps
e3c5bbd8a2 Fix disk on OS X and FreeBSD 2016-08-26 13:03:22 +10:00
Dylan Araps
f5bd9a7841 test 2016-08-26 12:28:33 +10:00
Dylan Araps
93715fb4a9 Simplify cpu core 2016-08-26 12:21:32 +10:00
Dylan Araps
5e32fc6461 Openwrt count packages 2016-08-26 12:17:58 +10:00
Dylan Araps
8250f5052a Fix disk usage and user 2016-08-26 12:07:26 +10:00
Dylan Araps
d41d805f1a read: Use -s flag instead of stty 2016-08-26 11:27:58 +10:00
Dylan Araps
db8aebd216 Swap stty for -s 2016-08-26 11:22:54 +10:00
Dylan Araps
e53e82c9c4 Supress prompt erors 2016-08-26 11:15:27 +10:00
Dylan Araps
2dea28ea2a Fix awk bug on openwrt 2016-08-26 11:10:55 +10:00
Dylan Araps
ad53cc8bfc OpenWRT uptime 2016-08-26 10:19:05 +10:00
Dylan Araps
377b5a048d Fix distro on openwrt 2016-08-25 22:26:22 +10:00
Dylan Araps
c1a867ad22 getcpu: Remove prin usage 2016-08-19 23:05:39 +10:00
Dylan Araps
4420a2cb38 Remove stdout mode 2016-08-19 23:01:18 +10:00
Dylan Araps
595c14a2e4 Fix merge conflicts 2016-08-19 22:47:46 +10:00
Dylan Araps
065b0d21a0 Model (Linux): Use cat to fix issues 2016-08-19 11:25:17 +10:00
Dylan Araps
4b4b0437d9 Also include product name 2016-08-19 11:15:13 +10:00
Dylan Araps
26af24dcc6 Merge branch 'model2' of https://github.com/dylanaraps/neofetch into model2 2016-08-19 10:39:57 +10:00
Dylan Araps
a96420e067 Model: Add BSD support 2016-08-19 10:39:12 +10:00
Dylan Araps
81577799c7 Use stty instead of tput 2016-08-19 10:29:27 +10:00
Dylan Araps
f4e96993d5 Move functions around 2016-08-19 10:09:35 +10:00
Dylan Araps
e254274c24 Cleanup 2016-08-19 10:07:24 +10:00
Dylan Araps
e25a48e1f8 Check OS earlier in the script 2016-08-19 10:05:45 +10:00
Dylan Araps
fa8a1e82ec Cleanup 2016-08-19 10:03:33 +10:00
Dylan Araps
b2ea12d77e Added support for Rosa 2016-08-18 08:10:50 +10:00
Dylan Araps
00215fcbd1 Added OpenWrt ascii art 2016-08-17 10:08:25 +10:00
Muhammad Herdiansyah
346bff1c52 Added Solaris support for model 2016-08-14 17:41:09 +07:00
Dylan Araps
3461b2a029 Model: Added Windows support 2016-08-14 15:23:19 +10:00
Andrew Titmuss
27ebe9a6a7
fixed macOS codename function 2016-08-14 14:33:36 +10:00
Dylan Araps
f805623171 Add model to travis test mode 2016-08-14 14:16:25 +10:00
Andrew Titmuss
53d2cf6661
made PR two lines shorter :) 2016-08-14 14:09:28 +10:00
Andrew Titmuss
8d2db93545
added macOS support for model name 2016-08-14 14:01:31 +10:00
Dylan Araps
6b9abdb9d6 Add new model function to print device model name 2016-08-14 13:26:30 +10:00
Dylan Araps
7500bfc757 Remove travis readonly vars 2016-08-14 13:14:18 +10:00
Dylan Araps
ba569f78cd Fix config issues 2016-08-14 13:13:21 +10:00
Dylan Araps
e0ac5c14c8 Fix broken color blocks on iOS 2016-08-14 11:04:25 +10:00
Dylan Araps
1686dd141b Fix quotes in subtitles on iOS 2016-08-14 10:55:01 +10:00
Dylan Araps
ba7ed6280b Fix terminal emulator on iOS over ssh 2016-08-14 10:41:42 +10:00
Dylan Araps
f388c222c5 Remove whitespace 2016-08-13 21:39:36 +10:00
Dylan Araps
66749c58ab Move OS detection to a function and cleanup comments 2016-08-13 21:28:23 +10:00
Dylan Araps
256205aaea Move some blocks to separate functions 2016-08-13 19:42:31 +10:00
Dylan Araps
793bcbcc7d Simplify ascii distro auto 2016-08-13 19:28:21 +10:00
Dylan Araps
ada00c9bb9 Combine escape sequences 2016-08-13 18:39:06 +10:00
Dylan Araps
7ea4aa2e82 Simplify CPU commands 2016-08-12 23:46:46 +10:00
Dylan Araps
bcec8c65da Consistent function brackets 2016-08-12 20:53:04 +10:00
Dylan Araps
7a774dd48d Move the commands near the bottom of the script to a function called main 2016-08-12 20:36:48 +10:00