From 5ee425fc48ca3347c23cc3b25108712bf8696e91 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Wed, 22 Oct 2025 17:12:30 -0400 Subject: config improvements --- .config/alacritty/alacritty.toml | 7 +++++++ .config/alacritty/theme.toml | 29 +++++++++++++++++++++++++++++ .config/emacs/init.el | 17 +++++++++++------ .config/hypr/binds.conf | 4 ++-- 4 files changed, 49 insertions(+), 8 deletions(-) create mode 100644 .config/alacritty/alacritty.toml create mode 100644 .config/alacritty/theme.toml (limited to '.config') diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml new file mode 100644 index 0000000..8749fba --- /dev/null +++ b/.config/alacritty/alacritty.toml @@ -0,0 +1,7 @@ +[general] +import = [ + "~/.config/alacritty/themes/themes/theme.toml" +] + +[window] +padding = { x = 5, y = 5 } diff --git a/.config/alacritty/theme.toml b/.config/alacritty/theme.toml new file mode 100644 index 0000000..cd09ebe --- /dev/null +++ b/.config/alacritty/theme.toml @@ -0,0 +1,29 @@ +# Colors (Tokyo Night) +# Source https//github.com/zatchheems/tokyo-night-alacritty-theme + +# Default colors +[colors.primary] +background = '#1a1b26' +foreground = '#a9b1d6' + +# Normal colors +[colors.normal] +black = '#32344a' +red = '#f7768e' +green = '#9ece6a' +yellow = '#e0af68' +blue = '#7aa2f7' +magenta = '#ad8ee6' +cyan = '#449dab' +white = '#787c99' + +# Bright colors +[colors.bright] +black = '#444b6a' +red = '#ff7a93' +green = '#b9f27c' +yellow = '#ff9e64' +blue = '#7da6ff' +magenta = '#bb9af7' +cyan = '#0db9d7' +white = '#acb0d0' \ No newline at end of file diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 51748cc..0799189 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -196,10 +196,10 @@ ;; :config ;; (load-theme 'dracula) ;; (set-face-attribute 'show-paren-match nil :background "dark violet" :foreground "black")) -(use-package gruber-darker-theme +(use-package doom-themes :demand t :config - (load-theme 'gruber-darker)) + (load-theme 'doom-tokyo-night)) ;; icons (use-package nerd-icons) @@ -295,13 +295,14 @@ (lsp-headerline-breadcrumb-enable nil) (lsp-completion-enable-additional-text-edit nil) (lsp-enable-on-type-formatting nil) + (lsp-enable-symbol-highlighting nil) (lsp-completion-provider :none) (lsp-idle-delay 0.1) (lsp-enable-indentation nil) - :hook ((c++-mode . lsp) - (c-mode . lsp) - (typst-ts-mode . lsp) - (java-mode . lsp)) + :hook ((c++-mode . lsp-deferred) + (c-mode . lsp-deferred) + (typst-ts-mode . lsp-deferred) + (java-mode . lsp-deferred)) :commands lsp) (use-package lsp-ui @@ -373,6 +374,10 @@ (setq-local completion-at-point-functions (list (my/lsp-capf-busted)))))) +(global-completion-preview-mode) +(global-set-key (kbd "M-n") 'completion-preview-next-candidate) +(global-set-key (kbd "M-p") 'completion-preview-prev-candidate) + ;; == snippets (use-package yasnippet :config diff --git a/.config/hypr/binds.conf b/.config/hypr/binds.conf index 9b09e3c..14d76e1 100644 --- a/.config/hypr/binds.conf +++ b/.config/hypr/binds.conf @@ -2,9 +2,9 @@ $mainMod = SUPER # used programs -$terminal = kitty +$terminal = alacritty $browser = firefox -$menu = wmenu-run +$menu = swenu-run $appMenu = fuzzel | xargs hyprctl dispatch exec -- # main binds -- cgit v1.2.3