mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-04 20:22:33 +01:00
Compare commits
3 commits
220086dbde
...
33e82ac1ac
Author | SHA1 | Date | |
---|---|---|---|
33e82ac1ac | |||
c5e0c62ff3 | |||
14237e56fa |
5 changed files with 14 additions and 10 deletions
|
@ -54,7 +54,7 @@ end
|
|||
:clock {:tooltip-format "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||
:format-alt "{:%Y-%m-%d}"}
|
||||
:cpu {:format (.. (faccumulate [s "" i 0 (- (cg.opt.system :nproc) 1)]
|
||||
(.. s "{icon" i "}")) " {usage}% ")
|
||||
(.. s "{icon" i "}")) " {usage}% {avg_frequency}GHz ")
|
||||
:interval 2
|
||||
: format-icons}
|
||||
:memory {:format "{}% "}
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1731655425,
|
||||
"narHash": "sha256-86Nv++/fLo7odqCHtkjuu0VDpiJ6WYlnkzqcS5QEPxs=",
|
||||
"lastModified": 1731875774,
|
||||
"narHash": "sha256-HIl3lTqMVu/RXx9Gav46qai6+OV9Gu3cQFbvZSOvjJI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "91350eb041833e2f37dccd69ff596a1981ebbd33",
|
||||
"rev": "6c33d760f16f52ffc0dd8538b9239808d96ec699",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -14,8 +14,14 @@
|
|||
(.. "typst watch --root " root
|
||||
" " file " " outfile)
|
||||
(.. "typst watch " file " "
|
||||
outfile))})]
|
||||
(term:toggle)
|
||||
(vim.uv.spawn :zathura {:args [outfile]}
|
||||
(fn [code signal] (term:shutdown)))))]
|
||||
outfile))})
|
||||
viewer-timer (vim.uv.new_timer)]
|
||||
(term:open)
|
||||
(viewer-timer:start 2000 0
|
||||
(fn []
|
||||
(viewer-timer:stop)
|
||||
(viewer-timer:close)
|
||||
(vim.uv.spawn :zathura {:args [outfile]}
|
||||
(fn [code signal]
|
||||
(vim.schedule #(term:shutdown))))))))]
|
||||
(vim.api.nvim_create_user_command :TypstWatch cb {:nargs 0}))
|
||||
|
|
|
@ -91,7 +91,6 @@
|
|||
:telemetry {:enable false}}}})
|
||||
|
||||
(setup :nil_ls {:settings {:nil {:formatting {:command [:nixpkgs-fmt]}}}})
|
||||
(setup :ocamllsp)
|
||||
(setup :openscad_lsp)
|
||||
(setup :prosemd_lsp)
|
||||
(setup :racket_langserver)
|
||||
|
|
|
@ -53,7 +53,6 @@ let
|
|||
)
|
||||
lua-language-server
|
||||
(flakePkg "github:oxalica/nil")
|
||||
ocamlPackages.ocaml-lsp
|
||||
openscad-lsp
|
||||
(pkgs.rustPlatform.buildRustPackage {
|
||||
name = "prosemd-lsp";
|
||||
|
|
Loading…
Reference in a new issue