chore: clean up dotfiles and add gitignore whitelist

Switch to whitelist-based .gitignore to only track essential configs:
nvim, yazi, kitty, zsh, ideavim, karabiner, tmux, scripts, starship.
Remove history, compiled files, and plugin dirs from tracking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Thomas Naderer
2026-03-11 12:57:14 +01:00
parent 61b1e3d2a9
commit d8a20d620a
32 changed files with 1471 additions and 2868 deletions

View File

@@ -1,50 +1,80 @@
# vim:ft=kitty
## name: Tokyo Night Moon
## license: MIT
## author: Folke Lemaitre
## upstream: https://github.com/folke/tokyonight.nvim/raw/main/extras/kitty/tokyonight_moon.conf
## name: Catppuccin-Mocha
## author: Pocco81 (https://github.com/Pocco81)
## license: MIT
## upstream: https://github.com/catppuccin/kitty/blob/main/mocha.conf
## blurb: Soothing pastel theme for the high-spirited!
background #222436
foreground #c8d3f5
selection_background #2d3f76
selection_foreground #c8d3f5
url_color #4fd6be
cursor #c8d3f5
cursor_text_color #222436
# Tabs
active_tab_background #82aaff
active_tab_foreground #1e2030
inactive_tab_background #2f334d
inactive_tab_foreground #545c7e
#tab_bar_background #1b1d2b
# The basic colors
foreground #CDD6F4
background #1E1E2E
selection_foreground #1E1E2E
selection_background #F5E0DC
# Windows
active_border_color #82aaff
inactive_border_color #2f334d
# Cursor colors
cursor #F5E0DC
cursor_text_color #1E1E2E
# normal
color0 #1b1d2b
color1 #ff757f
color2 #c3e88d
color3 #ffc777
color4 #82aaff
color5 #c099ff
color6 #86e1fc
color7 #828bb8
# URL underline color when hovering with mouse
url_color #F5E0DC
# bright
color8 #444a73
color9 #ff8d94
color10 #c7fb6d
color11 #ffd8ab
color12 #9ab8ff
color13 #caabff
color14 #b2ebff
color15 #c8d3f5
# Kitty window border colors
active_border_color #B4BEFE
inactive_border_color #6C7086
bell_border_color #F9E2AF
# extended colors
color16 #ff966c
color17 #c53b53
# OS Window titlebar colors
wayland_titlebar_color system
macos_titlebar_color system
# Tab bar colors
active_tab_foreground #11111B
active_tab_background #CBA6F7
inactive_tab_foreground #CDD6F4
inactive_tab_background #181825
tab_bar_background #11111B
# Colors for marks (marked text in the terminal)
mark1_foreground #1E1E2E
mark1_background #B4BEFE
mark2_foreground #1E1E2E
mark2_background #CBA6F7
mark3_foreground #1E1E2E
mark3_background #74C7EC
# The 16 terminal colors
# black
color0 #45475A
color8 #585B70
# red
color1 #F38BA8
color9 #F38BA8
# green
color2 #A6E3A1
color10 #A6E3A1
# yellow
color3 #F9E2AF
color11 #F9E2AF
# blue
color4 #89B4FA
color12 #89B4FA
# magenta
color5 #F5C2E7
color13 #F5C2E7
# cyan
color6 #94E2D5
color14 #94E2D5
# white
color7 #BAC2DE
color15 #A6ADC8

View File

@@ -1,5 +1,14 @@
# Font Configuration
font_family MesloLGS NF
# -- Uncomment one font_family line to switch fonts (reload with ctrl+shift+F5) --
# font_family MesloLGS NF
# font_family JetBrainsMono Nerd Font
# font_family MonaspaceNeon Nerd Font
# font_family MonaspaceArgon Nerd Font
# font_family MonaspaceXenon Nerd Font
# font_family MonaspaceRadon Nerd Font
# font_family MonaspaceKrypton Nerd Font
font_family Maple Mono NF
# font_family VulfMono Demo Regular
bold_font auto
italic_font auto
bold_italic_font auto
@@ -8,15 +17,25 @@ font_size 15
# Font rendering improvements
disable_ligatures never
font_features MesloLGSNF +calt +liga
# Nerd Font symbol fallback for fonts without glyphs (e.g. Vulf Mono)
# symbol_map U+E000-U+F8FF,U+23FB-U+23FE,U+2665,U+26A1,U+F000-U+FFFD MesloLGS NF
text_composition_strategy platform
undercurl_style thin-sparse
# Cursor Configuration
cursor_shape beam
cursor_shape block
cursor_beam_thickness 1.5
cursor_underline_thickness 2.0
cursor_blink_interval 0.5
cursor_stop_blinking_after 15.0
cursor_text_color background
# Cursor trail (animated cursor movement)
cursor_trail 1
cursor_trail_decay 0.20 0.30
# optional tweaks
cursor_trail_start_threshold 20
# cursor_trail_color red
# Window Configuration
window_padding_width 0
@@ -58,7 +77,7 @@ include ./keymap.conf
macos_show_window_title_in none
# BEGIN_KITTY_THEME
# Catppuccin-Macchiato
# Catppuccin-Mocha
include current-theme.conf
# END_KITTY_THEME

56
kitty/theme.conf Normal file
View File

@@ -0,0 +1,56 @@
# Based on https://github.com/morhetz/gruvbox by morhetz <morhetz@gmail.com>
# Adapted to kitty by wdomitrz <witekdomitrz@gmail.com>
cursor #928374
cursor_text_color background
url_color #83a598
visual_bell_color #8ec07c
bell_border_color #8ec07c
active_border_color #d3869b
inactive_border_color #665c54
foreground #ebdbb2
background #282828
selection_foreground #928374
selection_background #ebdbb2
active_tab_foreground #fbf1c7
active_tab_background #665c54
inactive_tab_foreground #a89984
inactive_tab_background #3c3836
# black (bg3/bg4)
color0 #665c54
color8 #7c6f64
# red
color1 #cc241d
color9 #fb4934
#: green
color2 #98971a
color10 #b8bb26
# yellow
color3 #d79921
color11 #fabd2f
# blue
color4 #458588
color12 #83a598
# purple
color5 #b16286
color13 #d3869b
# aqua
color6 #689d6a
color14 #8ec07c
# white (fg4/fg3)
color7 #a89984
color15 #bdae93

19
kitty/toggle_blur.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
CONFIG_FILE="/Users/thomasnaderer/.config/kitty/kitty.conf"
# Check current blur setting
current_blur=$(grep "^background_blur" "$CONFIG_FILE" | awk '{print $2}')
if [ "$current_blur" = "0" ] || [ -z "$current_blur" ]; then
# Currently no blur, enable it
sed -i '' 's/^background_blur.*/background_blur 20/' "$CONFIG_FILE"
echo "Background blur enabled"
else
# Currently blurred, disable it
sed -i '' 's/^background_blur.*/background_blur 0/' "$CONFIG_FILE"
echo "Background blur disabled"
fi
# Reload kitty configuration
/opt/homebrew/bin/kitty @ load-config