Commit graph

462 commits

Author SHA1 Message Date
Dylan
0f0806ca06 Added support for KaOS 2016-02-15 12:39:02 +11:00
Dylan
1cb6970c74 Added support for LMDE 2016-02-15 12:20:26 +11:00
Dylan
884e38915f Added support for gNewSense 2016-02-15 12:07:32 +11:00
Dylan
7d403db369 Rename mandriva to openmandriva 2016-02-15 11:59:28 +11:00
Dylan
e3245fba63 Added support for Mandriva 2016-02-15 11:55:18 +11:00
Dylan
b0cee7c7d7 Merge branch 'master' of github.com:dylanaraps/fetch 2016-02-15 09:29:00 +11:00
Dylan Araps
182284bd05 Merge pull request #68 from tudurom/master
Fixed uptime output when the uptime is under a minute
2016-02-15 09:30:22 +11:00
Dylan
49771d8925 Added support for Dragora (No ascii
)
2016-02-15 09:28:51 +11:00
Tudor
8d2e2b5ee4 Forgot the uptime file 2016-02-14 15:56:02 +02:00
Tudor
06797de423 Now we have uptime shorthand for seconds 2016-02-14 15:50:24 +02:00
Dylan
dbf0d34dc7 Added support for Chakra Linux 2016-02-14 23:49:36 +11:00
Dylan
6daade00ad Added support for NixOS 2016-02-14 23:29:04 +11:00
Dylan
d2df70f77d Rename Red Hat ascii art from 'red' to 'redhat' 2016-02-14 20:43:08 +11:00
Dylan
cb87a2095d --ascii_distro now also enables ascii mode 2016-02-14 20:39:35 +11:00
Dylan
4cc6fec6a0 Added support for Peppermint Linux 2016-02-14 20:35:42 +11:00
Dylan
191fb776b3 Added support for Solus 2016-02-14 19:42:27 +11:00
Dylan
53dde789a6 added support for Trisquel 2016-02-14 17:02:45 +11:00
Dylan
9277ba2775 Fix some lint errors 2016-02-14 09:26:52 +11:00
Tudor
5c7cb81c27 Forgot about that 2016-02-13 19:29:59 +02:00
Tudor
32053b795e Forgot a space 2016-02-13 19:27:54 +02:00
Tudor
a588f88f6c Fixed uptime output if it is under a minute 2016-02-13 19:24:44 +02:00
Dylan
96e05f78f8 Added support for BLAG Linux 2016-02-13 21:14:50 +11:00
Dylan
9f93bb681d Added ascii art for Tails Linux 2016-02-13 19:55:58 +11:00
Dylan
6f46d44435 Change substitution to also work with tails 2016-02-13 19:31:28 +11:00
Dylan
7132a82571 Added tails support 2016-02-13 19:29:08 +11:00
Dylan
8470a256fd Added support for Zorin OS 2016-02-13 12:20:40 +11:00
Dylan
b5e95a8ce4 Added support for PCLinuxOS 2016-02-13 11:16:15 +11:00
Dylan
dc5eae2234 Added ascii colors for Mageia 2016-02-12 21:28:24 +11:00
Dylan
0c6e0048e8 Added support for Mageia Linux 2016-02-12 21:24:37 +11:00
Dylan
6d30f5131f Added Raspbian ascii art 2016-02-12 10:43:31 +11:00
Dylan
32110bc87e Remove processor info from Intel GPUs 2016-02-12 09:19:22 +11:00
Dylan
4f3c2e3b1f Add Raspbian to packages function 2016-02-12 09:08:12 +11:00
Dylan
2e0e3f5d64 If a GPU with a prefix of '3D' exists, use it instead. 2016-02-12 00:00:41 +11:00
Dylan
9e7ad5c0ef Enable gpu_shorthand by default 2016-02-11 09:20:03 +11:00
Dylan
8da9015026 Possible locale fix 2016-02-10 22:54:07 +11:00
Dylan
a81b4238df Added support for showing the user's Desktop Environment and renamded 'windowmanager' to 'wm' 2016-02-10 22:44:23 +11:00
Dylan
1ac98037d5 Possible fix for the locale issue 2016-02-10 10:20:51 +11:00
Dylan
b61f33854a Add comments of the new functions to the printinfo fucntion 2016-02-09 21:50:57 +11:00
Dylan Araps
fcefefee8b Merge pull request #60 from dylanaraps/ip
IP Address support
2016-02-09 21:49:07 +11:00
Dylan
e050ba6d1a If $img is an xml file fallback ro ascii mode 2016-02-09 21:30:41 +11:00
Dylan
f1450d1fc8 Add support for showing 'MATE' wallpaper 2016-02-09 21:12:09 +11:00
Dylan
f38da87a79 Left stray '/usr/' 2016-02-09 20:58:41 +11:00
Dylan
de8ab1eeb7 Fix lspci not found on open SUSE 2016-02-09 20:54:24 +11:00
Dylan
7ec516860a Replace broken BSD local ip cmd with a tested working one 2016-02-09 18:32:01 +11:00
Dylan
111caa6356 Add experimental and untested BSD support to localip 2016-02-09 17:53:52 +11:00
Dylan
76d583a124 Added '--ip_host' and '' which allow you to choose which website to ping for the public ip 2016-02-09 17:26:44 +11:00
Dylan
609e18a31c Add 'publicip' command to display your public ip address. 2016-02-09 17:20:19 +11:00
Dylan
2f13ce79de Added local IP support to OS X 2016-02-09 10:48:37 +11:00
Dylan
3e9975c438 Add local IP support to Linux and Windows 2016-02-09 09:36:43 +11:00
Dylan Araps
ccc43cbcae Merge pull request #54 from dylanaraps/getgtk_rewrite
Rewrite GTK theme detection to also get correct DE theme.
2016-02-09 09:11:58 +11:00
Dylan
924714b76d Fix whitespace issue with openSUSE uptime 2016-02-09 09:04:05 +11:00
Dylan
9a3a3bc83d Really fix openSUSE uptime command 2016-02-09 09:02:07 +11:00
Dylan
74d4943115 OpenSUSE: Add uptime support 2016-02-09 08:55:53 +11:00
Dylan
a311897efd Fix package count on Kali Linux 2016-02-09 08:21:28 +11:00
Dylan
4a99a128f9 Uptime: Match Puppy linux's weird way of versioning 2016-02-09 07:55:13 +11:00
Dylan
44ace4e837 Uptime: Add puppy linux support 2016-02-09 07:49:42 +11:00
Dylan
5ddd145bdc Grab last occurence of '^exec x' when parsing xinit files 2016-02-09 07:30:19 +11:00
Dylan
5e8953c7fa We now check for GTK theme by GTK version 2016-02-09 07:16:15 +11:00
Dylan
cbc33486f7 If the DE detection fails fallback to the generic theme detection 2016-02-09 02:21:12 +11:00
Dylan
caf55803f3 Remove new from comment 2016-02-09 01:06:54 +11:00
Dylan
5446b6afd5 Add back support for '$gtk2/3' 2016-02-09 00:48:55 +11:00
Dylan
438d5e0542 GTK: Fix xfce case 2016-02-08 23:37:14 +11:00
Dylan
f15f5728ea Rewrite getgtk to also check DE 2016-02-08 23:29:48 +11:00
Dylan
0d78a6bdfe Makefile: Use for the install of ascii art and default config 2016-02-08 22:02:49 +11:00
Dylan
9d35c8e6d1 Fix typo in usage and remove 1.1 changelog. Closes #51 2016-02-07 16:41:34 +11:00
Dylan
4fed7d5576 Change 'seperator' to 'separator'. Thanks @tudurom 2016-02-07 10:03:49 +11:00
Dylan
f82adabc11 Added usage for stdout mode 2016-02-06 10:49:06 +11:00
Dylan
ce3415481b Remove underline from stdout output 2016-02-06 10:30:46 +11:00
Dylan
e3fc21fd5f Merge master into stdout2 as we need some changes from master. 2016-02-06 10:27:16 +11:00
Dylan
0507b6a80e Remove uneeded check 2016-02-06 10:27:14 +11:00
Dylan
a80d50b0ff Added '--underline on/off' and '' to toggle it 2016-02-06 10:25:12 +11:00
Dylan
943a5493c3 Stdout mode: Replace the printinfo function instead of disabling it. 2016-02-06 10:21:12 +11:00
Dylan
6f69aed92e Fix '--stdout_seperator' not working when '--stdout' gets args 2016-02-06 10:04:50 +11:00
Dylan
84b8b04d83 Remove newline in if statement 2016-02-06 02:36:00 +11:00
Dylan
e6d8fc9c98 Remove unnecessary comments 2016-02-06 02:26:44 +11:00
Dylan
8da6f40ce0 Cleanup of stdout 2016-02-06 02:25:21 +11:00
Dylan
5e5cf5da2a Fix weird leftover escape codes in stdout mode 2016-02-06 01:31:13 +11:00
Dylan
59cc2f61ce Remove check for battery num 2016-02-06 01:27:17 +11:00
Dylan
4ad5cf791d Fix weird behaviour with prin and --stdout 2016-02-06 01:22:29 +11:00
Dylan
a69b86a22a Fix battery showing no info in stdout mode 2016-02-06 01:04:41 +11:00
Dylan
8e6a548f63 '--stdout' now takes arguments 2016-02-06 00:50:45 +11:00
Dylan
941c556012 Fixed doubled battery usage Windows 2016-02-05 22:08:32 +11:00
Dylan
008f73b3ab You can now print info without a subtitle! eg. "info memory" 2016-02-05 18:16:46 +11:00
Dylan
456c706f1d Fix missing title 2016-02-05 17:02:53 +11:00
Dylan
49e7673f0d Added '--stdout' to print the output in a lemonbar compatible format 2016-02-05 16:29:11 +11:00
Dylan
5aaab244ce Only re-enabled line wrap if we disabled it in the first place 2016-02-05 11:46:00 +11:00
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
Dylan
c646a32fca Fixed double space before '@' sign in cpu info 2016-01-31 00:00:20 +11:00
Dylan
e5caad6abb Remove windows support from getbirthday 2016-01-30 23:58:14 +11:00
Dylan
2f2e9d387a Shorten windows cmd 2016-01-30 23:54:25 +11:00
Dylan
dac7f5768f Add windows support to getbirthday 2016-01-30 23:51:12 +11:00
Dylan
7ecd42fa09 Comment out birthday 2016-01-30 23:35:52 +11:00
Dylan
1149b3d6a6 Fix birthday output on OS X 2016-01-30 23:34:53 +11:00
Dylan
207af2ad53 Added birthday function 2016-01-30 22:41:58 +11:00
Dylan
825d5f68d2 Added experimental birthday function 2016-01-30 22:10:28 +11:00
Dylan
5542cc8ce1 Moved config to config/config 2016-01-30 21:26:08 +11:00
Dylan
eac81f3b48 Revert xprop support for getwindowmanager 2016-01-30 20:02:20 +11:00
Dylan
f035196886 Properly fallback to ascii mode if isn't a file 2016-01-30 17:55:31 +11:00
Dylan
bca479ecf3 Automatically find w3m-img path 2016-01-30 17:44:52 +11:00
Dylan
d683593c2d Add back missing space 2016-01-30 16:32:18 +11:00
Dylan
827c8b68d9 Fixed lint errors 2016-01-30 16:31:22 +11:00