main
Julius Riegel 3 months ago
parent 4bed2ccaa5
commit 43e324e7ea
No known key found for this signature in database
GPG Key ID: F26D704A1D3394EB

@ -75,12 +75,9 @@
language-servers = [ language-servers = [
"typescript-language-server", "typescript-language-server",
"biome", "biome",
"graphql-language-service", # "graphql-language-service",
{ name = "efm", only-features = [ # { name = "efm", only-features = ["diagnostics", "format"] },
"diagnostics", # "hx-lsp",
"format",
] },
"hx-lsp",
] ]
auto-format = true auto-format = true
formatter = { command = "biome", args = [ formatter = { command = "biome", args = [

@ -186,18 +186,17 @@ def branch-name [] {
export def `zjstatus powerline_right` [] { export def `zjstatus powerline_right` [] {
use ci.nu use ci.nu
let sys = (sys)
let elements = ([ let elements = ([
(try { ci status } catch { null }) (try { ci status } catch { null })
{ {
text: ($sys.cpu.cpu_usage | math avg | math round -p 2 | $"($in) % " | fill -a right -c ' ' -w 8) text: (sys cpu | get cpu_usage | math avg | math round -p 2 | $"($in) % " | fill -a right -c ' ' -w 8)
icon: "" icon: ""
bg: "cyan" bg: "cyan"
fg: $ZELLIJ_BG fg: $ZELLIJ_BG
} }
{ {
text: ($"($sys.mem.used) " | fill -a right -c ' ' -w 8) text: ($"(sys mem | get used) " | fill -a right -c ' ' -w 8)
icon: "" icon: ""
bg: "green" bg: "green"
fg: $ZELLIJ_BG fg: $ZELLIJ_BG

Loading…
Cancel
Save