Commit graph

827 commits

Author SHA1 Message Date
Jack Tracey 93c95fe578
theme: add jtracey93 2021-10-13 01:04:58 +02:00
allcontributors[bot] 1195e26d6f docs: update .all-contributorsrc [skip ci] 2021-10-11 09:05:47 +02:00
allcontributors[bot] 1bc46a71ea docs: update docs/docs/contributors.md [skip ci] 2021-10-11 09:05:47 +02:00
bewing b8d3f5781c
fix(wsl): spotify support
If we are in a WSL environment and tasklist.exe is in our PATH, leverage
it to scan for the Spotify.exe window title. Add unit tests and a new
mock for env.isWSL
2021-10-11 09:02:51 +02:00
Jan De Dobbeleer f64a8fa51a fix: escape path with spaces for config file 2021-10-11 07:02:20 +02:00
Jan De Dobbeleer 609a534d73 fix: escape executable path on zsh and bash
resolves #1031
2021-10-10 09:33:45 +02:00
Jan De Dobbeleer f62f6164ac fix: correct ending for plague 2021-10-07 20:36:55 +02:00
Jan De Dobbeleer 960ad43683 fix: powerline rainbow compatibility
resolves #1026
2021-10-07 20:36:55 +02:00
Jan De Dobbeleer d0816773a5 fix(text): disable when text resolves to empty 2021-10-06 21:55:40 +02:00
AmRo 356dda306c
theme: add amro 2021-10-05 17:36:43 +02:00
Jan De Dobbeleer 1cff56a709 refactor: do not write empty cache list 2021-10-03 10:47:44 +02:00
Jan De Dobbeleer a118e178b5 feat(cache): set cache directory correctly
resolves #1017
2021-10-03 10:47:44 +02:00
Jan De Dobbeleer 1bf67c22c5 fix(theme): remove incorrect background color
resolves #1019
2021-10-03 07:37:09 +02:00
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