minor updates for new installation

This commit is contained in:
Alexander Navarro 2024-05-29 08:29:57 -04:00
parent 5bd2af8969
commit 1f9c3a255b
8 changed files with 22 additions and 20 deletions

1
.gitignore vendored
View file

@ -15,3 +15,4 @@ result
config/ncspot/userstate.cbor config/ncspot/userstate.cbor
config/zsh/zprofile.local config/zsh/zprofile.local
config/spicetify/CustomApps/* config/spicetify/CustomApps/*
chezmoi/dot_config/zsh/aliases/work.zsh

View file

@ -11,15 +11,9 @@ tmp_dir="$(mktemp -d)"
cd "$tmp_dir" cd "$tmp_dir"
git clone --recurse-submodules git@github.com:catppuccin/gtk.git curl -LsS "https://raw.githubusercontent.com/catppuccin/gtk/main/install.py" -o install.py
cd gtk
python -m venv venv
source venv/bin/activate python3 install.py macchiato teal
pip install -r requirements.txt
python install.py macchiato --link -a teal -d ~/.themes --tweaks normal
rm -rf "$tmp_dir" rm -rf "$tmp_dir"
{{ end }} {{ end }}

View file

@ -1122,7 +1122,7 @@ confirm_os_window_close 0
#: The foreground and background colors. #: The foreground and background colors.
background_opacity 0.8 # background_opacity 0.8
#: The opacity of the background. A number between zero and one, where #: The opacity of the background. A number between zero and one, where
#: one is opaque and zero is fully transparent. This will only work if #: one is opaque and zero is fully transparent. This will only work if

View file

@ -2,14 +2,14 @@ return {
"akinsho/bufferline.nvim", "akinsho/bufferline.nvim",
event = "VeryLazy", event = "VeryLazy",
keys = { keys = {
{ "<leader>bp", "<Cmd>BufferLineTogglePin<CR>", desc = "Toggle pin" }, { "<leader>bp", "<Cmd>BufferLineTogglePin<CR>", desc = "Toggle pin" },
{ "<leader>bP", "<Cmd>BufferLineGroupClose ungrouped<CR>", desc = "Close non-pinned buffers" }, { "<leader>bP", "<Cmd>BufferLineGroupClose ungrouped<CR>", desc = "Close non-pinned buffers" },
{ "<leader>bO", "<Cmd>BufferLineCloseOthers<CR>", desc = "Close non focused buffers" }, { "<leader>bO", "<Cmd>BufferLineCloseOthers<CR>", desc = "Close non focused buffers" },
{ "<leader>bA", "<Cmd>bufdo bd<CR>", desc = "Close all buffers" }, { "<leader>bA", "<Cmd>bufdo bd<CR>", desc = "Close all buffers" },
{ "<leader>bh", "<Cmd>BufferLineMovePrev<CR>", desc = "Move buffer to right" }, { "<leader>bh", "<Cmd>BufferLineMovePrev<CR>", desc = "Move buffer to right" },
{ "<leader>bl", "<Cmd>BufferLineMoveNext<CR>", desc = "Move buffer to left" }, { "<leader>bl", "<Cmd>BufferLineMoveNext<CR>", desc = "Move buffer to left" },
{ "<S-h>", "<cmd>BufferLineCyclePrev<cr>", desc = "Prev buffer" }, { "<S-h>", "<cmd>BufferLineCyclePrev<cr>", desc = "Prev buffer" },
{ "<S-l>", "<cmd>BufferLineCycleNext<cr>", desc = "Next buffer" }, { "<S-l>", "<cmd>BufferLineCycleNext<cr>", desc = "Next buffer" },
}, },
dependencies = { dependencies = {
{ {
@ -39,7 +39,7 @@ return {
diagnostics_indicator = function(_, _, diag) diagnostics_indicator = function(_, _, diag)
local icons = require("aleidk.constants").icons.diagnostics local icons = require("aleidk.constants").icons.diagnostics
local ret = (diag.error and icons.Error .. diag.error .. " " or "") local ret = (diag.error and icons.Error .. diag.error .. " " or "")
.. (diag.warning and icons.Warn .. diag.warning or "") .. (diag.warning and icons.Warn .. diag.warning or "")
return vim.trim(ret) return vim.trim(ret)
end, end,
-- return false to exluce buffers -- return false to exluce buffers
@ -51,6 +51,11 @@ return {
return false return false
end end
-- disable for dadbod query buffers
if string.find(vim.fn.bufname(buf_number), "db_ui") then
return false
end
return true return true
end, end,
offsets = { offsets = {

View file

@ -20,6 +20,7 @@ return {
lua = { "stylua" }, lua = { "stylua" },
markdown = { "markdownlint" }, markdown = { "markdownlint" },
nim = { "nimpretty" }, nim = { "nimpretty" },
php = { "pint" },
python = { "blue" }, python = { "blue" },
scss = { { "prettierd", "prettier" } }, scss = { { "prettierd", "prettier" } },
sh = { "shfmt" }, sh = { "shfmt" },

View file

@ -7,7 +7,7 @@ return {
{ "williamboman/mason.nvim" }, { "williamboman/mason.nvim" },
"williamboman/mason-lspconfig.nvim", "williamboman/mason-lspconfig.nvim",
-- Additional lua configuration, makes nvim stuff amazing! -- Additional lua configuration, makes nvim stuff amazing!
{ "folke/neodev.nvim", opts = {} }, { "folke/neodev.nvim", opts = {} },
}, },
config = function() config = function()
@ -59,6 +59,7 @@ return {
emmet_ls = {}, emmet_ls = {},
html = {}, html = {},
pyright = {}, pyright = {},
phpactor = {},
rust_analyzer = { rust_analyzer = {
settings = { settings = {
["rust-analyzer"] = { ["rust-analyzer"] = {

View file

@ -23,7 +23,7 @@
"gitsigns.nvim": { "branch": "main", "commit": "5a9a6ac29a7805c4783cda21b80a1e361964b3f2" }, "gitsigns.nvim": { "branch": "main", "commit": "5a9a6ac29a7805c4783cda21b80a1e361964b3f2" },
"grapple.nvim": { "branch": "main", "commit": "8648afb68bbee59b06c6a66436d6a6083daa569b" }, "grapple.nvim": { "branch": "main", "commit": "8648afb68bbee59b06c6a66436d6a6083daa569b" },
"indent-blankline.nvim": { "branch": "master", "commit": "046e2cf04e08ece927bacbfb87c5b35c0b636546" }, "indent-blankline.nvim": { "branch": "master", "commit": "046e2cf04e08ece927bacbfb87c5b35c0b636546" },
"lazy.nvim": { "branch": "main", "commit": "16603c6917435d8446f7357cb61095138a417085" }, "lazy.nvim": { "branch": "main", "commit": "8f19915175395680808de529e4220da8dafc0759" },
"lazygit.nvim": { "branch": "main", "commit": "de35012036d43bca03628d40d083f7c02a4cda3f" }, "lazygit.nvim": { "branch": "main", "commit": "de35012036d43bca03628d40d083f7c02a4cda3f" },
"lualine.nvim": { "branch": "master", "commit": "2248ef254d0a1488a72041cfb45ca9caada6d994" }, "lualine.nvim": { "branch": "master", "commit": "2248ef254d0a1488a72041cfb45ca9caada6d994" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "9453e3d6cd2ca45d96e20f343e8f1b927364b630" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "9453e3d6cd2ca45d96e20f343e8f1b927364b630" },

View file

@ -110,7 +110,7 @@ TMUX_FZF_OPTIONS="-p -w 80% -h 60% -m"
# Tmux Management # Tmux Management
bind-key "f" run-shell "fzf-tmux-sessions" bind-key "f" run-shell "~/.local/share/chezmoi/scripts/fzf-tmux-sessions"
bind-key "F" run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/session.sh switch" bind-key "F" run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/session.sh switch"
# bind-key "F" run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/window.sh switch" # bind-key "F" run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/window.sh switch"