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 = [
"typescript-language-server",
"biome",
"graphql-language-service",
{ name = "efm", only-features = [
"diagnostics",
"format",
] },
"hx-lsp",
# "graphql-language-service",
# { name = "efm", only-features = ["diagnostics", "format"] },
# "hx-lsp",
]
auto-format = true
formatter = { command = "biome", args = [

@ -186,18 +186,17 @@ def branch-name [] {
export def `zjstatus powerline_right` [] {
use ci.nu
let sys = (sys)
let elements = ([
(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: ""
bg: "cyan"
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: ""
bg: "green"
fg: $ZELLIJ_BG

Loading…
Cancel
Save