3 Commits

Author SHA1 Message Date
Josue Zamudio
a398b6d1d1 fix: conficts 2026-02-11 12:51:14 -08:00
Josue Zamudio
8344503822 fix: move enviroment variables to ssytem. Might be better to put them for future ?? 2026-02-11 12:14:23 -08:00
Josue Zamudio
14f0c144f9 latest 2026-02-11 12:00:12 -08:00
10 changed files with 77 additions and 80 deletions

View File

@@ -35,7 +35,6 @@ monitor=,preferred,auto,auto
# Set programs that you use # Set programs that you use
$terminal = kitty $terminal = kitty
#$terminal = foot
$fileManager = nautilus $fileManager = nautilus
$menu = wofi --show drun -GI $menu = wofi --show drun -GI
@@ -215,23 +214,9 @@ misc {
xwayland { xwayland {
force_zero_scaling = true force_zero_scaling = true
} }
env = GTK_SCALE,1 env = GTK_SCALE,1
env = XCURSOR_SIZE,32 env = XCURSOR_SIZE,32
plugin {
hy3 {
tabs {
# height of the tab bar
height = 2 # default: 22
# render the window title on the bar
render_text = false # default: true
}
}
}
############# #############
### INPUT ### ### INPUT ###
@@ -281,7 +266,7 @@ bind = $mainMod, M, exec, hyprlock
bind = $mainMod SHIFT, SPACE, togglefloating, bind = $mainMod SHIFT, SPACE, togglefloating,
bind = $mainMod SHIFT, Q, hy3:killactive, bind = $mainMod SHIFT, Q, hy3:killactive,
bind = $mainMod SHIFT, E, exit, bind = $mainMod SHIFT, M, exit,
bind = $mainMod SHIFT, S, pin bind = $mainMod SHIFT, S, pin

View File

@@ -6,7 +6,7 @@ background {
input-field { input-field {
monitor = monitor =
size = 15%, 5% size = 20%, 5%
font_family = Noto Sans font_family = Noto Sans
dots_size = 0.08 dots_size = 0.08
} }
@@ -15,6 +15,6 @@ input-field {
label { label {
monitor = monitor =
text = $TIME text = $TIME
font_size = 200 font_size = 80
position = 0, 200 position = 0, -10
} }

View File

@@ -1,4 +1,4 @@
font_size 10.5 font_size 11.5
#text_composition_strategy legacy #text_composition_strategy legacy
#modify_font cell_width 95% #modify_font cell_width 95%
@@ -9,6 +9,11 @@ cursor_trail_start_threshold 0
shell_integration no-cursor shell_integration no-cursor
cursor_trail_decay 0.01 0.15 cursor_trail_decay 0.01 0.15
cursor_shape block cursor_shape block
cursor_blink true
map cmd+c copy_to_clipboard
map cmd+v paste_from_clipboard
map shift+insert paste_from_clipboard
linux_display_server wayland linux_display_server wayland
wayland_enable_ime yes wayland_enable_ime yes

View File

@@ -16,9 +16,9 @@ vim.cmd("set number")
vim.cmd("set relativenumber") vim.cmd("set relativenumber")
vim.cmd("set expandtab") vim.cmd("set expandtab")
vim.cmd("set shiftwidth=2") vim.cmd("set shiftwidth=4")
vim.cmd("set softtabstop=2") vim.cmd("set softtabstop=4")
vim.cmd("set tabstop=2") vim.cmd("set tabstop=4")
vim.cmd("set smartindent") vim.cmd("set smartindent")
vim.cmd("set backspace=indent,eol,start") vim.cmd("set backspace=indent,eol,start")

View File

@@ -0,0 +1,63 @@
return {
"yetone/avante.nvim",
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
-- ⚠️ must add this setting! ! !
build = vim.fn.has("win32") ~= 0
and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false"
or "make",
event = "VeryLazy",
version = false, -- Never set this value to "*"! Never!
---@module 'avante'
---@type avante.Config
opts = {
-- add any opts here
-- this file can contain specific instructions for your project
instructions_file = "avante.md",
-- for example
provider = "ollama",
providers = {
ollama = {
model = "devstral-small-2:24b-32k",
--is_env_set = require("avante.providers.ollama").check_endpoint_alive,
},
},
},
dependencies = {
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
--- The below dependencies are optional,
"nvim-mini/mini.pick", -- for file_selector provider mini.pick
"nvim-telescope/telescope.nvim", -- for file_selector provider telescope
"hrsh7th/nvim-cmp", -- autocompletion for avante commands and mentions
"ibhagwan/fzf-lua", -- for file_selector provider fzf
"stevearc/dressing.nvim", -- for input provider dressing
"folke/snacks.nvim", -- for input provider snacks
"nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
"zbirenbaum/copilot.lua", -- for providers='copilot'
{
-- support for image pasting
"HakonHarnes/img-clip.nvim",
event = "VeryLazy",
opts = {
-- recommended settings
default = {
embed_image_as_base64 = false,
prompt_for_file_name = false,
drag_and_drop = {
insert_mode = true,
},
-- required for Windows users
use_absolute_path = true,
},
},
},
{
-- Make sure to set this up properly if you have lazy=true
'MeanderingProgrammer/render-markdown.nvim',
opts = {
file_types = { "markdown", "Avante" },
},
ft = { "markdown", "Avante" },
},
},
}

View File

@@ -1,54 +0,0 @@
return {
"huggingface/llm.nvim",
config = function()
local llm = require('llm')
llm.setup({
api_token = nil, -- cf Install paragraph
model = "Qwen3.5-9B", -- the model ID, behavior depends on backend
backend = "openai", -- backend ID, "huggingface" | "ollama" | "openai" | "tgi"
url = "http://localhost:8123", -- the http url of the backend
--tokens_to_clear = { "<|endoftext|>" }, -- tokens to remove from the model's output
-- parameters that are added to the request body, values are arbitrary, you can set any field:value pair here it will be passed as is to the backend
request_body = {
parameters = {
temperature=0.6,
top_p=0.95,
top_k=20,
min_p=0.0,
presence_penalty=0.0,
repetition_penalty=1.0,
max_new_tokens = 2000,
chat_template_kwargs='{"enable_thinking": False}',
},
},
-- set this if the model supports fill in the middle
fim = {
enabled = true,
prefix = "<fim_prefix>",
middle = "<fim_middle>",
suffix = "<fim_suffix>",
},
debounce_ms = 100,
accept_keymap = "<Tab>",
dismiss_keymap = "<S-Tab>",
tls_skip_verify_insecure = false,
-- llm-ls configuration, cf llm-ls section
--lsp = {
-- bin_path = nil,
-- host = nil,
-- port = nil,
-- cmd_env = nil, -- or { LLM_LOG_LEVEL = "DEBUG" } to set the log level of llm-ls
-- version = "0.5.3",
--},
tokenizer = {
repository = "Qwen/Qwen3.5-9B",
api_token = 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,
}, -- cf Tokenizer paragraph
context_window = 5000, -- max number of tokens for the context window
enable_suggestions_on_startup = false,
enable_suggestions_on_files = "*", -- pattern matching syntax to enable suggestions on specific files, either a string or a list of strings
disable_url_path_completion = false, -- cf Backend
})
end
}

View File

@@ -3,7 +3,6 @@ return {
dependencies = { dependencies = {
{"mason-org/mason.nvim"}, {"mason-org/mason.nvim"},
{'neovim/nvim-lspconfig'}, {'neovim/nvim-lspconfig'},
{'nvim-mini/mini.nvim'}, {'nvim-mini/mini.nvim'},
{'nvim-mini/mini.completion'}, {'nvim-mini/mini.completion'},
}, },

View File

@@ -2,6 +2,6 @@ return {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
build = ":TSUpdate", build = ":TSUpdate",
config = function() config = function()
--require("nvim-treesitter").install({}) require("nvim-treesitter").install({})
end end
} }

View File

@@ -90,4 +90,3 @@ bindsym $mod+Ctrl+y exec : | wl-copy -p
exec systemctl --user import-environment XDG_SESSION_TYPE XDG_CURRENT_DESKTOP exec systemctl --user import-environment XDG_SESSION_TYPE XDG_CURRENT_DESKTOP
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway XDG_SESSION_DESKTOP=sway exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway XDG_SESSION_DESKTOP=sway

0
.config/sway/scripts/clamshell-mode.sh Executable file → Normal file
View File