Sun 14 Jul 12:53:35 CEST 2024
This commit is contained in:
parent
3364474e16
commit
cad95215b8
|
@ -56,4 +56,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.alacritty.settings.font.size = 13;
|
programs.alacritty.settings.font.size = 13;
|
||||||
|
programs.zsh.initExtra = pkgs.lib.mkForce ''
|
||||||
|
LOCAL_SEARCH_DIRS=(~/.dotfiles/ ~/Workspace)
|
||||||
|
REMOTE_SEARCH_DIRS=()
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -140,14 +140,24 @@ function Center() {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function Icons() {
|
||||||
|
return Widget.Box({
|
||||||
|
spacing: 0,
|
||||||
|
class_name: "item icon-group",
|
||||||
|
children: [
|
||||||
|
SysTray(),
|
||||||
|
batteryIndicator,
|
||||||
|
],
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
function Right() {
|
function Right() {
|
||||||
return Widget.Box({
|
return Widget.Box({
|
||||||
hpack: "end",
|
hpack: "end",
|
||||||
spacing: 8,
|
spacing: 8,
|
||||||
class_name: "right",
|
class_name: "right",
|
||||||
children: [
|
children: [
|
||||||
SysTray(),
|
Icons(),
|
||||||
batteryIndicator,
|
|
||||||
volumeIndicator,
|
volumeIndicator,
|
||||||
Widget.Box({
|
Widget.Box({
|
||||||
class_name: "item",
|
class_name: "item",
|
||||||
|
|
|
@ -4,12 +4,8 @@ window.bar {
|
||||||
}
|
}
|
||||||
|
|
||||||
.systray-item {
|
.systray-item {
|
||||||
margin-left: 0.4em;
|
margin-left: 0.3em;
|
||||||
margin-right: 0.4em;
|
margin-right: 0.3em;
|
||||||
}
|
|
||||||
|
|
||||||
.systray {
|
|
||||||
margin-left: 0.6em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.window-box {
|
.window-box {
|
||||||
|
@ -27,6 +23,9 @@ window.bar {
|
||||||
border-radius: 0.3em;
|
border-radius: 0.3em;
|
||||||
background: #1f2430;
|
background: #1f2430;
|
||||||
}
|
}
|
||||||
|
.battery-item:hover {
|
||||||
|
background: #023269;
|
||||||
|
}
|
||||||
|
|
||||||
.item, .clients box {
|
.item, .clients box {
|
||||||
background: #1f2430;
|
background: #1f2430;
|
||||||
|
@ -39,6 +38,11 @@ window.bar {
|
||||||
margin-right: 0.6em;
|
margin-right: 0.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-group {
|
||||||
|
padding-left: 0.3em;
|
||||||
|
padding-right: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
background: #1f2430;
|
background: #1f2430;
|
||||||
border:none;
|
border:none;
|
||||||
|
@ -54,6 +58,10 @@ button:hover {
|
||||||
background: #023269;
|
background: #023269;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button.blue:hover {
|
||||||
|
background: #1f2430;
|
||||||
|
}
|
||||||
|
|
||||||
.workspaces button {
|
.workspaces button {
|
||||||
padding-left: 0.4em;
|
padding-left: 0.4em;
|
||||||
padding-right: 0.4em;
|
padding-right: 0.4em;
|
||||||
|
|
|
@ -3,16 +3,16 @@ local log = require("ltex_extra.src.log")
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
local default_opts = {
|
local default_opts = {
|
||||||
load_langs = { "es-AR", "en-US" },
|
load_langs = { "nl-BE", "en-US" },
|
||||||
init_check = true,
|
init_check = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
M.opts = {}
|
M.opts = {}
|
||||||
|
|
||||||
local ltex_languages = {
|
local ltex_languages = {
|
||||||
|
"en-US",
|
||||||
"en-GB",
|
"en-GB",
|
||||||
"nl-BE",
|
"nl-BE",
|
||||||
"en-US",
|
|
||||||
"fr",
|
"fr",
|
||||||
"auto",
|
"auto",
|
||||||
}
|
}
|
||||||
|
@ -49,20 +49,3 @@ M.setup = function(opts)
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
||||||
-- Dev notes:
|
|
||||||
--
|
|
||||||
-- Dummy functions for test vim.lsp.commands
|
|
||||||
-- local dummy_calls = 0
|
|
||||||
-- local dummy_cmd = function()
|
|
||||||
-- print(dummy_calls)
|
|
||||||
-- dummy_calls = dummy_calls + 1
|
|
||||||
-- print(dummy_calls)
|
|
||||||
-- end
|
|
||||||
|
|
||||||
-- Inspect function for arguments. Doesn't work after nvim 0.7.
|
|
||||||
-- local orig_execute_command = vim.lsp.buf.execute_command
|
|
||||||
-- vim.lsp.buf.execute_command = function (command)
|
|
||||||
-- print(vim.inspect(command))
|
|
||||||
-- orig_execute_command(command)
|
|
||||||
-- end
|
|
||||||
|
|
Loading…
Reference in New Issue