Commit graph

276 commits

Author SHA1 Message Date
Dylan
0667b18138 Only trap exit if images are enabled and fix trailing whitespace in getshell 2016-02-05 11:43:19 +11:00
Dylan
21815ecf4d Misc stuff 2016-02-05 00:07:20 +11:00
Dylan
015a0533bb Fix colors with custom ascii art 2016-02-04 21:22:58 +11:00
Dylan
4bb699a7f0 Added --size and $image_size to set the size in pixels. Text is still dynamically padded according to image size. 2016-02-04 18:42:54 +11:00
Dylan
ad25e2677f Really fix battery usage on Windows 2016-02-04 13:41:16 +11:00
Dylan
d8f9574be9 If 'ascii_colors' is empty, colors are disabled in ascii art 2016-02-04 12:53:56 +11:00
Dylan
d7d8600f1b You can now custom color all the colors in the distro and os ascii art! See 1.1.md 2016-02-04 12:50:50 +11:00
Dylan
4cd940052c Fix battery usage on Windows 2016-02-04 11:18:05 +11:00
Dylan
87bf157bf4 NVIDIA GPU: Fix double space before count 2016-02-03 21:36:29 +11:00
Dylan
a33f96cc02 Reformat usage to fit the value of each option 2016-02-03 19:15:42 +11:00
Dylan
5ca3666055 Fixes gpu count and added battery support to Mac OS X and Windows 2016-02-03 09:26:47 +11:00
Dylan
43cfab598c Quote array in for loop to avoid splitting 2016-02-02 14:13:09 +11:00
Dylan
439f4bd974 Misc changes 2016-02-02 14:11:20 +11:00
Dylan
6cd2881962 Added option to print each battery on the same line, check 1.1.md for more info 2016-02-02 12:01:50 +11:00
Dylan
bb48caec70 Added 'battery_num' which allows you to choose which battery to display by number. 2016-02-02 09:09:31 +11:00
Dylan
645a6a9ddb Linux: Added 'battery' which prints the usage percentage of each battery in your system 2016-02-02 01:56:33 +11:00
Dylan
047b5f30ef Remove '--colors' as I just found it that it's broken 2016-02-01 19:11:36 +11:00
Dylan
7609445b89 Added '--disable' to disable info from printing at launch, see 1.1.md for more info 2016-02-01 18:50:10 +11:00
Dylan
716fba3c79 Print '64-bit' on Windows and 'x86_64' on all other systems 2016-02-01 15:10:53 +11:00
Dylan
1a303e916f Swap to using getconf instead of integer overflow as it didn't work on Windows 2016-02-01 15:02:42 +11:00
Dylan
da7667202f wildcard distro suffixes 2016-02-01 14:56:53 +11:00
Dylan
d90d7259a9 Added option to show architecture for all OS types with '' 2016-02-01 14:45:53 +11:00
Dylan
07956cdabb Remove whitespace 2016-02-01 13:25:06 +11:00
Dylan
77562390ac misc changes to the order some things are run 2016-02-01 13:19:09 +11:00
Dylan
075c487064 Remove duplicate blocks inside of getcpu and getmemory 2016-02-01 11:44:03 +11:00
Dylan
f7107a8ffb Only get column count if we need it. 2016-02-01 11:05:46 +11:00
Dylan
4f068c4f4c Fix padding not working in some systems 2016-02-01 10:07:46 +11:00
Dylan
5729d33cb5 I actually fixed the double space before '@' in cpu usage! 2016-02-01 09:57:48 +11:00
Dylan
dd04093a3b If ascii file doesn't exist fallback to distro ascii, if the distro ascii doesn't exist fallback to no image mode. 2016-02-01 09:25:45 +11:00
Dylan
21c76cd90e Move some getimage blocks down so they only run in image mode 2016-02-01 08:53:00 +11:00
Dylan
bc53d2eafe Only look for w3m path if we're in image mode 2016-02-01 08:48:44 +11:00
Dylan
cec40577bf Fix leftover 'OSArchitecture' string 2016-02-01 08:42:12 +11:00
Dylan
d7722a3b46 Windows: Add support for showing architecture in 'Distro:' output. eg. 'Windows 7 Ultimate 64-bit' 2016-02-01 08:40:10 +11:00
Dylan
40366cb55b Further reduce the size of wmic commands 2016-02-01 08:31:22 +11:00
Dylan
70e88727b6 Shorten the equals fix 2016-02-01 08:24:25 +11:00
Dylan
e45664ae6d Fix cases where wmic prints an equals sign 2016-02-01 08:22:47 +11:00
Dylan
7b5b1b3a36 Windows: OS now shows Windows edition (Windows 7 Ultimate, etc) 2016-02-01 08:16:47 +11:00
Dylan
b16350893b Add comment about '--config off/none' 2016-02-01 08:00:20 +11:00
Dylan
b3a18ffaad Rename to 2016-01-31 21:33:02 +11:00
Tudor
db4838a2af Changed image cache location 2016-01-31 12:19:04 +02:00
Dylan
d4bd2b3d5e Lots of misc changes 2016-01-31 19:23:31 +11:00
Dylan
6c20e2c5d5 Remove some whitespace 2016-01-31 18:38:33 +11:00
Dylan
c44da9511c Don't create the directory until we know we can use image mode and remove broken underline option 2016-01-31 16:25:11 +11:00
Dylan
35369534b8 Fix GPU count 2016-01-31 13:16:50 +11:00
Dylan
2284cde0d8 GPU: Linux, count the number of GPUs 2016-01-31 12:52:28 +11:00
Dylan
c044bd788c Added Windows support to getbirthday 2016-01-31 11:10:13 +11:00
Dylan
5b16820363 Added NetBSD support to getbirthday 2016-01-31 11:02:32 +11:00
Dylan
404a25a063 OpenBSD: Disable pretty birthday output as 'date' doesn't have any of the flags we need 2016-01-31 10:45:56 +11:00
Dylan
09a3846738 Added OpenBSD support to getbirthday 2016-01-31 10:38:20 +11:00
Dylan
19be922cb9 Added birthday support to BSD 2016-01-31 10:31:29 +11:00