https://www.youtube.com/watch?v=QlzoegSuIzg
To build a minimal linux distro, we need three parts:
- The Kernel
- Userspace (busybox)
- Bootloader (syslinux)
When the system boots, it loads the kernel, which loads busybox.
#!/bin/bash | |
# doas | |
alias su="gum confirm 'root?' && sudo -s || echo 'never mind'" | |
# exa | |
alias ls="exa -a1 --icons --group-directories-first" | |
alias tree="exa -T" | |
# cd |
class Base: | |
def __init__(self, base): | |
assert base in ["A", "T", "G", "C"], "Base must be A, T, G, or C" | |
self.__base: str = base | |
def compliment(self) -> "Base": | |
sup = { | |
"G": "C", | |
"C": "G", | |
"A": "T", |
https://www.youtube.com/watch?v=QlzoegSuIzg
To build a minimal linux distro, we need three parts:
When the system boots, it loads the kernel, which loads busybox.
theme = "tokyonight" | |
[editor] | |
# gutters = ["diagnostics", "spacer", "line-numbers", "spacer", "diff"] | |
gutters = ["diff", "diagnostics", "line-numbers", "spacer", "spacer"] | |
cursorline = true | |
[editor.lsp] | |
display-inlay-hints = true |
# Generated by Powerlevel10k configuration wizard on 2024-06-15 at 17:05 CDT. | |
# Based on romkatv/powerlevel10k/config/p10k-lean-8colors.zsh. | |
# Wizard options: nerdfont-v3 + powerline, small icons, unicode, lean_8colors, 2 lines, | |
# disconnected, left frame, white-ornaments, sparse, few icons, concise, | |
# transient_prompt, instant_prompt=verbose. | |
# Type `p10k configure` to generate another config. | |
# | |
# Config for Powerlevel10k with 8-color lean prompt style. Type `p10k configure` to generate | |
# your own config based on it. | |
# |
globinclude kitty.conf.d/**/*.conf | |
editor helix | |
# MISC | |
allow_remote_control yes | |
confirm_os_window_close 0 | |
shell_integration disabled | |
hide_window_decorations yes | |
map ctrl+shift+r load_config_file |
You'll need to install yazi
(terminal file browser), and jq
(for json queries)
create a directory at ~/.config/yazi/filetree_config
.
This is where we'll store the configs for this file picker so it doens't mess with the main config.
in filetree_config/config.toml
:
[manager]
ratio = [ 0, 8, 0 ]
output "eDP-1" { | |
scale 1.0 | |
} | |
binds { | |
Mod+Shift+Q { quit skip-confirmation=true; } | |
Mod+F { maximize-column; } | |
Mod+Left { focus-column-left; } | |
Mod+right { focus-column-right; } |