A mixed bad of updates

= Housekeeping, missing shrc.d and some changing in order.
  Most notably, split of editor aliases to separate file.
+ The missing .shrc.d files that were added:
  * keyboard mappings
  * bin.path - which includes cleanup
  * oh-my-posh compltions
+ edit-with-spacemacs ready for us, almost feature complete
  I still plan on making it resue existing frames is possible.
+ oh-my-posh config to include `systemctl is-system-running` to prompt
  when stat is not 'running' (mostly it will be shown when 'degraded')
This commit is contained in:
Gal Szkolnik 2022-06-04 14:56:36 -04:00
parent 8cb6f49db9
commit f445d39fc6
8 changed files with 109 additions and 17 deletions

View file

@ -12,6 +12,21 @@
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"type": "os"
},
{
"type": "command",
"foreground": "#d3d7cf",
"background": "red",
"background_templates": [
"{{ if contains \"running\" .Output }}#FFA400{{ end }}"
],
"powerline_symbol": "\ue0b0",
"style": "powerline",
"properties": {
"shell": "bash",
"command": "systemctl is-system-running || true"
},
"template": "{{ if contains \"running\" .Output }}{{ else }} {{ .Output }} {{ end }}"
},
{
"background": "#3465a4",
"foreground": "#e4e4e4",