Commit graph

54 commits

Author SHA1 Message Date
df8f030257 fix bad quoting 2022-11-02 15:47:04 +01:00
4f9312af01 fix: working under Zsh 2022-11-02 15:31:45 +01:00
8083f63500 clean from shellcheck 2022-11-02 14:39:18 +01:00
7cd8fafe0d note readme about Zsh 2022-11-02 14:14:36 +01:00
f6e7bed71a fix(error): add configurable space between mark and error 2022-11-01 07:54:49 +01:00
ecc3a396f4 fix(history): escape displayed commands 2022-11-01 07:54:29 +01:00
24d660cfdd disable history by default (slow) 2022-11-01 07:54:01 +01:00
c5fe937f62 feat(error meaning): use error meaning 2022-11-01 07:38:49 +01:00
0d53d15143 fix(hist): zsh string trim 2022-10-19 17:39:26 +02:00
ea0689b6f1 fix(load): use the adjusted metric 2022-10-19 09:00:02 +02:00
fe21fc486a feat(jobs/sensors): add warning thresholds 2022-10-18 23:42:47 +02:00
1a03962d42 feat(err): adds DOTMATRIX_MARK_ERROR 2022-10-18 22:38:59 +02:00
752173a433 fix(vcs): remove init of vcs diffstat config 2022-10-18 22:20:10 +02:00
95ad1f4534 fix(vcs): remove the useless "+" sign in ahead/behind commits section 2022-10-18 22:15:03 +02:00
0f5437bc1f feat(vcs): adds thresholds above which to use the warning color for VCS sections 2022-10-18 22:12:41 +02:00
ea11df19a2 fix(history): invert history's most and last position
Allows for a more visually stable line.
2022-10-18 21:30:05 +02:00
d0468afbdc fix(cmake): update c/cxx compiler fields
was using the old LP's single compiler
2022-10-18 20:24:01 +02:00
a1f701eb1d feat: adds shell
- polish middle line display: always have starting and ending mark.
- adds a shell display (disabled by default)
2022-10-15 20:30:58 +02:00
63abb62b29 fix dirstack colors
Correct alternating of dark/lite colors on plugs.
2022-10-15 18:39:16 +02:00
ef9eaeecd6 add the theme normalized long screenshot 2022-10-15 14:44:45 +02:00
249a89e304 feat: adds history section
- right-aligned on the middle line.
- shows the most used single-word command
- and the last command.
2022-10-15 13:16:59 +02:00
acc5b82c69 feat(header): use lp_join for multi-fields 2022-10-14 17:24:14 +02:00
cdbb41a631 feat: color the end of first side of first line when there are notes on the left side
Useful for reminding the user that there are some right-aligned information.
2022-10-13 22:30:02 +02:00
e4c7555404 fixes from shellcheck
- Fix fs and dfsg being unbound.
- Fix dangling color after second line.
- Simplify round variant seps.
- Make spaced dotmatrix variant the default.
2022-10-13 21:52:21 +02:00
503659303e simplify setup 2022-10-06 22:07:13 +02:00
c8e94509de add readme and screenshots 2022-10-06 22:02:02 +02:00
ed526bac31 get rid of anything out of dotmatrix 2022-10-06 21:13:24 +02:00
37bd32cf10 fix(dotmatrix): correct sudo handling 2022-10-06 20:50:10 +02:00
77f98f4b0a feat(dotmatrix): color prompt mark if root
Was only warning for sudo rights.
2022-10-06 20:50:10 +02:00
8fbe41d0f2 adds CMake item
Follows PR #733
2022-10-06 20:50:10 +02:00
8f53a48333 fix(dotmatrix): remote VCS segment space/color
- Fix VCS remote segment color.
- Fix ahead-commits spacing.
- Fix VCS segment default color.
- Fix sep_mid spacing.
- Fix the design doc accordingly.
2022-10-06 20:50:10 +02:00
2d830f3eba fix(dotmatrix): correct VCS spacing & colors
- Fix ahead commits separator color.
- Adds a space link before the last exit error (more readable).
2022-10-06 20:50:10 +02:00
796474b5f6 fix(dotmatrix): use NOTE for jobs
Easier to spot on the right side of the prompt.
2022-10-06 20:50:10 +02:00
f040cb3ce4 feat(dotmatrix): handle SSH colors 2022-10-06 20:50:10 +02:00
c76fb67d60 fix(dotmatrix): portable array indexing 2022-10-06 20:50:10 +02:00
8d9d1c676c fix(dotmatrix): review fixes
- Typos.
- Useless code.
2022-10-06 20:50:10 +02:00
083d89c6f0 fix(dotmatrix/middle): do not repeat stuff + gradient of colors
- Avoid repeating keywords in the middle line.
- Adds DOTMATRIX_ENABLE_GRADIENT_LINE to allow for a fading middle line.
2022-10-06 20:50:10 +02:00
94a427a407 fix(dotmatrix): shell checks 2022-10-06 20:50:10 +02:00
379302b72e refactor(dotmatrix): avoid subshell 2022-10-06 20:50:10 +02:00
d55844d2ed fix(dotmatrix): just pass the format to lp_terminal_format 2022-10-06 20:50:10 +02:00
0e16dacb72 refactor(dotmatrix): be more consistent in variables quoting/bracketing 2022-10-06 20:50:10 +02:00
085aefc933 refactor(dotmatrix): use _lp_fill instead of infamous subshells 2022-10-06 20:50:10 +02:00
483afe636b feat(dotmatrix): adds missing features
- wifi
- shell level
- sudo
- envs
- fix __dotmatrix_make_sep_dang
2022-10-06 20:50:10 +02:00
e0d70e0c11 feat(utils): adds _lp_fill and use it in dotmatrix 2022-10-06 20:50:10 +02:00
d18e623c38 fix(dotmatrix): optim loop
Avoid subshells
2022-10-06 20:48:31 +02:00
7d1d8b5092 refactor(dotmatrix): use __lp_strip_escapes
Instead of the deprecated _lp_as_text
2022-10-06 20:48:31 +02:00
cde80a17ae fix(dotmatrix): follow style rules on variable quoting and arrays 2022-10-06 20:48:31 +02:00
87483187bf fix(dotmatrix): fix style of the items in the env line
- add separators around items in the line,
- add optional spacing within items,
- fix color.
2022-10-06 20:48:31 +02:00
0b6c3a3894 adds dotmatrix stuff to the doc 2022-10-06 20:48:31 +02:00
3e6a09c777 [dotmatrix] more on vcs 2022-10-06 20:48:31 +02:00