Commit graph

320 commits

Author SHA1 Message Date
Tiago Bovolin e8f1e5e2d4
theme(spaceship): add postfix to reduce space between prefix and text 2022-01-01 09:53:43 +01:00
Matt c1a95f42c7
chore: add schema property to jandedobbeleer json (#1513) 2021-12-29 08:08:57 +00:00
Jan De Dobbeleer 3c40c04d36 feat: deprecate envvar segment
favors text in a more generic way
2021-12-26 19:46:28 +01:00
Juan Svaikauskas 4e52382960
theme: add thecyberden 2021-12-23 18:51:12 +00:00
Robbert Verbruggen b245398661 feat(ipify): segment to show your external IP address
closes #1492
2021-12-23 15:56:27 +01:00
CorneliusTantius 469745dd95
theme: add clean-detailed 2021-12-23 14:11:22 +00:00
TheTaylorLee 1af1bcaed1
theme: add grandpa-style 2021-12-19 09:33:17 +01:00
Papi Peppers a46fe2bcb3
theme: add smoothie 2021-12-19 09:32:51 +01:00
Jan De Dobbeleer 7805ee1a27 feat(path): add template 2021-12-17 22:52:17 +01:00
Tom Kerkhove a2e36f6ec0 theme: cloud-native Azure theme
introduce Cloud-Native Azure theme that has the typical blocks along
with Kubernetes & Azure subscription information.

closes #1400
2021-12-17 22:52:17 +01:00
memcpy-rand-rand-rand 89ece8d68a feat(brewfather): new fields, fixes
add batch fields
update doc with new fields and fix ref to .DefaultString
complete schema definition
2021-12-16 16:16:48 +01:00
joshruggles 8e3f5dc701
theme: add nordtron 2021-12-15 18:31:28 +00:00
Will 0d079a4d8a
feat(brewfather): add segment 2021-12-15 07:49:32 +00:00
Jan De Dobbeleer af112277a8 feat(go): parse go.mod file for version 2021-12-14 09:42:30 +01:00
Khaos66 0fb5951375 feat(wakatime): add segment 2021-12-13 11:58:54 +01:00
will 2ccaf90cbf refactor(winreg): make windows registry query function more general
simplify config definition, requires one prop to define path and key
add variant return type
add template-accessible query functions on the segment for advanced use
2021-12-12 20:25:02 +01:00
Khaos 457f439a9f
feat(plastic): add Plastic SCM segment
* feat(plastic): added Plastic SCM segment

* refactor(plastic): polished new Plastic SCM segment

* refactor: moved common scm segment code into base type

git and plastic share some common methods and status properties. So moving them in a base type keeps the code base DRY

* doc(plastic): Added docs for manual testing Plastic SCM

* fix(plastic): Show files with merge conflicts as unmerged

* fix(plastic): adhere to empty string check guidelines

* fix(plastic): fixed linter errors

* fix(pwsh): alert when we can't download dependencies

resolves #1382

* refactor(plastic): polished new Plastic SCM segment

* refactor: moved common scm segment code into base type

git and plastic share some common methods and status properties

* docs(plastic): added docs for manual testing Plastic SCM

* fix(plastic): show files with merge conflicts as unmerged

* fix(plastic): adhere to empty string check guidelines

* fix(plastic): fixed linter errors

Co-authored-by: Jan De Dobbeleer <jan.de.dobbeleer@gmail.com>
Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
2021-12-11 22:08:47 +01:00
Jan De Dobbeleer d52f917782 feat(path): agnoster left
resolves #1411
2021-12-11 20:40:32 +01:00
Naccl b45e0767a9
theme: add capr4n
Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
2021-12-04 21:17:28 +01:00
Jan De Dobbeleer 796ec4125d feat(node): templating support
resolves #1253
2021-12-04 13:13:05 +01:00
Jan De Dobbeleer 29afb86e61 feat(python): virtual env in template 2021-12-04 13:13:05 +01:00
Tiago Bovolin f3f2985543
theme(spaceship): move prompt below user 2021-12-04 00:25:33 +01:00
Jan De Dobbeleer a08a3a9a21 feat(session): refactor for template 2021-12-03 23:50:50 +01:00
will 274ec4ad12 feat(winreg): fix squash merge 2021-11-29 16:22:03 +01:00
will 18570c9cd0 feat(winreg): squashed commits 2021-11-29 16:22:03 +01:00
John Lunn 06e1b3ab8b theme: add festivetech
this theme is a bit special and needs the following in your
PowerShell profile to work correctly:

function Set-EnvVars {
    $now = [DateTime]::Now
    $env:DAYS = ([Datetime](“12/25/” + $now.Year) – $Now).Days
}
New-Alias -Name 'Set-PoshContext' -Value 'Set-EnvVars' -Scope Global -Force

happy holidays!
2021-11-26 23:43:54 +01:00
Stefan Hacker 7a73bcff0b feat: enable kubectl segment to read kubeconfig
This extends the kubectl segment to optionally not rely on the
kubectl command and instead to directly parse kubeconfig files like
kubectl does. This is meant as a performance optimization similar
to how the git segment can determine the current branch itself
without calling to git. Especially on Windows and in the presence
other factors slowing process creation like like AntiVirus this
can make shells using the segment considerably more responsive.

The functionality is enabled using the new parse_kubeconfig prop.
It defaults to false to prevent breaking existing users in case
there are any unanticipated behavioral changes.

Additionally the new template properties Cluster and User were
added as they are easily available and helpful in kubectl
setups with more elaborate configuration.
2021-11-26 18:22:40 +01:00
Jan De Dobbeleer b94e96dd15 refactor(battery): remove legacy properties 2021-11-25 13:59:36 +01:00
Jan De Dobbeleer 17751107a8 feat(windows): registry query segment 2021-11-24 14:24:02 +01:00
Jul Guga 68c07a7f24
theme: update night-owl
* update: theme night-owl

- Added sysinfo & php segment
- Changed java background color
- Small fixes

* theme: update night-owl

- Added sysinfo & php segment
- Changed java background color
- Small fixes
2021-11-24 13:08:51 +01:00
Luis Felipe Sánchez 737db78bdc
theme: add atomic bit
* oh-my-posh theme

New Atomic Style Theme by lfelipe1501

* Atomic Theme for oh-my-posh

Update theme

* Update atomic.omp.json

improved and adjusted attending the recommended improvements

* Update Theme Atomic

Small fixes and improvements

* New Theme Atomic Bundle Style

New Theme more bash style retro...
2021-11-24 13:08:13 +01:00
Mike Sigsworth 9232a039ec docs: added wifi docs and schema 2021-11-24 11:31:43 +01:00
Yehor Borkov 9ecd7c09a4
feat(palette): a map of named color values
introducing a map of named standard color
values that can be referenced in theme segments
2021-11-22 15:25:56 +01:00
Jul Guga 0247b329c1 theme: update night-owl
- Added custom title bar
- Changed home & folder icon
- Changed background_template colors in git segment
- Added fetch_stash_count & fetch_worktree_count
- Changed template properties in git segment
- Added shell segment
- Changed style of the right prompt
- Added transient_prompt
2021-11-22 08:48:19 +01:00
Luis Felipe Sánchez accf46420f
theme: add atomic 2021-11-20 21:31:13 +01:00
lnu 25be370618 feat(sysinfo): sysinfo segment
cpu, mem, load, ...
2021-11-19 13:44:00 +01:00
Jan De Dobbeleer 366767accd
theme: replace \ufa1e with \ufbab
closes #1239
2021-11-16 16:46:40 +01:00
Stefan 789d2c2269
fix: remove unsupported icons from minimal themes 2021-11-15 11:26:22 +00:00
Jan De Dobbeleer f850f3b805 feat(exit): add template properties 2021-11-15 11:39:34 +01:00
Jan De Dobbeleer 2040771190 feat(env): add template properties 2021-11-15 11:39:34 +01:00
Jan De Dobbeleer 19544bff9b docs: informative layout 2021-11-12 19:16:40 +01:00
sectorogo 9dbe35e1ff
theme: update nu4a
- Added dynamic title bar
- Added folder hyperlink
- Added folder icons
- Changed admin indicator
2021-11-11 21:00:21 +01:00
Jan De Dobbeleer 2d25c59c00 fix(git): remove Repo struct 2021-11-09 17:16:37 +01:00
Jan De Dobbeleer 7a5bccf101 fix(git): correct color templates functions 2021-11-09 13:26:59 +01:00
Jan De Dobbeleer 17a53f63bd fix(schema): correct property names 2021-11-09 13:26:59 +01:00
Jan De Dobbeleer bf16671587 refactor(git): add upstream icons 2021-11-09 13:26:59 +01:00
Jan De Dobbeleer 793ac2cd97 fix(angular): json schema in line with implementation 2021-11-09 13:26:59 +01:00
Jan De Dobbeleer d29a6befd9 refactor: adjust themes to new git segment properties 2021-11-09 13:26:59 +01:00
Jan De Dobbeleer 42f18697fd refactor(git): move deprecated functions 2021-11-09 13:26:59 +01:00
Zh_Jk d04dff5538 fix(theme): pure 2021-11-07 12:45:24 +01:00
Jan De Dobbeleer 9323f89704 feat(color): allow override from parent
BREAKING CHANGE: this removes the inherit keyword used in color
overrides. Migration from inherit to parentBackground or
parentForeground is needed to stay compatible.
2021-11-06 13:29:31 +01:00
lnu 67ce40e7d7 feat(owm): add template support 2021-11-03 11:07:36 +02:00
xtoys 545213022f theme: add xtoys 2021-11-02 15:34:56 +02:00
Quốc Hùng cd5b560435
theme: add mojada 2021-11-02 08:15:59 +02:00
Laurent Nullens d789b3c252
fix(theme): unicorn 2021-10-28 09:57:47 +02:00
lnu 42aac1fbf4 feat: php language segment 2021-10-27 12:57:15 +02:00
Laurent Nullens 457cd35e64 theme(jandedobbeleer): fix space in executiontime segment
fix space issue with windows terminal
2021-10-27 10:28:21 +02:00
Jul Guga 224bc0a5b2
theme: night owl 2021-10-25 19:25:14 +02:00
Jainam Desai ab49de2358 fix: type in theme schema 2021-10-25 19:24:06 +02:00
Jan De Dobbeleer 010f326e60 theme: remove weird offset for iterm 2021-10-17 14:54:34 +02:00
Thomas Adams f08c283105 feat: angular cli segment 2021-10-17 13:30:55 +02:00
Paris Qian 5db8f0fbe5 theme: add hunk 2021-10-17 13:30:55 +02:00
lnu 06e5a24a0b chore(schema): languages segment updated with enable_hyperlink
enable_hyperlink added to segments that support it.
java segment title fixe.
2021-10-17 08:51:55 +02:00
Sagar Yadav d0d4b2d4d6
theme: update negligible 2021-10-16 16:27:05 +02:00
Emanuele Bartolesi 6bd1065101
theme: add unicorn 2021-10-16 16:15:52 +02:00
Julien Bonnier d3c07ffd32 theme: add jblab_2021 2021-10-14 08:24:14 +02:00
Jack Tracey 93c95fe578
theme: add jtracey93 2021-10-13 01:04:58 +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
AmRo 356dda306c
theme: add amro 2021-10-05 17:36:43 +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 b3f537cb76 refactor: color logic performance 2021-09-25 11:25:04 +02:00
Jan De Dobbeleer 0e26aa2ace feat: inherit colors between segments 2021-09-24 19:41:11 +02:00
Justin Vogt 2528822c13
theme: add jv_sitecorian.omp.json 2021-09-24 17:33:37 +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 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 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
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
Jan0660 ffad394a4f feat(memory): add use_available and memory_type 2021-09-04 23:23:38 +02:00
Laurent Nullens bb246377ce
feat(git): display worktree count
resolves #913
2021-09-04 18:32:55 +00:00
Thomas Dörr e422e87384 theme: adds new themes (rudolfs dark / light) 2021-09-04 19:40:01 +02:00
Jan0660 daf91dc85a feat: memory segment 2021-09-03 22:49:56 +02:00
Luise Freese 817725f0e7
theme: add m365princess
closes #929
2021-09-02 19:27:39 +02:00
Majed Al-Chatti b9cd4785f8
theme: add blue-owl 2021-08-31 18:40:07 +00:00
Sebastian Mineur 2b53796c1a
feat(path): add 'max_depth' option for 'agnoster_short' 2021-08-20 15:06:37 +00:00
Laurent Nullens 2470abcc86
docs: owm units enum added to schema.json
Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
2021-08-20 15:00:35 +00:00
lnu e618163da3 feat(owm): support all units + hyperlink + http timeout
new http_timeout param for segments executing http request
doc updated
json schema updated(missing data for owm + timeout)
hyperlink replacement regex updated to support http/https, fix an inssue
when a segment with hyperlink was on the right prompt(pwsh)
2021-08-19 09:04:52 +02:00
Nico Glas 4f08d660b9
feat(segment): open weather map 2021-08-15 19:11:02 +00:00
Inskipp 572149b176
theme: add plague 2021-08-13 07:31:44 +02:00
Laurent Nullens f83fb24087 chore: add branch_max_length to schema 2021-08-03 08:20:48 +02:00
Timothy Wittig 12dfdb3708
chore: add no_commits_icon to schema
Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
2021-08-02 20:07:37 +02:00
Chris Donnelly 3dd512f2c2 theme: suppress revert_icon in half-life theme
Since this theme suppresses all other icons, it makes sense to also suppress revert_icon.
2021-07-30 16:04:50 +02:00
Chris Donnelly 6dbaa52481 chore: add revert_icon to schema 2021-07-30 16:04:50 +02:00
Jan De Dobbeleer 41a1085106
theme: introduce patriksvensson 2021-07-15 17:05:30 +02:00
Jan De Dobbeleer 1f4d05415c feat(path): letter full path
resolves #851
2021-07-13 20:18:03 +02:00
Tobias Hölzer c358d4fc4c
feat: rust segment 2021-07-04 22:53:10 +02:00
Jan De Dobbeleer 3fd70ce716 refactor: remove vertical_offset for transient prompt
relates to #807
2021-06-23 22:40:00 +02:00
Jan De Dobbeleer 7c72e76aff feat(pwsh): transient prompt 2021-06-22 08:42:35 +02:00
James Harris e16e6e34b7 feat(theme): wopian theme added 2021-06-21 19:02:34 +02:00
Jan De Dobbeleer 97a9916be0 chore(tooltips): update json schema 2021-06-13 19:46:02 +02:00
Laurent Nullens 3ec46f480b theme: fix powerlevel10k_rainbow
Use leading instead of trailing diamond
2021-06-11 12:14:16 +02:00
Jan De Dobbeleer f6a675e8c4 fix(schema): remove invalid character 2021-06-09 07:19:04 +02:00
Jan De Dobbeleer d7e1d5de72 chore: update json schema for mapped_locations
closes #776
2021-06-08 08:34:28 +02:00
RishabhSood d7258b1b5d
theme: add iterm2 2021-06-08 07:39:09 +02:00
Mateus Nunes 6e3ad9b1b1
theme: add mt 2021-06-08 07:38:30 +02:00
Jan De Dobbeleer b21670f35b fix: consistent naming for Oh My Posh
relates to https://github.com/microsoft/winget-pkgs/pull/16328
2021-06-06 13:42:33 +02:00
Anthony Shaw 9bb429d846
theme: add tonybaloney 2021-06-01 07:23:46 +02:00
Fabian Roberto Escarate 266bce3907
theme: add space to spaceship
Update spaceship.omp.json
2021-05-29 07:37:10 +02:00
Lars Bauer e8062af1bb feat(theme): display git status for half-life theme 2021-05-25 12:17:19 +02:00
Jan De Dobbeleer ae2042abcb fix: add round style to schema 2021-05-21 20:33:11 +02:00
Jan De Dobbeleer 71983dfd78
fix: remove backspace characters in themes 2021-05-16 19:05:26 +02:00
Micah Rairdon 36feb76f20 feat: azure devops support for git upstream icons 2021-05-15 17:41:15 +02:00
Jan De Dobbeleer 4030c32279 feat: add dart support 2021-05-14 21:28:16 +02:00
Jan De Dobbeleer 8f473df62f feat: support crystal language 2021-05-14 13:45:38 +02:00
João Gomes 3b975aa3f1 fix: remove vertical offset on first block 2021-05-05 22:31:40 +02:00
uruz-7 af628fb0e4 theme: update powerlevel10k_rainbow, blueish and marcduiker 2021-05-04 10:39:59 +02:00
Jan De Dobbeleer 22d3f4a2c0 theme(jandedobbeleer): remove posh-git segment
resolves #689
2021-04-27 18:57:04 +02:00
Ben Allred 608b486f8b
docs: fix incorrect git segment icon info 2021-04-24 19:47:54 +02:00
Anthony G a257ef0d06
feat: added gmay a theme based on jandedobbeleer 2021-04-23 16:21:54 +02:00
Kayla Cinnamon 186f71e878 theme: update cinnamon.omp.json 2021-04-22 21:22:47 +02:00
Jan De Dobbeleer c24ca82f17 feat: newline as part of block
this deprecates the "newline" block and favours using the newline
property on the Block component. For backwards compatibility we'll
keep recognizing the newline block for the time being.

resolves #607
2021-04-21 19:54:43 +02:00
Jan De Dobbeleer 7ad764ceee fix(ytdm): default to localhost IP
resolves #639
2021-04-20 21:37:09 +02:00
Youngbin Han 094b70f9b2 feat(themes): add powerlevel10k_modern theme 2021-04-19 17:49:57 +02:00
Jan De Dobbeleer 52f260caf6 feat(node): show NPM/Yarn context
resolves #653
2021-04-17 14:51:20 +02:00
Jonnychipz 6a6715faec feat: added jonnychipz theme 2021-04-16 17:30:17 +02:00
Jan De Dobbeleer 66dd9815a2 chore: add template to battery schema 2021-04-16 07:54:05 +02:00
lnu b9601b632a feat: show/hide stack count in path segment 2021-04-12 22:25:01 +02:00
Richard Hooper fb203eba51 feat(themes): adding pixelrobots theme 2021-04-12 12:38:01 +02:00
Jan De Dobbeleer 5bf3c3b2c7 fix: add missing azfunc segment to schema 2021-04-11 20:16:04 +02:00
Jan De Dobbeleer 01ea680002 theme: add marcduiker
thanks @marcduiker
2021-04-11 20:16:04 +02:00
Jan De Dobbeleer afb69b4229 feat: export image of the current theme 2021-04-11 10:53:10 +02:00
Jan De Dobbeleer e8f7eb7776 theme: update jandedobbeleer 2021-04-11 10:53:10 +02:00
Zilmar de Souza Junior b27016d325 feat(themes): add blueish theme 2021-04-09 07:15:45 +02:00
Stefan 7299d8a782 feat(theme): add stelbent
add new theme, Stelbent, using only the base powerline characters from
the private Unicode space

note: this theme does not require a Nerd Font
2021-04-07 16:56:18 +02:00
Jan De Dobbeleer 48d63bb8f9 theme: introduce cinnamon
for @cinnamon-msft
2021-04-02 20:02:15 +02:00
Jan De Dobbeleer 320ec1d7d3 feat(pwsh): posh-git segment 2021-03-27 17:52:53 +01:00
Jos3s 83246dffc4 feat(theme): add bubblesline
fix(theme): bubblesline
2021-03-27 17:48:17 +01:00
Jos3s 62f5b458c8 feat(theme): add bubbles 2021-03-27 07:07:50 +01:00
Timon Schelling 7d92b65d7b feat(theme): add microverse-power 2021-03-26 20:29:27 +01:00
Jos3s 11c04e0ae6 fix(theme): adding more supported languages 2021-03-26 06:21:49 +01:00
Jos3s 757c0359cf feat(theme): add cert 2021-03-25 21:43:18 +01:00
Jos3s b258e19af2 feat(theme): add remk
theme(feat): add space

feat(theme): add remk
2021-03-25 18:26:24 +01:00
Lars Bauer ac1bcd4c4c theme: add half-life 2021-03-24 12:37:55 +01:00
Jos3s e9ecb5c09d theme(feat): add space 2021-03-23 07:04:17 +01:00
Jos3s d213286ead feat(theme): add Huvix Theme
fix: correcting the huvix file name
2021-03-22 19:25:24 +01:00
Jan De Dobbeleer 4f1310b9d7 fix: correct json schema 2021-03-21 19:30:56 +01:00
Jan De Dobbeleer c185ebd09c feat(java): add segment 2021-03-18 17:14:40 +01:00
Jay Douglass 996cb9d6f2 fix: change robby russel exit code glyph to match ohmyzsh 2021-03-18 15:38:34 +01:00