Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8630f6318e | |||
| 0784b17f26 | |||
| cd2d55137b |
@@ -3,19 +3,18 @@
|
|||||||
"spacing": 2, // Gaps between modules (4px)
|
"spacing": 2, // Gaps between modules (4px)
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces",
|
"hyprland/workspaces",
|
||||||
"hyprland/mode",
|
"hyprland/submap",
|
||||||
"hyprland/scratchpad",
|
|
||||||
"hyprland/window"
|
"hyprland/window"
|
||||||
],
|
],
|
||||||
"modules-center": [
|
//"modules-center": [
|
||||||
//"sway/window"
|
//"sway/window"
|
||||||
"clock",
|
//],
|
||||||
],
|
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
//"mpd",
|
//"mpd",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
//"network",
|
//"network",
|
||||||
"battery",
|
"battery",
|
||||||
|
"clock",
|
||||||
"tray"
|
"tray"
|
||||||
//"custom/power"
|
//"custom/power"
|
||||||
],
|
],
|
||||||
@@ -40,7 +39,7 @@
|
|||||||
"clock": {
|
"clock": {
|
||||||
//"timezone": "America/Los_Angeles",
|
//"timezone": "America/Los_Angeles",
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"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": "{:%R %p %Y-%m-%d}",
|
||||||
//"format-alt": "{:%Y-%m-%d}"
|
//"format-alt": "{:%Y-%m-%d}"
|
||||||
},
|
},
|
||||||
@@ -50,8 +49,7 @@
|
|||||||
"warning": 30,
|
"warning": 30,
|
||||||
"critical": 15
|
"critical": 15
|
||||||
},
|
},
|
||||||
//"format": "{time} {capacity}% {icon}",
|
"format": "{time} {capacity}% {icon}",
|
||||||
"format": "{capacity}% {icon}",
|
|
||||||
"format-full": "{capacity}% {icon}",
|
"format-full": "{capacity}% {icon}",
|
||||||
"format-charging": "{capacity}% C",
|
"format-charging": "{capacity}% C",
|
||||||
"format-plugged": "{capacity}% P",
|
"format-plugged": "{capacity}% P",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
/*font-family: "JetBrainsMono NF";*/
|
/*font-family: "JetBrainsMono NF";*/
|
||||||
font-family: "JetBrainsMonoNFM-Regular";
|
font-family: "JetBrainsMonoNFM-Regular";
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: bold;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
@@ -49,7 +49,7 @@ button:hover {
|
|||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
/*background-color: transparent;*/
|
background-color: transparent;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -57,15 +57,25 @@ button:hover {
|
|||||||
background: rgba(0, 0, 0, 0.2);
|
background: rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.focused {
|
#workspaces button.active {
|
||||||
background-color: #64727D;
|
background-color: #eb4d4b;
|
||||||
/*box-shadow: inset 0 -3px #ffffff;*/
|
box-shadow: inset 0 -3px #ffffff;
|
||||||
|
color: #ffffff;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.urgent {
|
#workspaces button.urgent {
|
||||||
background-color: #eb4d4b;
|
background-color: #eb4d4b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#workspaces button.visible {
|
||||||
|
background-color: #64727D;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.empty {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
#mode {
|
#mode {
|
||||||
background-color: #64727D;
|
background-color: #64727D;
|
||||||
box-shadow: inset 0 -3px #ffffff;
|
box-shadow: inset 0 -3px #ffffff;
|
||||||
@@ -93,17 +103,17 @@ button:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#window,
|
#window,
|
||||||
#workspaces {
|
#workspaces-hyprland {
|
||||||
margin: 0 4px;
|
margin: 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If workspaces is the leftmost module, omit left margin */
|
/* 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;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If workspaces is the rightmost module, omit right margin */
|
/* 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;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,13 +4,12 @@ return {
|
|||||||
local llm = require('llm')
|
local llm = require('llm')
|
||||||
llm.setup({
|
llm.setup({
|
||||||
api_token = nil, -- cf Install paragraph
|
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"
|
backend = "openai", -- backend ID, "huggingface" | "ollama" | "openai" | "tgi"
|
||||||
url = "http://localhost:8123", -- the http url of the backend
|
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
|
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
|
-- 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 = {
|
request_body = {
|
||||||
parameters = {
|
|
||||||
temperature=0.6,
|
temperature=0.6,
|
||||||
top_p=0.95,
|
top_p=0.95,
|
||||||
top_k=20,
|
top_k=20,
|
||||||
@@ -20,13 +19,12 @@ return {
|
|||||||
max_new_tokens = 2000,
|
max_new_tokens = 2000,
|
||||||
chat_template_kwargs='{"enable_thinking": False}',
|
chat_template_kwargs='{"enable_thinking": False}',
|
||||||
},
|
},
|
||||||
},
|
|
||||||
-- set this if the model supports fill in the middle
|
-- set this if the model supports fill in the middle
|
||||||
fim = {
|
fim = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
prefix = "<fim_prefix>",
|
prefix = "<|fim_prefix|>",
|
||||||
middle = "<fim_middle>",
|
middle = "<|fim_middle|>",
|
||||||
suffix = "<fim_suffix>",
|
suffix = "<|fim_suffix|>",
|
||||||
},
|
},
|
||||||
debounce_ms = 100,
|
debounce_ms = 100,
|
||||||
accept_keymap = "<Tab>",
|
accept_keymap = "<Tab>",
|
||||||
|
|||||||
+5
-1
@@ -6,8 +6,8 @@ font 'JetBrainsMonoNFM-Regular' 9
|
|||||||
#set $mod Mod1
|
#set $mod Mod1
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
|
||||||
#set $term kitty -1
|
|
||||||
set $term kitty
|
set $term kitty
|
||||||
|
#set $term foot
|
||||||
#set $term ghostty
|
#set $term ghostty
|
||||||
|
|
||||||
set $menu wofi -S drun -GI
|
set $menu wofi -S drun -GI
|
||||||
@@ -17,6 +17,10 @@ set $down j
|
|||||||
set $up k
|
set $up k
|
||||||
set $right l
|
set $right l
|
||||||
|
|
||||||
|
|
||||||
|
#env GDK_BACKEND=wayland
|
||||||
|
#env QT_QPA_PLATFORM=wayland
|
||||||
|
|
||||||
set $laptop eDP-1
|
set $laptop eDP-1
|
||||||
include ~/.config/sway/config.d/*
|
include ~/.config/sway/config.d/*
|
||||||
|
|
||||||
|
|||||||
@@ -2,10 +2,9 @@
|
|||||||
{
|
{
|
||||||
"spacing": 2, // Gaps between modules (4px)
|
"spacing": 2, // Gaps between modules (4px)
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"sway/workspaces",
|
"hyprland/workspaces",
|
||||||
"sway/mode",
|
"hyprland/submap",
|
||||||
"sway/scratchpad",
|
"hyprland/window"
|
||||||
"sway/window"
|
|
||||||
],
|
],
|
||||||
//"modules-center": [
|
//"modules-center": [
|
||||||
//"sway/window"
|
//"sway/window"
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ button:hover {
|
|||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
/*background-color: transparent;*/
|
background-color: transparent;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -57,15 +57,25 @@ button:hover {
|
|||||||
background: rgba(0, 0, 0, 0.2);
|
background: rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.focused {
|
#workspaces button.active {
|
||||||
background-color: #64727D;
|
background-color: #eb4d4b;
|
||||||
/*box-shadow: inset 0 -3px #ffffff;*/
|
box-shadow: inset 0 -3px #ffffff;
|
||||||
|
color: #ffffff;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.urgent {
|
#workspaces button.urgent {
|
||||||
background-color: #eb4d4b;
|
background-color: #eb4d4b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#workspaces button.visible {
|
||||||
|
background-color: #64727D;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.empty {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
#mode {
|
#mode {
|
||||||
background-color: #64727D;
|
background-color: #64727D;
|
||||||
box-shadow: inset 0 -3px #ffffff;
|
box-shadow: inset 0 -3px #ffffff;
|
||||||
@@ -93,17 +103,17 @@ button:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#window,
|
#window,
|
||||||
#workspaces {
|
#workspaces-hyprland {
|
||||||
margin: 0 4px;
|
margin: 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If workspaces is the leftmost module, omit left margin */
|
/* 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;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If workspaces is the rightmost module, omit right margin */
|
/* 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;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user