- 04 Aug, 2016 2 commits
-
-
Dylan Araps authored
-
Dylan Araps authored
-
- 03 Aug, 2016 7 commits
-
-
-
Dylan Araps authored
-
Dylan Araps authored
Fix prompt location issues in image mode
-
Dylan Araps authored
Custom ascii art: Use same format as distro ascii
-
Dylan Araps authored
Line wrap changes
-
Dylan Araps authored
-
Dylan Araps authored
-
- 02 Aug, 2016 5 commits
-
-
Dylan Araps authored
-
Dylan Araps authored
-
Dylan Araps authored
-
Dylan Araps authored
-
Dylan Araps authored
-
- 29 Jul, 2016 1 commit
-
-
Dylan Araps authored
-
- 19 Jul, 2016 1 commit
-
-
Dylan Araps authored
-
- 27 Jun, 2016 2 commits
-
-
Dylan Araps authored
-
Dylan Araps authored
-
- 25 Jun, 2016 3 commits
-
-
Dylan Araps authored
-
Dylan Araps authored
-
-
- 24 Jun, 2016 2 commits
-
-
Dylan Araps authored
-
Dylan Araps authored
-
- 16 Jun, 2016 11 commits
-
-
Dylan Araps authored
Add terminal font detection support for terminology
-
Vincent Aranega authored
-
Dylan Araps authored
-
Dylan Araps authored
-
Vincent Aranega authored
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' -
Dylan Araps authored
-
Dylan Araps authored
-
Vincent Aranega authored
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` (https://github.com/billiob/terminology/blob/30cb65625bfa3b9030b80308d76ec2f30b62bd02/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.
-
Dylan Araps authored
-
Dylan Araps authored
-
Dylan Araps authored
-
- 15 Jun, 2016 3 commits
-
-
Dylan Araps authored
improved refresh_rate fix, now actually works on OS X...
-
Andrew Titmuss authored
-
Andrew Titmuss authored
-
- 14 Jun, 2016 3 commits
-
-
Dylan Araps authored
-
-
Dylan Araps authored
fixed refresh rate on OS X
-