style: add transparent background for nvimBufferline

- remove duplicated file (davinci.nix)
This commit is contained in:
danny 2025-09-26 14:21:46 +08:00
parent 69705431bf
commit 8de4592eb5
3 changed files with 11 additions and 18 deletions

View file

@ -132,6 +132,7 @@ in
misc = {
disable_hyprland_logo = true;
force_default_wallpaper = 0;
disable_splash_rendering = true;
};
}
// (import ./hypr/window.nix { inherit lib; })

View file

@ -6,6 +6,7 @@
}:
let
inherit (lib.generators) mkLuaInline;
inherit (lib) concatStringsSep;
suda-nvim = pkgs.vimUtils.buildVimPlugin {
name = "vim-suda";
@ -47,6 +48,11 @@ in
transparent = {
package = transparent-nvim;
setup =
let
clearFg = map (x: ''vim.api.nvim_set_hl(0, "${x}", { fg = "NONE", bg = "NONE"})'') [
"TabLineFill"
];
in
# lua
''
require("transparent").setup({
@ -70,7 +76,6 @@ in
"DiffText",
"DiffViewNormal",
"CursorColumn",
"ColorColumn",
"QuickFixLine",
"Error",
"NoiceScrollbar"
@ -78,6 +83,9 @@ in
})
require("transparent").clear_prefix("NeoTree")
require("transparent").clear_prefix("GitGutter")
require("transparent").clear_prefix("BufferLine")
${concatStringsSep "\n" clearFg}
'';
};
suda = {
@ -460,7 +468,7 @@ in
setupOpts = {
options = {
show_close_icon = false;
separator_style = "slope";
separator_style = "thin";
numbers = "none";
indicator = {
style = "none";

View file

@ -1,16 +0,0 @@
{ pkgs, ... }:
let
in
{
environment.systemPackages = with pkgs; [
davinci-resolve
];
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
intel-compute-runtime
rocmPackages.clr.icd
];
};
}