From 4d68db3c1d6b266cafc35b88c157cb1c63599598 Mon Sep 17 00:00:00 2001 From: caiowakamatsu Date: Tue, 19 May 2026 17:49:19 -0300 Subject: [PATCH] update stuff --- hypr/hyprland.conf | 1 - hypr/monitors-berlin.conf | 2 ++ kitty/current-theme.conf | 68 +++++++++++-------------------------- nvim/init.lua | 2 +- nvim/lua/config/lsp.lua | 8 ++++- nvim/lua/plugins/coding.lua | 8 +++++ nvim/lua/plugins/ui.lua | 8 ++--- starship/starship.toml | 29 +++++++--------- zsh/.zshrc | 2 ++ 9 files changed, 55 insertions(+), 73 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 70aac6b..ee80037 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -153,7 +153,6 @@ animations { # See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more dwindle { - pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # You probably want this } diff --git a/hypr/monitors-berlin.conf b/hypr/monitors-berlin.conf index 822448f..e7bc538 100644 --- a/hypr/monitors-berlin.conf +++ b/hypr/monitors-berlin.conf @@ -1,2 +1,4 @@ monitor=,3440x1440@100,0x0,1 windowrule = float on, match:class ^(.*)$, match:title ^(cfi)$ +windowrule = float on, match:class ^(.*)$, match:title ^(Tanks Reborn)$ +windowrule = float on, match:class ^(.*)$, match:title ^(Rogue PT)$ diff --git a/kitty/current-theme.conf b/kitty/current-theme.conf index d8a8e2a..9d483b8 100644 --- a/kitty/current-theme.conf +++ b/kitty/current-theme.conf @@ -1,50 +1,20 @@ -# vim:ft=kitty +background #0000aa +foreground #ffffff +cursor #ffffff -## name: Tokyo Night -## license: MIT -## author: Folke Lemaitre -## upstream: https://github.com/folke/tokyonight.nvim/raw/main/extras/kitty/tokyonight_night.conf - - -background #1a1b26 -foreground #c0caf5 -selection_background #283457 -selection_foreground #c0caf5 -url_color #73daca -cursor #c0caf5 -cursor_text_color #1a1b26 - -# Tabs -active_tab_background #7aa2f7 -active_tab_foreground #16161e -inactive_tab_background #292e42 -inactive_tab_foreground #545c7e -#tab_bar_background #15161e - -# Windows -active_border_color #7aa2f7 -inactive_border_color #292e42 - -# normal -color0 #15161e -color1 #f7768e -color2 #9ece6a -color3 #e0af68 -color4 #7aa2f7 -color5 #bb9af7 -color6 #7dcfff -color7 #a9b1d6 - -# bright -color8 #414868 -color9 #ff899d -color10 #9fe044 -color11 #faba4a -color12 #8db0ff -color13 #c7a9ff -color14 #a4daff -color15 #c0caf5 - -# extended colors -color16 #ff9e64 -color17 #db4b4b +color0 #000000 +color1 #aa0000 +color2 #00aa00 +color3 #aa5500 +color4 #0000aa +color5 #aa00aa +color6 #00aaaa +color7 #aaaaaa +color8 #555555 +color9 #ff5555 +color10 #55ff55 +color11 #ffff55 +color12 #5555ff +color13 #ff55ff +color14 #55ffff +color15 #ffffff diff --git a/nvim/init.lua b/nvim/init.lua index 159eb5c..0a2d2a3 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -1,4 +1,4 @@ require("config.lazy") -vim.cmd('colorscheme tokyodark') +vim.cmd('colorscheme blue') diff --git a/nvim/lua/config/lsp.lua b/nvim/lua/config/lsp.lua index d84e8f4..69430b8 100644 --- a/nvim/lua/config/lsp.lua +++ b/nvim/lua/config/lsp.lua @@ -25,12 +25,18 @@ local on_attach = function(client, bufnr) vim.keymap.set("n", "K", vim.lsp.buf.hover, opts) end +vim.filetype.add({ + extension = { + cu = "cuda", + cuh = "cuda", + }, +}) -- clangd vim.lsp.config("clangd", { cmd = { "clangd", "--compile-commands-dir=build", "--experimental-modules-support" }, capabilities = caps, on_attach = on_attach, - filetypes = { "c", "cpp", "cc", "cxx", "c++", "ixx" }, + filetypes = { "c", "cpp", "cc", "cxx", "c++", "ixx", "cu", "cuh", "cuda" }, }) vim.lsp.enable("clangd") diff --git a/nvim/lua/plugins/coding.lua b/nvim/lua/plugins/coding.lua index eecf66d..66aea6f 100644 --- a/nvim/lua/plugins/coding.lua +++ b/nvim/lua/plugins/coding.lua @@ -35,4 +35,12 @@ return { { "neovim/nvim-lspconfig", }, + { + "azratul/live-share.nvim", + config = function() + require("live-share").setup({ + username = "caio", + }) + end + }, } diff --git a/nvim/lua/plugins/ui.lua b/nvim/lua/plugins/ui.lua index a6a4a59..ee4bbe6 100644 --- a/nvim/lua/plugins/ui.lua +++ b/nvim/lua/plugins/ui.lua @@ -1,8 +1,8 @@ return { - { - "sphamba/smear-cursor.nvim", - opts = {}, - }, +-- { +-- "sphamba/smear-cursor.nvim", +-- opts = {}, +-- }, { "nvim-tree/nvim-tree.lua", dependencies = { "nvim-tree/nvim-web-devicons" }, diff --git a/starship/starship.toml b/starship/starship.toml index 5807cc6..ee5bc0c 100644 --- a/starship/starship.toml +++ b/starship/starship.toml @@ -1,41 +1,36 @@ -add_newline = true - -format = """ -$username@$hostname$fill$directory$git_branch$git_status -$character -""" +add_newline = false +format = "$username@$hostname $directory$git_branch$git_status$character" # === Username / Host === [username] show_always = true format = "[$user]($style)" -style_user = "bold dimmed purple" +style_user = "bold white" [hostname] ssh_only = false format = "[$hostname]($style) " -style = "dimmed #B794F4" +style = "bold cyan" # === Directory === [directory] truncation_length = 3 -truncation_symbol = "…/" +truncation_symbol = "../" format = "[$path]($style) " -style = "bold #C4B5FD" +style = "bold yellow" # === Git === [git_branch] -symbol = " " +symbol = "" format = "[$symbol$branch]($style) " -style = "#9F7AEA" +style = "bold cyan" [git_status] -style = "dimmed #A78BFA" +style = "bold white" format = "([$all_status$ahead_behind]($style)) " # === Prompt Symbol === [character] -success_symbol = "[❯](bold #C4B5FD)" -error_symbol = "[❯](bold red)" -vicmd_symbol = "[❮](bold #C4B5FD)" - +success_symbol = "[>](bold green) " +error_symbol = "[>](bold red) " +vicmd_symbol = "[<](bold yellow) " diff --git a/zsh/.zshrc b/zsh/.zshrc index 3104c79..1b3f9fc 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -24,3 +24,5 @@ export CXX=/usr/bin/clang++ export HOSTNAME=$(hostname) eval "$(starship init zsh)" + +. "$HOME/.local/bin/env"