Cleanup of files and better defaults.

This commit is contained in:
2026-08-02 06:02:19 +02:00
parent 03b64fec0a
commit bde8785dcd
4 changed files with 37 additions and 19 deletions
+8 -1
View File
@@ -68,6 +68,13 @@ add_to_path "$HOME/.odin/"
export PATH
# ==============================================================================
# AUTO COMPLETE
# ==============================================================================
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
fi
# ==============================================================================
# ALIASES
# ==============================================================================
@@ -154,4 +161,4 @@ git_prompt_info() {
echo " ${esc}[1;35m(${branch})${esc}[0m${marker}"
}
PS1='\[\033[32m\]\u\[\033[0m\]@\[\033[34m\]\h\[\033[0m\]:\[\033[36m\]\w\[\033[0m\]$(git_prompt_info)\$ '
PS1='\[\033[32m\]\u\[\033[0m\]@\[\033[34m\]\h\[\033[0m\]:\[\033[36m\]\w\[\033[0m\]$(git_prompt_info)\$ '
+19 -12
View File
@@ -2,21 +2,32 @@
process-unmapped-keys yes
)
;; HHKB Classic layout
;; HHKB Professional Classic (Linux)
;;
;; Small key left of Space = Muhenkan
;; Large key left of Space = Left Alt
;;
;; AwesomeWM:
;; modkey = "Mod4"
(defsrc
esc 1 2 3 4 5 6 7 8 9 0 - = \ grv
tab q w e r t y u i o p [ ] bspc
lctl a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lmet lalt spc ralt rmet ;; swapped here
muhenkan lalt spc ralt rmet
)
(defalias
nav (tap-hold 200 200 esc (layer-while-held navigation))
)
(deflayer base
@nav 1 2 3 4 5 6 7 8 9 0 - = \ grv
tab q w e r t y u i o p [ ] bspc
lctl a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lmet lalt spc ralt rmet ;; swapped here
tab q w e r t y u i o p [ ] bspc
lctl a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lmet lalt spc ralt rmet
)
(deflayer navigation
@@ -24,9 +35,5 @@
tab _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ left down up rght _ _ _
_ _ _ _ _ _ _ _ _ _ _ _
_ lalt _ _ _
)
(defalias
nav (tap-hold 200 200 esc (layer-while-held navigation))
)
_ lalt _ _ _
)
+7 -1
View File
@@ -29,7 +29,6 @@ vim.o.completeopt = "menu,menuone,noselect,popup,fuzzy"
vim.o.undofile = true
vim.o.undodir = vim.fn.stdpath("state") .. "/undo"
vim.o.errorformat = "%f(%l:%c) %m,%-G%.%#"
vim.cmd.colorscheme('retrobox')
-- -----------------------------
-- @BINDS
-- -----------------------------
@@ -49,6 +48,13 @@ map("n", "<C-e>", ":Lex<CR>")
map("n", "<C-backspace>", ":bd<CR>")
map("i", "<C-h>", vim.lsp.buf.signature_help)
-- -----------------------------
-- @TRANSPARENCY
-- -----------------------------
vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' })
vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none' })
vim.api.nvim_set_hl(0, 'FloatBorder', { bg = 'none' })
vim.api.nvim_set_hl(0, 'Pmenu', { bg = 'none' })
-- -----------------------------
-- @AUTOCMDS
-- -----------------------------
-- Terminals should open with insert mode
+3 -5
View File
@@ -84,12 +84,10 @@ if [ "$DO_LINKS" = true ]; then
SKIPPED=0
link_file "$DOTFILES_DIR/config/bash/bashrc" "$HOME/.bashrc"
link_file "$DOTFILES_DIR/config/kanata" "$HOME/.config/kanata"
link_file "$DOTFILES_DIR/config/alacritty" "$HOME/.config/alacritty"
link_file "$DOTFILES_DIR/config/picom" "$HOME/.config/picom"
link_file "$DOTFILES_DIR/config/awesome" "$HOME/.config/awesome"
link_file "$DOTFILES_DIR/config/rofi" "$HOME/.config/rofi"
link_file "$DOTFILES_DIR/config/kanata" "$HOME/.config/kanata"
link_file "$DOTFILES_DIR/config/nvim" "$HOME/.config/nvim"
link_file "$DOTFILES_DIR/config/sway" "$HOME/.config/sway"
link_file "$DOTFILES_DIR/scripts/bin" "$HOME/.local/bin"
echo ""
@@ -158,7 +156,7 @@ if [ "$DO_INSTALL" = true ]; then
# build & dev tools
base-devel valgrind tree-sitter-cli go
# window manager & desktop
picom xdotool wmctrl rofi kanata feh
swayfx kanata
# fonts
noto-fonts-ttf noto-fonts-emoji
)