1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-04 23:40:32 +00:00

Compare commits

...

6 commits

Author SHA1 Message Date
a4867e19a0 Add TOML formatter 2023-07-27 16:28:53 +02:00
a1b7fa51f7 Use --all-features in rust-analyzer 2023-07-27 16:28:00 +02:00
1d54dd5c4f Add Plots to global environment 2023-07-27 16:27:34 +02:00
8d38f5a520 Add oxitraffic layout 2023-07-27 16:27:23 +02:00
14840dccb8 Update Starship config 2023-07-27 16:27:13 +02:00
afb6684d4a Update dprint 2023-07-27 16:26:07 +02:00
5 changed files with 59 additions and 23 deletions

View file

@ -5,14 +5,17 @@
},
"markdown": {
},
"includes": ["**/*.{ts,tsx,js,jsx,cjs,mjs,json,md}"],
"toml": {
},
"includes": ["**/*.{ts,tsx,js,jsx,cjs,mjs,json,md,toml}"],
"excludes": [
"**/node_modules",
"**/*-lock.json"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.84.2.wasm",
"https://plugins.dprint.dev/json-0.17.2.wasm",
"https://plugins.dprint.dev/markdown-0.15.2.wasm"
"https://plugins.dprint.dev/typescript-0.85.1.wasm",
"https://plugins.dprint.dev/json-0.17.4.wasm",
"https://plugins.dprint.dev/markdown-0.15.3.wasm",
"https://plugins.dprint.dev/toml-0.5.4.wasm"
]
}

View file

@ -1,5 +1,6 @@
[language-server.rust-analyzer.config.checkOnSave]
command = "clippy"
[language-server.rust-analyzer.config]
check.command = "clippy"
cargo.features = "all"
[[language]]
name = "rust"
@ -19,12 +20,12 @@ auto-format = true
[[language]]
name = "bash"
formatter = { command = "beautysh", args=["-"] }
formatter = { command = "beautysh", args = ["-"] }
auto-format = true
[[language]]
name = "markdown"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "md" ] }
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "md"] }
auto-format = true
[[language]]
@ -34,7 +35,12 @@ auto-format = true
[[language]]
name = "javascript"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "js" ] }
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "js"] }
auto-format = true
[[language]]
name = "toml"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "toml"] }
auto-format = true
[[language]]

View file

@ -7,12 +7,6 @@ disabled = true
[julia]
disabled = true
[golang]
disabled = true
[lua]
disabled = true
[rust]
disabled = true
@ -22,9 +16,6 @@ disabled = true
[battery]
disabled = true
[directory]
truncate_to_repo = false
[sudo]
format = "$symbol"
symbol = "🗝️ "
@ -38,8 +29,3 @@ disabled = false
[git_metrics]
disabled = false
[env_var.POETRY_ACTIVE]
format = "[$symbol ]($style)"
style = "blue"
symbol = "poetry"

View file

@ -0,0 +1,40 @@
layout {
default_tab_template {
children
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
}
cwd "/home/mo/code/hosted/oxitraffic"
tab name="hx" split_direction="vertical" focus=true {
pane {
focus true
command "fish"
args "-C" "hx src/main.rs"
close_on_exit true
}
pane {
command "bacon"
}
}
tab name="git" split_direction="vertical" {
pane {
command "fish"
args "-C" "gitui"
close_on_exit true
}
}
tab name="bg" split_direction="vertical"{
pane {
command "podman"
args "run" "-it" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo/.tmp/oxitraffic_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
}
pane {
command "just"
args "tailwind"
}
}
}

View file

@ -2,4 +2,5 @@
IJulia = "7073ff75-c697-5162-941a-fcdaad2a7d2a"
LanguageServer = "2b0e0bc5-e4fd-59b4-8912-456d1b03d8d7"
OhMyREPL = "5fb14364-9ced-5910-84b2-373655c76a03"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"