Commit graph

975 commits

Author SHA1 Message Date
Dylan Araps
efa55b28b0 Rewrite getsong 2016-10-26 15:18:11 +11:00
Dylan Araps
252d56ab49 Reduce sise of iOS GPU function 2016-10-26 11:29:46 +11:00
Dylan Araps
fa312af1ee Misc fixes/changes 2016-10-26 11:18:37 +11:00
Dylan Araps
cc9095ccd5 Refactor GPU 2016-10-25 10:39:56 +11:00
Dylan Araps
ab1de702f9 Distro: Simplify shorthand for lsb_release 2016-10-25 10:30:41 +11:00
Dylan Araps
192014ca9f Model: Remove useless use of cat 2016-10-25 10:25:10 +11:00
Muhammad Herdiansyah
e92e691751 SUSE: Changed ASCII behavior
In SUSE's `lsb_release`, they have different behavior for `-ir` and
`-d`, one output will be `openSUSE Leap 42.1` and the other will be
`SUSE LINUX 42.1`. This new behavior would also extend compatibility
with SUSE Linux Enterprise.
2016-10-24 22:09:57 +07:00
Dylan Araps
c869e81e3b Fix w3m-img being used even when images were off 2016-10-24 08:53:54 +11:00
Muhammad Herdiansyah
24e7216777 Solaris: Strip out crap from getdistro output 2016-10-23 18:51:12 +07:00
Muhammad Herdiansyah
d39bebb2a4 Solaris: Unified package detection with Linux
Some OpenSolaris/illumos-based distribution used various Linux package
managers such as dpkg, rpm, and portage (see more at
http://wiki.illumos.org/display/illumos/Distributions). It would make
sense for Solaris' case to be unified with Linux.

However, Linux's `pkg` detection (I don't know which distro is that) are
vastly different from Oracle Solaris/OpenIndiana's `pkg`, so a
workaround is used.
2016-10-23 18:51:04 +07:00
Dylan Araps
09a4ac132e Simplify cursor positioning 2016-10-23 14:08:45 +11:00
Dylan Araps
d09cf58790 Cursor Position: Fix issues when using URxvt+Padding 2016-10-23 13:47:49 +11:00
Dylan Araps
5dddaa0b26 GPU: Remove duplicate substitutions 2016-10-23 11:22:17 +11:00
Dylan Araps
f4b266b5c6 CPU Speed: Don't use read 2016-10-23 11:13:40 +11:00
Dylan Araps
49cdb2f95c Linux: Correctly calculate memory usage 2016-10-23 11:03:46 +11:00
Dylan Araps
664556d137 Test mode: Show CPU temp 2016-10-23 09:51:16 +11:00
Dylan Araps
3ef6aeea42 Linux: Add CPU temperature 2016-10-23 09:45:03 +11:00
Dylan Araps
6457b3276f Windows: Print DE 2016-10-23 09:07:04 +11:00
Dylan Araps
a59cf169e4 Cmus: Fix broken output, closes #389 2016-10-22 23:14:54 +11:00
Dylan Araps
fe8e15d5d6 Simplify cursor position 2016-10-22 20:25:41 +11:00
Dylan Araps
17d17f4480 Theme: Fix gtk2/3 comparison when whitespace is involved 2016-10-22 19:59:25 +11:00
Dylan Araps
919da27716 Added support for Porteus, closes #388 2016-10-22 15:19:56 +11:00
Dylan Araps
0fb2b661ba Song: Add support for Audacious. @ncmprhnsbl 2016-10-22 15:11:52 +11:00
Dylan Araps
92595e8bc6 Fix cursor artifacts in termux 2016-10-22 10:20:14 +11:00
Dylan Araps
ad3a90219a Fix cursor artifcats in termux 2016-10-22 10:18:38 +11:00
Dylan Araps
fd957835b7 Merge branch 'master' into android2 2016-10-22 10:16:10 +11:00
Dylan Araps
79392d75a9 Sigh 2016-10-22 10:15:47 +11:00
Dylan Araps
d1ef3ab4e8 Merge branch 'master' into android2 2016-10-22 10:11:38 +11:00
Dylan Araps
ad2b18ef07 Count line breaks when calculating cursor position 2016-10-22 10:11:18 +11:00
Dylan Araps
8bc6b2d183 Merge branch 'master' into android2 2016-10-22 09:52:26 +11:00
Dylan Araps
50f87a4233 Fix cursor bugs if ascii art is taller than info 2016-10-22 09:51:58 +11:00
Dylan Araps
0b5d25d9b5 Fix cursor bugs if ascii art is taller than info 2016-10-22 09:49:59 +11:00
Dylan Araps
bb01418dca Merge master 2016-10-22 01:39:31 +11:00
Dylan Araps
a34d64b43b Revert color blocks change as it caused issues in tty 2016-10-22 01:35:28 +11:00
Dylan Araps
bcb51ee7aa Add more deprecated flags to checkoldflags() 2016-10-22 01:27:39 +11:00
Dylan Araps
60beb88def w3m-img: Add -bg support 2016-10-22 01:14:02 +11:00
Dylan Araps
b12e5b1f56 Fix yoffset bug 2016-10-22 01:05:47 +11:00
Dylan Araps
a564b19aeb Fix cursor bugs and use yoffset in calculations 2016-10-22 00:42:34 +11:00
Dylan Araps
76f7b4025e w3m-img: Draw the image twice 2016-10-22 00:06:51 +11:00
Dylan Araps
5270e97943 Merge branch 'master' into img 2016-10-22 00:03:05 +11:00
Dylan Araps
d9e15e3597 Merge pull request #380 from dylanaraps/uptime-fix
Rewrite uptime for Linux/Windows/Solaris to match macOS/BSD
2016-10-21 23:45:25 +11:00
Dylan Araps
6c50efa75b term: Don't print output of busybox ps 2016-10-21 21:48:17 +11:00
Dylan Araps
4619eba654 Don't do any dynamic prompt stuff in image off mode 2016-10-21 21:45:32 +11:00
Dylan Araps
6a37a9bb11 Merge pull request #381 from dylanaraps/cores
Add option to hide/show hyperthreaded cpu cores.
2016-10-21 21:35:00 +11:00
Dylan Araps
c804f7835e Image mode: Add support for terminal emulators that don't support \033[14t 2016-10-21 21:25:43 +11:00
Muhammad Herdiansyah
e4c7f1926a Solaris: Rewritten uptime
Solaris' uptime will now show the second mark only so we don't have 2
case instances.
2016-10-21 16:29:31 +07:00
Dylan Araps
3123548c18 Update docs 2016-10-21 20:29:16 +11:00
Dylan Araps
9882165617 Add support for Solaris 2016-10-21 20:27:35 +11:00
Dylan Araps
7b62b8091c revert old logo 2016-10-21 19:01:25 +11:00
Dylan Araps
edb6920df9 New android logo 2016-10-21 18:54:37 +11:00
Dylan Araps
5f4e9e5d8e merge master 2016-10-21 18:42:25 +11:00
Dylan Araps
e11d40cd00 solaris: Fix term 2016-10-21 18:37:59 +11:00
Dylan Araps
ad47e456e3 Fix term on solaris 2016-10-21 18:36:32 +11:00
Dylan Araps
5a96327fa3 Only use zero width space in image mode 2016-10-21 18:35:17 +11:00
Dylan Araps
6e47608bc5 Don't do any dynamic prompt stuff in image off mode 2016-10-21 18:09:25 +11:00
Dylan Araps
b13da1d999 Fix C locale padding issues 2016-10-21 18:02:04 +11:00
Dylan Araps
7bdf5f1168 Fix bug with block chars 2016-10-21 17:19:03 +11:00
Dylan Araps
93abca7185 Make note about support 2016-10-21 16:54:05 +11:00
Dylan Araps
bd44f1ea12 Fix grammar error 2016-10-21 16:40:58 +11:00
Dylan Araps
66100fc351 Use cpu_cores 2016-10-21 16:38:02 +11:00
Dylan Araps
dc32c0b71c Add option to hide/show hypertheaded cpu cores 2016-10-21 16:26:34 +11:00
Dylan Araps
1a8734bf46 macOS: Show hyperthreaded cores 2016-10-21 15:16:02 +11:00
Dylan Araps
e5359dc314 Fix terminal output on android 2016-10-21 14:45:36 +11:00
Dylan Araps
99d43ff257 Add seconds when uptime is below 1 min 2016-10-21 10:37:40 +11:00
Dylan Araps
c2e6f6534d Fix errors on large uptimes 2016-10-21 10:20:28 +11:00
Dylan Araps
fb7b3c146e Rewrite uptime 2016-10-21 10:00:09 +11:00
Dylan Araps
7862e3af5a Fix bugs 2016-10-21 09:15:03 +11:00
Dylan Araps
7a661b3966 Fix bugs 2016-10-20 17:32:29 +11:00
Dylan Araps
0e87355eb0 merge master 2016-10-19 20:54:30 +11:00
Dylan Araps
d1b2b2828f Remove path from terminal name 2016-10-18 08:23:03 +11:00
Dylan Araps
805b7d2e84 Fix bug 2016-10-17 23:59:54 +11:00
Dylan Araps
2abdbfc2bc Condense osx_version 2016-10-17 23:48:30 +11:00
Dylan Araps
03e6e8c992 Fix 2016-10-17 19:55:41 +11:00
Dylan Araps
20de28779d Fix 2016-10-17 19:52:31 +11:00
Dylan Araps
a76bd6b913 Fix 2016-10-17 19:51:00 +11:00
Dylan Araps
2a4f82a317 Show bbLean instead of Blackbox 2016-10-17 19:47:48 +11:00
Dylan Araps
14bba15f9a Show explorer theme for other Wms/Shells 2016-10-17 19:22:15 +11:00
Dylan Araps
1799ad84b8 Fix path errors 2016-10-17 19:15:42 +11:00
Dylan Araps
1136ca820c Fix path errors 2016-10-17 19:14:19 +11:00
Dylan Araps
3ab1b9326b wmtheme: Add support for Blackbox 2016-10-17 19:02:53 +11:00
Dylan Araps
2d9dbaa4bb Merge pull request #373 from dylanaraps/winwm
wm: Add support for Windows WMs and Shells
2016-10-17 18:45:07 +11:00
Dylan Araps
4be66e94bd wm: Add support for Windows WMs and Shells 2016-10-17 18:39:56 +11:00
Andrew Titmuss
21144eb973
fix iTunes automatically opening 2016-10-17 16:53:30 +11:00
Dylan Araps
71ece3de5b Fix disk output on MacOS 2016-10-17 08:07:04 +11:00
Dylan Araps
48819dc592 Fix glitched line endings on long lines 2016-10-17 00:07:30 +11:00
coypoop
04685755c1 physmem is 32bit on netbsd, physmem64 for 64bit 2016-10-16 09:01:16 +03:00
Muhammad Herdiansyah
294b5f34e7 Added support for Bitrig 2016-10-16 09:50:22 +07:00
Dylan Araps
f275d53fa6 Fix broken block_width 2016-10-16 10:44:05 +11:00
Dylan Araps
a9f74d9d01 Add support for Sparky Linux 2016-10-16 09:38:56 +11:00
Andrew Titmuss
2010d11328
shorten if statement for retina check 2016-10-16 00:45:27 +11:00
Andrew Titmuss
52e0884250
remove test from if statement 2016-10-16 00:43:20 +11:00
Andrew Titmuss
6f004a244f
macOS: add @2x label for retina resolutions 2016-10-16 00:39:07 +11:00
Dylan Araps
084541fe34 Merge pull request #364 from iandrewt/hyperthreading-fix
fix macOS to show physical cores
2016-10-15 23:56:41 +11:00
Andrew Titmuss
85d1c31dce
change all references to Mac OS X to macOS 2016-10-15 23:20:25 +11:00
Andrew Titmuss
50a2bdcc95
fix macOS to show physical cores 2016-10-15 22:57:45 +11:00
Dylan Araps
5e167e4c02 Uppercase without function 2016-10-15 22:07:12 +11:00
Dylan Araps
30d808c52d Fix function in bash 3 2016-10-15 22:01:15 +11:00
Dylan Araps
a8ccdf6a65 Uppercase first letter of info 2016-10-15 21:45:19 +11:00
Muhammad Herdiansyah
710fd49887 Added function to check if old flags is still present on configs 2016-10-15 13:19:52 +07:00
Muhammad Herdiansyah
fe6588d8b6 Expanded distro_shorthand to Solaris 2016-10-15 13:19:52 +07:00
Muhammad Herdiansyah
ed41c15c6a Expanded distro_shorthand to Mac OS X 2016-10-15 13:19:49 +07:00
Dylan Araps
cce254d338 Fix incorrect font name on XFCE 2016-10-13 23:47:35 +11:00
Dylan Araps
3e9c3d648c Fixed rendering issues with URxvt and XFT fonts, thanks Konimex 2016-10-12 21:19:40 +11:00
Dylan Araps
ee3630af40 Fix image off prompt location 2016-10-12 17:55:51 +11:00
Muhammad Herdiansyah
b7256fb48a Removed "Windows" from os_arch description.
To preserve accuracy, os_arch's description will be changed accordingly
so there will be no notion that os_arch is Windows' exclusive.
2016-10-07 17:44:39 +07:00
Muhammad Herdiansyah
aa7e185d17 Solaris: Better awk without gsub 2016-10-05 22:06:54 +07:00
Dylan Araps
e86ce55822 GPU: Cleanup substitutions 2016-10-05 09:29:54 +11:00
Dylan Araps
abf9b5d257 Fix incorrect cursor position when using small ascii art 2016-10-05 08:15:20 +11:00
Dylan Araps
7f5f05b441 Remove stray line 2016-10-04 21:30:03 +11:00
Dylan Araps
934b08b6f8 Re-add w3m-img line wrap fix 2016-10-04 21:29:06 +11:00
Dylan Araps
be2d486c41 Fix broken progress bars 2016-10-04 09:43:51 +11:00
Dylan Araps
8ea306652d Fix issues with single args 2016-10-04 08:48:33 +11:00
Dylan Araps
06281daed8 Fix merge conflicts 2016-10-04 08:39:00 +11:00
Dylan Araps
dfb8a94303 Finish documentation for scrot upload 2016-10-04 08:26:31 +11:00
Dylan Araps
e9a08a074d Merge pull request #349 from dylanaraps/img-fix
Add a tiny sleep to fix image flashing and not drawing properly
2016-10-04 07:55:18 +11:00
Dylan Araps
31ae13d296 Merge pull request #350 from dylanaraps/logo-mode
Logo mode - Only print ascii art.
2016-10-03 21:51:56 +11:00
Dylan Araps
598056b4a1 Logo mode documentation 2016-10-03 21:51:42 +11:00
Dylan Araps
9a0aa9938a Fix weird prompt issues 2016-10-03 21:47:29 +11:00
Dylan Araps
83fd93e4fb Add new mode which only prints the ascii art 2016-10-03 20:53:08 +11:00
Dylan Araps
8a1eb28987 Add --image_size as an alias to --size 2016-10-03 18:13:16 +11:00
Dylan Araps
b33cf57c16 Remove useless block 2016-10-03 18:11:00 +11:00
Dylan Araps
83acc08ae1 Add comment explaining fix 2016-10-03 18:08:47 +11:00
Dylan Araps
a3e65eb120 Add a tiny sleep to fix image flashing and not drawing properly 2016-10-03 17:59:56 +11:00
Dylan Araps
22ae5a5bba Term: better handling of tmux 2016-10-03 17:20:20 +11:00
Dylan Araps
e31e9a400e Term Font (Termite): Ignore comments 2016-10-03 17:09:01 +11:00
Dylan Araps
830cf0ec3b Wallpaper: Replace %20 with space 2016-10-03 10:03:41 +11:00
Dylan Araps
cc520e42b6 Move scrot args to a separate function 2016-10-02 23:58:08 +11:00
Dylan Araps
3eebc07f2a better arg handling 2016-10-02 23:51:59 +11:00
Dylan Araps
d656639728 Fix quotes 2016-10-02 23:46:22 +11:00
Dylan Araps
83dcdb42f4 Add args to --upload and --su 2016-10-02 22:49:30 +11:00
Dylan Araps
c08fc74607 Add error handling 2016-10-02 22:46:51 +11:00
Dylan Araps
64693058a7 Check that curl is installed before attempting to upload anything 2016-10-02 22:03:17 +11:00
Dylan Araps
fb3cd92b96 Added support for imgur using my own api key 2016-10-02 21:57:52 +11:00
Dylan Araps
194d37df09 Fix missing battery bug 2016-10-02 20:45:56 +11:00
Dylan Araps
4bd83edf8f Added flag for image host 2016-10-02 20:28:35 +11:00
Dylan Araps
94cbd6bb02 Added working teknik support and new flags 2016-10-02 20:23:02 +11:00
Dylan Araps
269e903e64 Fix teknik 2016-10-02 19:51:44 +11:00
Dylan Araps
20490a53e3 Fix GNOME showing wrong wm theme 2016-10-02 19:30:56 +11:00
Dylan Araps
56997e6bc3 initial support 2016-10-02 19:29:13 +11:00
Dylan Araps
9b411604e0 DE: Add cinnamon version 2016-10-02 18:51:34 +11:00
Dylan Araps
46b4920a9c Remove stray newline 2016-10-02 18:29:42 +11:00
Dylan Araps
26fe57d376 Add gpu_brand to enable/disable gpu brand in output 2016-10-02 18:26:50 +11:00
Dylan Araps
b60f281119 Update version 2016-10-02 14:17:51 +11:00
Dylan Araps
dcceeb7a13 Merge pull request #339 from dylanaraps/promptfix
Don't clear the screen in 'Ascii' and 'No Image' modes. Fixes #335
2016-10-02 13:43:26 +11:00
Muhammad Herdiansyah
461c826b70 Fixed various indentation 2016-10-02 09:12:48 +07:00
Dylan Araps
75a7d2c1b4 swap case for ifs 2016-10-02 12:23:12 +11:00
Dylan Araps
6ede242b1c Fix blank model output on Windows 2016-10-02 12:01:22 +11:00
Dylan Araps
e590ddc10f Fix blank oem info on Windows 2016-10-02 11:58:28 +11:00
Dylan Araps
d77bbd9619 Fix empty cpu speed on windows 2016-10-02 11:40:00 +11:00
Dylan Araps
515f5e0fe6 Fix ascii color 2016-10-02 11:33:31 +11:00