Commit graph

2325 commits

Author SHA1 Message Date
Dylan Araps
d9fbadb009 Merge pull request #304 from vendion/master
Adding PacBSD support to neofetch
2016-08-11 22:04:01 +10:00
Adam Jimerson
8e29d0b350 Clean up PacBSD ASCII image
Signed-off-by: Adam Jimerson <vendion@gmail.com>
2016-08-11 07:56:20 -04:00
Adam Jimerson
acff79ce5e Adding PacBSD acsii art
Signed-off-by: Adam Jimerson <vendion@gmail.com>
2016-08-11 07:29:35 -04:00
Adam Jimerson
f310d757d4 Switch from if -> case for BSD package counts
Signed-off-by: Adam Jimerson <vendion@gmail.com>
2016-08-11 06:48:34 -04:00
Dylan Araps
6cd4bf0277 Merge branch 'master' of https://github.com/dylanaraps/neofetch 2016-08-07 22:28:46 +10:00
Dylan Araps
6ab1de2ba4 Added openindiana ascii 2016-08-07 22:28:39 +10:00
Dylan Araps
fd2ab61e2e Merge pull request #303 from konimex/solaris
Added Solaris support
2016-08-07 21:51:42 +10:00
Muhammad Herdiansyah
2e64ff37cd Added Solaris support 2016-08-07 18:42:56 +07:00
Dylan Araps
91542cfb98 Merge pull request #301 from konimex/master
Updated installation instructions
2016-08-07 15:51:37 +10:00
Muhammad Herdiansyah
26f68ab060 Updated installation instructions
Included:
- Added Installation Instructions for Slackware
- Fix for Gentoo's instruction on wget
- Small changes for Void
2016-08-07 09:29:37 +07:00
Adam Jimerson
01ce345c33 Adding PacBSD support to neofetch
Signed-off-by: Adam Jimerson <vendion@gmail.com>
2016-08-05 16:01:48 -04:00
Dylan Araps
b7d3130adf Move Windows dependency to optional 2016-08-05 10:50:33 +10:00
Dylan Araps
840b3f0a0f Fix stray whitespace in ubuntu ascii art 2016-08-05 10:43:56 +10:00
Dylan Araps
6d3bf930c9 Simplify Tavis ascii 2016-08-05 10:37:13 +10:00
Dylan Araps
8a5fb640e9 Readme 2016-08-04 10:32:52 +10:00
Dylan Araps
bb995a21c2 Only 1 newline below cols 2016-08-04 10:25:49 +10:00
Dylan Araps
40e9162d50 Merge branch 'master' of https://github.com/dylanaraps/neofetch 2016-08-04 09:46:54 +10:00
Dylan Araps
9225d0d693 Changelog 2016-08-04 09:46:37 +10:00
Dylan Araps
edf6ba0e60 Merge pull request #299 from dylanaraps/prompt
Fix prompt location issues in image mode
2016-08-04 09:30:34 +10:00
Dylan Araps
c34759b2da Merge pull request #298 from dylanaraps/ascii
Custom ascii art: Use same format as distro ascii
2016-08-04 09:30:22 +10:00
Dylan Araps
8d65b36e61 Merge pull request #296 from dylanaraps/line_wrap
Line wrap changes
2016-08-04 09:28:28 +10:00
Dylan Araps
2b41dafe66 Fix issues with prompt location calculation in image mode 2016-08-04 09:20:42 +10:00
Dylan Araps
62e52dd2f6 Eval colors in custom ascii files 2016-08-04 08:34:52 +10:00
Dylan Araps
68f6524a57 Keep old format behaviour 2016-08-02 23:50:05 +10:00
Dylan Araps
59147b9974 Enfore max line length in 'prin' 2016-08-02 23:44:10 +10:00
Dylan Araps
91b9fae44d Remove checks for $line_wrap 2016-08-02 23:21:49 +10:00
Dylan Araps
7015860c99 Remove line wrap docs 2016-08-02 23:19:17 +10:00
Dylan Araps
a39592cdc5 Line wrap changes 2016-08-02 23:11:00 +10:00
Dylan Araps
d21285c75b CPU Cores (iOS): Fixed backslashes in output 2016-07-29 21:35:32 +10:00
Dylan Araps
8bf8f9a4b1 Update README.md 2016-07-20 09:49:20 +10:00
Dylan Araps
5480a7c186 Changelog 2016-06-27 10:20:19 +10:00
Dylan Araps
3c29c41b55 Add support for GalliumOS 2016-06-27 10:19:52 +10:00
Dylan Araps
041bf1ca78 Changelog 2016-06-25 10:57:59 +10:00
Dylan Araps
1e486850d8 Shorten refresh rate output 2016-06-25 10:56:23 +10:00
Dylan Araps
08223e8a5d Merge branch 'xrandr' of https://github.com/dylanaraps/neofetch 2016-06-25 10:53:59 +10:00
Dylan Araps
95706b101d Fix awk typo 2016-06-24 11:48:18 +10:00
Dylan Araps
c8439c4bf9 Fix xrandr output on systems not using gawk 2016-06-24 11:44:22 +10:00
Dylan Araps
fd7136e57a Merge pull request #290 from aranega/master
Add terminal font detection support for terminology
2016-06-17 00:25:56 +10:00
Vincent Aranega
e2b14b26ad Fix potential errors from a missing escaped char in regex 2016-06-16 16:11:00 +02:00
Dylan Araps
ea312888c4 Revert previous commit 2016-06-17 00:05:14 +10:00
Dylan Araps
c33a092053 Fix xterm stray character in read 2016-06-16 23:41:52 +10:00
Vincent Aranega
f5a9393d4b Enhanced font detection for terminology
As 'grep -B' is a GNU extension, a more portable solution is preferable. The most direct and simple solution would be using 'awk':

    awk '/^font.name$/{print a}{a=$0}'

But a sed solution could also be applied:

    sed -n '/^font\.name$/{g;1!p;};h'
2016-06-16 15:39:30 +02:00
Dylan Araps
e3a8c56d8d Remove ? from read statement 2016-06-16 23:13:40 +10:00
Dylan Araps
eb87e22599 Fix error with xterm 2016-06-16 23:05:01 +10:00
Vincent Aranega
90c46651d6 Add terminal font detection support for terminology
Support for terminology font name detection is based on the terminology config file. This file is always located here: `~/.config/terminology/config/standard/base.cfg` (30cb65625b/src/bin/config.c (L216)) and is in a data/binary format. The only way I found (beside coding a dedicated extractor) is to use `strings`. The font name seems to be placed right before the `font.name` string.

    strings ~/.config/terminology/config/standard/base.cfg | grep -B1 font.name | head -1

Here are results that could be output:

    $ strings ~/.config/terminology/config/standard/base.cfg | grep -B1 font.name | head -1
    6x13.pcf
    --> (for a bitmap font) and with another font selected
    $ strings ~/.config/terminology/config/standard/base.cfg | grep -B1 font.name | head -1
    Inconsolata:style=Regular

These results are easily "parseable" in order to extract the font name for display.
2016-06-16 12:14:05 +02:00
Dylan Araps
09e3dc5146 Changelog 2016-06-16 17:19:58 +10:00
Dylan Araps
65c2854caf Make --image off behave like other modes 2016-06-16 17:19:00 +10:00
Dylan Araps
c13c17888e Fix #289 2016-06-16 17:09:24 +10:00
Dylan Araps
5f2f1aaeae Merge pull request #287 from iandrewt/refresh_osx-2
improved refresh_rate fix, now actually works on OS X...
2016-06-15 21:24:51 +10:00
Andrew Titmuss
df1e73a6b0
better way that works in multi monitor setups 2016-06-15 21:02:33 +10:00