Commit graph

964 commits

Author SHA1 Message Date
Jan De Dobbeleer 1f3127cdb1 fix(fish): cache status code
resolves #1013
2021-10-03 07:01:49 +02:00
lnu f67ee8e609 fix(path): display root path icon when using agnoster 2021-09-30 12:18:49 +02:00
Jan De Dobbeleer 44b970fc02 chore: remove comments 2021-09-28 20:23:44 +02:00
Jan De Dobbeleer 36c318a02a fix: set correct color for diamonds on inheritance 2021-09-28 20:23:44 +02:00
Jan De Dobbeleer 3d4b3c891c fix: do not print invisible text 2021-09-28 20:23:44 +02:00
Jan De Dobbeleer f860c8cb55 docs: add analytics 2021-09-27 20:49:04 +02:00
Jan De Dobbeleer eb3610190d docs: add faq item about zsh history
relates to 1002
2021-09-26 19:29:45 +02:00
lnu 4bf820b10f fix: set shell in Export-PoshImage
When the shell is not set, some ansi characters are added at the end of the prompt

fix #980
2021-09-26 09:46:01 +02:00
Jan De Dobbeleer 0bbc26d635 fix: inherit parent colors in override 2021-09-25 20:52:20 +02:00
Luise Freese 3781a43d01
docs: correct grammar 2021-09-25 12:55:01 +02:00
Jan De Dobbeleer b3f537cb76 refactor: color logic performance 2021-09-25 11:25:04 +02:00
allcontributors[bot] fa782250dd docs: update .all-contributorsrc [skip ci] 2021-09-24 20:09:50 +02:00
allcontributors[bot] c4b9986f3b docs: update docs/docs/contributors.md [skip ci] 2021-09-24 20:09:50 +02:00
Jan De Dobbeleer 0e26aa2ace feat: inherit colors between segments 2021-09-24 19:41:11 +02:00
allcontributors[bot] a2a1b12cf6 docs: update .all-contributorsrc [skip ci] 2021-09-24 17:35:10 +02:00
allcontributors[bot] 736feb29f5 docs: update docs/docs/contributors.md [skip ci] 2021-09-24 17:35:10 +02:00
Justin Vogt 2528822c13
theme: add jv_sitecorian.omp.json 2021-09-24 17:33:37 +02:00
lnu 95f776a8ed fix(owm): cache also the url used to get the data
The url is used after do generate the hyperlink
2021-09-24 14:51:12 +02:00
Jan De Dobbeleer 57174b6424 refactor(owm): rename properties 2021-09-24 08:06:20 +02:00
Jan De Dobbeleer aa5a235953 fix(pwsh): validate correct AZ context object 2021-09-24 08:06:20 +02:00
lnu ba71a4a16d fix: cache_timeout mismatch + variable naming + schema.json 2021-09-24 07:32:57 +02:00
lnu 6097d2d357 feat(owm): response caching added
default timeout of 10 minutes. A value of 0 disables the cache.
Original concept by boarder2
2021-09-24 07:32:57 +02:00
Jan De Dobbeleer e846f2b683 chore: add mocked cache 2021-09-23 23:03:46 +02:00
Jan De Dobbeleer 7738cad7cb feat(cache): add timestamp 2021-09-23 23:03:46 +02:00
Jan De Dobbeleer 7d2001c936 feat: cache capabilities 2021-09-23 23:03:46 +02:00
Jan De Dobbeleer 8d35689170 refactor: split concurrent map from cache implementation 2021-09-23 23:03:46 +02:00
Nick Craver 4bcef332a5
fix: os fonts in theme renders
There's a bug in the wiki ranges that I noticed in the
final Ubuntu renders cutting off the Ubuntu logo,
this should resolve it.

Issue filed on nerd fonts to fix the wiki here: 
ryanoasis/nerd-fonts#667
2021-09-21 20:11:38 +02:00
Aaron Sherber 7e4865779a feat: flexible matching for include/exclude folders 2021-09-21 06:31:50 +02:00
Jan De Dobbeleer b2515650c1 fix(battery): map battery behavior before returning 2021-09-20 07:19:01 +02:00
Aaron Sherber 93b00ee0aa docs(upgrade): remove beta disclaimer 2021-09-19 07:26:19 +02:00
Aaron Sherber 5db251ce53
feat(path): flexible matching for mapped-locations 2021-09-18 22:03:00 +02:00
Jan De Dobbeleer e1be81e658 fix(battery): skip nil value batteries 2021-09-18 20:09:11 +02:00
Jan De Dobbeleer 3f2b89f475 fix(windows): get console width correctly 2021-09-18 20:03:02 +02:00
Nick Craver e27d34a1cb
feat: improved theme png rendering
* feat: improved theme png rendering

Overall this improves glyph rendering in the theme PNGs for docs.
Changes:
- Replaces VictorMono with latest Hack nerd font
- When calculating overall width, count glyphs as double wide
- When rendering a glyph, allow ~1.7x space (this seemed right testing many)

I hope this is a net improvement that helps theme renders be a bit more accurate and shine!

* move to 2x for overall width expansion

1.7 introduces some odd offset problems with some backgrounds - 2x is stable.

* Based on data from:
https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points
...checking those points for nerd font glyphs in play

I'm unfamiliar with Go here and maybe there's a better way to implement,
but the results are much improved.

* tweak ranges and bg position for font diff

* exclude pixelated (e0c4-e0c7) from doube-width

* simplify cyclomatic complexity

Go checks were unhappy - this isn't a hot path so breaking it out
into a format that matches the docs, for easier maintenance.

* I have no idea what I'm doing

...but I hope this works - bit simpler layout to maintain too.

* fix: add comments

Good PR feedback - adding some more commentary for anyone coming across these bits later

* typo
2021-09-18 15:37:15 +02:00
Jan De Dobbeleer 4eb3b439ba fix: emulate amd64 on surface pro x 2021-09-18 13:44:49 +02:00
Jan De Dobbeleer 2ed5d31f4f
feat(az): use template for more flexibility
BREAKING CHANGE: this makes it so people have to remove the switches
in favor of the new template.
2021-09-18 13:21:28 +02:00
Nick Craver c6a3dd4ee8
fix: incorrect args in theme export
this fixes the background color to actually work, and quotes author as well (first usage of the field introduced in #964)
2021-09-17 22:50:34 +02:00
Nick Craver c7fa4f3e71
theme: add craver theme
This adds a new theme to the gallery, taking advantage of the new background color option in the renderer.

Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
2021-09-17 22:13:13 +02:00
Aaron Sherber f412ef6644
feat: allow for custom text in place of shell names 2021-09-17 19:48:00 +00:00
Nick Craver bf51f59ceb
feat: image background color 2021-09-17 20:34:43 +02:00
Jan De Dobbeleer 6bef088b83 feat: allow auto hiding of rprompt on Windows 2021-09-17 09:40:12 +02:00
lnu cb9a090ec7 feat(battery): display_charged parameter added
display_charging splitted to two parameters instead of a single one

BREAKING CHANGE: from now display_charging will handle the charging
                 status only.
2021-09-16 20:17:41 +02:00
Jan De Dobbeleer 5de2c1ae68 fix(linux): add armv7l build
resolves #956
2021-09-14 22:34:55 +02:00
allcontributors[bot] a37ae4d4e0 docs: update .all-contributorsrc [skip ci] 2021-09-14 20:04:27 +02:00
allcontributors[bot] fa5bb6054c docs: update docs/docs/contributors.md [skip ci] 2021-09-14 20:04:27 +02:00
Jan De Dobbeleer 5093607df4
chore: update doc dependencies 2021-09-14 20:02:30 +02:00
Sean Killeen 2dfa6a5a98
docs(installation): add chocolatey 2021-09-14 19:57:47 +02:00
Jan De Dobbeleer 86b3e1cc62
fix(bash): remove leading space
relates to #953
2021-09-14 19:54:09 +02:00
Jan De Dobbeleer a549cc87c6 docs: add bash profile context
resolves #939
2021-09-14 18:49:29 +02:00
Jan De Dobbeleer ebaa20ea3f feat(winget): arm64 support 2021-09-14 18:49:29 +02:00