mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-02 23:33:05 +00:00
Compare commits
5 commits
da96254723
...
5864f43ea2
Author | SHA1 | Date | |
---|---|---|---|
5864f43ea2 | |||
91888a1cdb | |||
5d04442236 | |||
aa371f7856 | |||
188e12796e |
15 changed files with 89 additions and 75 deletions
|
@ -7,15 +7,15 @@
|
|||
},
|
||||
"toml": {
|
||||
},
|
||||
"includes": ["**/*.{ts,tsx,js,jsx,cjs,mjs,json,md,toml}"],
|
||||
"includes": ["**/*.{ts,tsx,js,jsx,json,md,toml}"],
|
||||
"excludes": [
|
||||
"**/node_modules",
|
||||
"**/*-lock.json"
|
||||
],
|
||||
"plugins": [
|
||||
"https://plugins.dprint.dev/typescript-0.85.1.wasm",
|
||||
"https://plugins.dprint.dev/typescript-0.86.2.wasm",
|
||||
"https://plugins.dprint.dev/json-0.17.4.wasm",
|
||||
"https://plugins.dprint.dev/markdown-0.15.3.wasm",
|
||||
"https://plugins.dprint.dev/markdown-0.16.0.wasm",
|
||||
"https://plugins.dprint.dev/toml-0.5.4.wasm"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ if status is-interactive
|
|||
|
||||
# Aliases
|
||||
alias cd "z"
|
||||
alias ls "exa --icons --group-directories-first --time-style long-iso --no-filesize --git"
|
||||
alias ls "lsd"
|
||||
alias ll "ls -l"
|
||||
alias cat "bat"
|
||||
alias gu "gitui"
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
(
|
||||
selected_tab: Reset,
|
||||
command_fg: White,
|
||||
selection_bg: Blue,
|
||||
selection_fg: White,
|
||||
cmdbar_bg: Blue,
|
||||
cmdbar_extra_lines_bg: Blue,
|
||||
disabled_fg: DarkGray,
|
||||
diff_line_add: Green,
|
||||
diff_line_delete: Red,
|
||||
diff_file_added: LightGreen,
|
||||
diff_file_removed: LightRed,
|
||||
diff_file_moved: LightMagenta,
|
||||
diff_file_modified: Yellow,
|
||||
commit_hash: Magenta,
|
||||
commit_time: LightCyan,
|
||||
commit_author: Green,
|
||||
danger_fg: Red,
|
||||
push_gauge_bg: Blue,
|
||||
push_gauge_fg: Reset,
|
||||
tag_fg: LightMagenta,
|
||||
branch_fg: LightYellow,
|
||||
)
|
22
.config/lsd/config.yaml
Normal file
22
.config/lsd/config.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
# This specifies the columns and their order when using the long and the tree
|
||||
# layout.
|
||||
# Possible values: permission, user, group, context, size, date, name, inode, links, git
|
||||
blocks:
|
||||
- permission
|
||||
- user
|
||||
- group
|
||||
- size
|
||||
- date
|
||||
- git
|
||||
- name
|
||||
|
||||
# This specifies the date format for the date column. The freeform format
|
||||
# accepts a strftime like string.
|
||||
# Possible values: date, relative, '+<date_format>'
|
||||
# `date_format` will be a `strftime` formatted value. e.g. `date: '+%d %b %y %X'` will give you a date like this: 17 Jun 21 20:14:55
|
||||
date: +%d-%m-%y %H:%M:%S
|
||||
|
||||
sorting:
|
||||
# Whether to group directories together and where.
|
||||
# Possible values: first, last, none
|
||||
dir-grouping: first
|
|
@ -15,6 +15,7 @@ keybinds clear-defaults=true {
|
|||
bind "Alt r" { SwitchToMode "resize"; }
|
||||
bind "Alt s" { SwitchToMode "scroll"; }
|
||||
bind "Alt m" { SwitchToMode "move"; }
|
||||
bind "Alt d" { SwitchToMode "session"; }
|
||||
bind "Alt n" { NewPane; }
|
||||
bind "Alt k" { FocusNextPane; }
|
||||
bind "Alt j" { FocusPreviousPane; }
|
||||
|
@ -66,4 +67,14 @@ keybinds clear-defaults=true {
|
|||
bind "l" { PageScrollDown; }
|
||||
bind "h" { PageScrollUp; }
|
||||
}
|
||||
session {
|
||||
bind "d" { Detach; }
|
||||
bind "m" {
|
||||
LaunchOrFocusPlugin "zellij:session-manager" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
};
|
||||
SwitchToMode "Normal";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ layout {
|
|||
}
|
||||
}
|
||||
|
||||
cwd "/home/mo/code/hosted/advlabdb"
|
||||
cwd "/home/mo8it/code/hosted/advlabdb"
|
||||
|
||||
tab name="git" {
|
||||
pane {
|
||||
|
|
|
@ -6,13 +6,13 @@ layout {
|
|||
}
|
||||
}
|
||||
|
||||
cwd "/home/mo/code/collective-score"
|
||||
cwd "/home/mo8it/code/hosted/collective-score"
|
||||
|
||||
tab name="hx" split_direction="vertical" focus=true {
|
||||
pane {
|
||||
focus true
|
||||
cwd "crates"
|
||||
command "fish"
|
||||
args "-C" "hx"
|
||||
close_on_exit true
|
||||
}
|
||||
pane {
|
||||
|
@ -26,5 +26,11 @@ layout {
|
|||
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/mo8it/.tmp/cs_server_db:/var/lib/postgresql/data:Z" "--env-file" "crates/server/.env" "docker.io/library/postgres:15-alpine"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
31
.config/zellij/layouts/dev_tools.kdl
Normal file
31
.config/zellij/layouts/dev_tools.kdl
Normal file
|
@ -0,0 +1,31 @@
|
|||
layout {
|
||||
default_tab_template {
|
||||
children
|
||||
pane size=1 borderless=true {
|
||||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
}
|
||||
|
||||
cwd "/home/mo8it/code/hosted/dev_tools"
|
||||
|
||||
tab name="hx" split_direction="vertical" focus=true {
|
||||
pane {
|
||||
focus true
|
||||
cwd "src"
|
||||
command "fish"
|
||||
args "-C" "hx ."
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
tab name="git" split_direction="vertical" {
|
||||
pane {
|
||||
command "gitui"
|
||||
}
|
||||
}
|
||||
tab name="mdbook" split_direction="vertical" {
|
||||
pane {
|
||||
command "mdbook"
|
||||
args "serve"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
layout {
|
||||
default_tab_template {
|
||||
children
|
||||
pane size=1 borderless=true {
|
||||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
}
|
||||
|
||||
cwd "/home/mo/code/hosted/how_to_linux"
|
||||
|
||||
tab name="git" {
|
||||
pane {
|
||||
command "fish"
|
||||
args "-c" "gitui"
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
tab name="hx" focus=true {
|
||||
pane {
|
||||
cwd "src"
|
||||
command "fish"
|
||||
args "-c" "hx"
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
tab name="mdbook" {
|
||||
pane {
|
||||
command "fish"
|
||||
args "-c" "mdbook serve"
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
}
|
|
@ -6,7 +6,7 @@ layout {
|
|||
}
|
||||
}
|
||||
|
||||
cwd "/home/mo/code/info_monitor"
|
||||
cwd "/home/mo8it/code/info_monitor"
|
||||
|
||||
tab name="hx" split_direction="vertical" focus=true {
|
||||
pane {
|
||||
|
@ -29,7 +29,7 @@ layout {
|
|||
tab name="bg" split_direction="vertical"{
|
||||
pane {
|
||||
command "podman"
|
||||
args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo/.tmp/info_monitor_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
|
||||
args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/info_monitor_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
|
||||
}
|
||||
pane {
|
||||
command "npx"
|
||||
|
|
|
@ -6,7 +6,7 @@ layout {
|
|||
}
|
||||
}
|
||||
|
||||
cwd "/home/mo/code/hosted/oxiform"
|
||||
cwd "/home/mo8it/code/hosted/oxiform"
|
||||
|
||||
tab name="hx" split_direction="vertical" focus=true {
|
||||
pane {
|
||||
|
@ -29,7 +29,7 @@ layout {
|
|||
tab name="bg" split_direction="vertical"{
|
||||
pane {
|
||||
command "podman"
|
||||
args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo/.tmp/oxiform_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
|
||||
args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/oxiform_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
|
||||
}
|
||||
pane {
|
||||
command "npx"
|
||||
|
|
|
@ -6,7 +6,7 @@ layout {
|
|||
}
|
||||
}
|
||||
|
||||
cwd "/home/mo/code/hosted/oxitraffic"
|
||||
cwd "/home/mo8it/code/hosted/oxitraffic"
|
||||
|
||||
tab name="hx" split_direction="vertical" focus=true {
|
||||
pane {
|
||||
|
@ -29,7 +29,7 @@ layout {
|
|||
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"
|
||||
args "run" "-it" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/oxitraffic_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
|
||||
}
|
||||
pane {
|
||||
command "just"
|
||||
|
|
|
@ -6,7 +6,7 @@ layout {
|
|||
}
|
||||
}
|
||||
|
||||
cwd "/home/mo/code/pgp"
|
||||
cwd "/home/mo8it/code/pgp"
|
||||
|
||||
tab name="jupyterlab" focus=true {
|
||||
pane {
|
||||
|
|
|
@ -25,20 +25,20 @@ layout {
|
|||
args "-c" "rustup update stable && cargo install-update -a"
|
||||
}
|
||||
pane {
|
||||
cwd "/home/mo/code/compile/helix"
|
||||
cwd "/home/mo8it/code/compile/helix"
|
||||
command "fish"
|
||||
args "-c" "git pull -r && cargo +stable install --path helix-term"
|
||||
args "-c" "git pull -r origin master && cargo +stable install --path helix-term --locked"
|
||||
}
|
||||
}
|
||||
|
||||
pane split_direction="vertical" {
|
||||
pane {
|
||||
cwd "/home/mo/servers/ansible"
|
||||
cwd "/home/mo8it/servers/ansible"
|
||||
command "ansible-playbook"
|
||||
args "playbooks/update_dnf.yaml"
|
||||
}
|
||||
pane {
|
||||
cwd "/home/mo/servers/ansible"
|
||||
cwd "/home/mo8it/servers/ansible"
|
||||
command "ansible-playbook"
|
||||
args "playbooks/update_apt.yaml"
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ layout {
|
|||
}
|
||||
}
|
||||
|
||||
cwd "/home/mo/code/hosted/mo8it.com"
|
||||
cwd "/home/mo8it/code/hosted/mo8it.com"
|
||||
|
||||
tab name="hx" split_direction="vertical" focus=true {
|
||||
pane {
|
||||
|
|
Loading…
Reference in a new issue