diff options
| -rw-r--r-- | .config/alacritty/alacritty.toml | 7 | ||||
| -rw-r--r-- | .config/alacritty/theme.toml | 29 | ||||
| -rw-r--r-- | .config/emacs/init.el | 17 | ||||
| -rw-r--r-- | .config/hypr/binds.conf | 4 | ||||
| -rw-r--r-- | .zshrc | 6 |
5 files changed, 51 insertions, 12 deletions
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 @@ -19,13 +19,11 @@ unsetopt BEEP alias ls='ls --color=auto' alias grep='grep --color=auto' +stty -ixon + # Prompt set_prompt() { # PROMPT="%B%F{174}%n%f%b%F{15}@%f%F{81}%m %F{47}%~ %F{105}$(git-ps1)%F{15}$ " PROMPT="%B%F{153}%n %F{47}%~ %F{105}$(git-ps1)%F{15}$ " } precmd_functions+=(set_prompt) - -. "$HOME/.local/bin/env" - -echo -ne '\e[2 q' |
