diff --git a/.config/hypr/waybar/config.jsonc b/.config/hypr/waybar/config.jsonc index 694e374..e031f0e 100644 --- a/.config/hypr/waybar/config.jsonc +++ b/.config/hypr/waybar/config.jsonc @@ -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": "{:%Y %B}\n{calendar}", - "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", diff --git a/.config/hypr/waybar/style.css b/.config/hypr/waybar/style.css index e1ecc95..e6632ef 100644 --- a/.config/hypr/waybar/style.css +++ b/.config/hypr/waybar/style.css @@ -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; } diff --git a/.config/nvim/lua/plugins/llm.lua b/.config/nvim/lua/plugins/llm.lua index 26f78c4..ead336d 100644 --- a/.config/nvim/lua/plugins/llm.lua +++ b/.config/nvim/lua/plugins/llm.lua @@ -4,13 +4,12 @@ return { local llm = require('llm') llm.setup({ api_token = nil, -- cf Install paragraph - model = "Qwen3.5-9B", -- the model ID, behavior depends on backend + model = "Qwen/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 + 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 = { - parameters = { temperature=0.6, top_p=0.95, top_k=20, @@ -19,14 +18,13 @@ return { 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 = "", - middle = "", - suffix = "", + prefix = "<|fim_prefix|>", + middle = "<|fim_middle|>", + suffix = "<|fim_suffix|>", }, debounce_ms = 100, accept_keymap = "", diff --git a/.config/sway/config b/.config/sway/config index e0cd901..615d371 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -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/*