Compare commits
6 Commits
8e87a3a909
...
x1-carbon
| Author | SHA1 | Date | |
|---|---|---|---|
| 8630f6318e | |||
| 0784b17f26 | |||
| cd2d55137b | |||
| 2ad618af1b | |||
| 7ebe8337b0 | |||
| cad7412741 |
@@ -35,6 +35,7 @@ monitor=,preferred,auto,auto
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
#$terminal = foot
|
||||
$fileManager = nautilus
|
||||
$menu = wofi --show drun -GI
|
||||
|
||||
@@ -214,9 +215,23 @@ misc {
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
|
||||
env = GTK_SCALE,1
|
||||
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 ###
|
||||
@@ -266,7 +281,7 @@ bind = $mainMod, M, exec, hyprlock
|
||||
|
||||
bind = $mainMod SHIFT, SPACE, togglefloating,
|
||||
bind = $mainMod SHIFT, Q, hy3:killactive,
|
||||
bind = $mainMod SHIFT, M, exit,
|
||||
bind = $mainMod SHIFT, E, exit,
|
||||
bind = $mainMod SHIFT, S, pin
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ background {
|
||||
|
||||
input-field {
|
||||
monitor =
|
||||
size = 20%, 5%
|
||||
size = 15%, 5%
|
||||
font_family = Noto Sans
|
||||
dots_size = 0.08
|
||||
}
|
||||
@@ -15,6 +15,6 @@ input-field {
|
||||
label {
|
||||
monitor =
|
||||
text = $TIME
|
||||
font_size = 80
|
||||
position = 0, -10
|
||||
font_size = 200
|
||||
position = 0, 200
|
||||
}
|
||||
|
||||
@@ -3,19 +3,18 @@
|
||||
"spacing": 2, // Gaps between modules (4px)
|
||||
"modules-left": [
|
||||
"hyprland/workspaces",
|
||||
"hyprland/mode",
|
||||
"hyprland/scratchpad",
|
||||
"hyprland/submap",
|
||||
"hyprland/window"
|
||||
],
|
||||
"modules-center": [
|
||||
//"sway/window"
|
||||
"clock",
|
||||
],
|
||||
//"modules-center": [
|
||||
//"sway/window"
|
||||
//],
|
||||
"modules-right": [
|
||||
//"mpd",
|
||||
"pulseaudio",
|
||||
//"network",
|
||||
"battery",
|
||||
"clock",
|
||||
"tray"
|
||||
//"custom/power"
|
||||
],
|
||||
@@ -40,7 +39,7 @@
|
||||
"clock": {
|
||||
//"timezone": "America/Los_Angeles",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format": "{:%c}",
|
||||
"format": "{:%r %Y-%m-%d}",
|
||||
//"format": "{:%R %p %Y-%m-%d}",
|
||||
//"format-alt": "{:%Y-%m-%d}"
|
||||
},
|
||||
@@ -50,8 +49,7 @@
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
//"format": "{time} {capacity}% {icon}",
|
||||
"format": "{capacity}% {icon}",
|
||||
"format": "{time} {capacity}% {icon}",
|
||||
"format-full": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% C",
|
||||
"format-plugged": "{capacity}% P",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/*font-family: "JetBrainsMono NF";*/
|
||||
font-family: "JetBrainsMonoNFM-Regular";
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
@@ -49,7 +49,7 @@ button:hover {
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 4px;
|
||||
/*background-color: transparent;*/
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@@ -57,15 +57,25 @@ button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: #64727D;
|
||||
/*box-shadow: inset 0 -3px #ffffff;*/
|
||||
#workspaces button.active {
|
||||
background-color: #eb4d4b;
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#workspaces button.visible {
|
||||
background-color: #64727D;
|
||||
}
|
||||
|
||||
#workspaces button.empty {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background-color: #64727D;
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
@@ -93,17 +103,17 @@ button:hover {
|
||||
}
|
||||
|
||||
#window,
|
||||
#workspaces {
|
||||
#workspaces-hyprland {
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
/* If workspaces is the leftmost module, omit left margin */
|
||||
.modules-left > widget:first-child > #workspaces {
|
||||
.modules-left > widget:first-child > #workspaces-hyprland {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* If workspaces is the rightmost module, omit right margin */
|
||||
.modules-right > widget:last-child > #workspaces {
|
||||
.modules-right > widget:last-child > #workspaces-hyprland {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
font_size 11.5
|
||||
font_size 10.5
|
||||
|
||||
#text_composition_strategy legacy
|
||||
#modify_font cell_width 95%
|
||||
|
||||
@@ -16,9 +16,9 @@ vim.cmd("set number")
|
||||
|
||||
vim.cmd("set relativenumber")
|
||||
vim.cmd("set expandtab")
|
||||
vim.cmd("set shiftwidth=4")
|
||||
vim.cmd("set softtabstop=4")
|
||||
vim.cmd("set tabstop=4")
|
||||
vim.cmd("set shiftwidth=2")
|
||||
vim.cmd("set softtabstop=2")
|
||||
vim.cmd("set tabstop=2")
|
||||
vim.cmd("set smartindent")
|
||||
|
||||
vim.cmd("set backspace=indent,eol,start")
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
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" },
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
return {
|
||||
"huggingface/llm.nvim",
|
||||
config = function()
|
||||
local llm = require('llm')
|
||||
llm.setup({
|
||||
api_token = nil, -- cf Install paragraph
|
||||
model = "Qwen/Qwen3.5-9B", -- the model ID, behavior depends on backend
|
||||
backend = "openai", -- backend ID, "huggingface" | "ollama" | "openai" | "tgi"
|
||||
url = "http://192.168.200.12: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 = {
|
||||
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
|
||||
}
|
||||
@@ -2,6 +2,6 @@ return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
require("nvim-treesitter").install({})
|
||||
--require("nvim-treesitter").install({})
|
||||
end
|
||||
}
|
||||
|
||||
+6
-2
@@ -6,8 +6,8 @@ font 'JetBrainsMonoNFM-Regular' 9
|
||||
#set $mod Mod1
|
||||
set $mod Mod4
|
||||
|
||||
#set $term kitty -1
|
||||
set $term kitty
|
||||
set $term kitty
|
||||
#set $term foot
|
||||
#set $term ghostty
|
||||
|
||||
set $menu wofi -S drun -GI
|
||||
@@ -17,6 +17,10 @@ set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
|
||||
#env GDK_BACKEND=wayland
|
||||
#env QT_QPA_PLATFORM=wayland
|
||||
|
||||
set $laptop eDP-1
|
||||
include ~/.config/sway/config.d/*
|
||||
|
||||
|
||||
@@ -2,10 +2,9 @@
|
||||
{
|
||||
"spacing": 2, // Gaps between modules (4px)
|
||||
"modules-left": [
|
||||
"sway/workspaces",
|
||||
"sway/mode",
|
||||
"sway/scratchpad",
|
||||
"sway/window"
|
||||
"hyprland/workspaces",
|
||||
"hyprland/submap",
|
||||
"hyprland/window"
|
||||
],
|
||||
//"modules-center": [
|
||||
//"sway/window"
|
||||
|
||||
@@ -49,7 +49,7 @@ button:hover {
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 4px;
|
||||
/*background-color: transparent;*/
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@@ -57,15 +57,25 @@ button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: #64727D;
|
||||
/*box-shadow: inset 0 -3px #ffffff;*/
|
||||
#workspaces button.active {
|
||||
background-color: #eb4d4b;
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#workspaces button.visible {
|
||||
background-color: #64727D;
|
||||
}
|
||||
|
||||
#workspaces button.empty {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background-color: #64727D;
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
@@ -93,17 +103,17 @@ button:hover {
|
||||
}
|
||||
|
||||
#window,
|
||||
#workspaces {
|
||||
#workspaces-hyprland {
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
/* If workspaces is the leftmost module, omit left margin */
|
||||
.modules-left > widget:first-child > #workspaces {
|
||||
.modules-left > widget:first-child > #workspaces-hyprland {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* If workspaces is the rightmost module, omit right margin */
|
||||
.modules-right > widget:last-child > #workspaces {
|
||||
.modules-right > widget:last-child > #workspaces-hyprland {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user