From cad95215b85c2d87dbe0ea29a89aba9d95ba259b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Sun, 14 Jul 2024 12:53:35 +0200 Subject: [PATCH] Sun 14 Jul 12:53:35 CEST 2024 --- home/Aloria.nix | 4 ++++ home/ags/files/config.js | 14 ++++++++++++-- home/ags/files/style.css | 20 ++++++++++++++------ home/nvim/files/lua/ltex_extra/init.lua | 21 ++------------------- 4 files changed, 32 insertions(+), 27 deletions(-) diff --git a/home/Aloria.nix b/home/Aloria.nix index 7f7ebbc..746183a 100644 --- a/home/Aloria.nix +++ b/home/Aloria.nix @@ -56,4 +56,8 @@ }; programs.alacritty.settings.font.size = 13; + programs.zsh.initExtra = pkgs.lib.mkForce '' + LOCAL_SEARCH_DIRS=(~/.dotfiles/ ~/Workspace) + REMOTE_SEARCH_DIRS=() + ''; } diff --git a/home/ags/files/config.js b/home/ags/files/config.js index 0e32c1a..3880a34 100644 --- a/home/ags/files/config.js +++ b/home/ags/files/config.js @@ -140,14 +140,24 @@ function Center() { }) } +function Icons() { + return Widget.Box({ + spacing: 0, + class_name: "item icon-group", + children: [ + SysTray(), + batteryIndicator, + ], + }) +} + function Right() { return Widget.Box({ hpack: "end", spacing: 8, class_name: "right", children: [ - SysTray(), - batteryIndicator, + Icons(), volumeIndicator, Widget.Box({ class_name: "item", diff --git a/home/ags/files/style.css b/home/ags/files/style.css index 0deb67f..b61722d 100644 --- a/home/ags/files/style.css +++ b/home/ags/files/style.css @@ -4,12 +4,8 @@ window.bar { } .systray-item { - margin-left: 0.4em; - margin-right: 0.4em; -} - -.systray { - margin-left: 0.6em; + margin-left: 0.3em; + margin-right: 0.3em; } .window-box { @@ -27,6 +23,9 @@ window.bar { border-radius: 0.3em; background: #1f2430; } +.battery-item:hover { + background: #023269; +} .item, .clients box { background: #1f2430; @@ -39,6 +38,11 @@ window.bar { margin-right: 0.6em; } +.icon-group { + padding-left: 0.3em; + padding-right: 0.3em; +} + button { background: #1f2430; border:none; @@ -54,6 +58,10 @@ button:hover { background: #023269; } +button.blue:hover { + background: #1f2430; +} + .workspaces button { padding-left: 0.4em; padding-right: 0.4em; diff --git a/home/nvim/files/lua/ltex_extra/init.lua b/home/nvim/files/lua/ltex_extra/init.lua index 7f1b59d..bfea402 100644 --- a/home/nvim/files/lua/ltex_extra/init.lua +++ b/home/nvim/files/lua/ltex_extra/init.lua @@ -3,16 +3,16 @@ local log = require("ltex_extra.src.log") local M = {} local default_opts = { - load_langs = { "es-AR", "en-US" }, + load_langs = { "nl-BE", "en-US" }, init_check = true, } M.opts = {} local ltex_languages = { + "en-US", "en-GB", "nl-BE", - "en-US", "fr", "auto", } @@ -49,20 +49,3 @@ M.setup = function(opts) end 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