From 624fefdd18037a6a02cf865d8d4a79efa31d812b Mon Sep 17 00:00:00 2001 From: voidarc Date: Fri, 10 Apr 2026 12:15:22 +0100 Subject: [PATCH] an attempt was made --- flake.lock | 27 +++++++++++++++++++++++++++ flake.nix | 12 +++--------- init.lua | 2 +- plugins/init.lua | 1 + plugins/ui/catppuccin.lua | 10 ++++++++++ 5 files changed, 42 insertions(+), 10 deletions(-) create mode 100644 flake.lock create mode 100644 plugins/init.lua create mode 100644 plugins/ui/catppuccin.lua diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..cdcfcf2 --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1775423009, + "narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix index cc7223e..e0fa78e 100644 --- a/flake.nix +++ b/flake.nix @@ -82,15 +82,9 @@ ]; shellHook = '' - export TREE_SITTER_LIB_PATH="${pkgs.tree-sitter}/lib" - echo "Neovim LSP environment loaded" - export DEVSHELL_NAME="󱄅 flake/#89dceb" - - # Trigger zsh - if [[ -z "$ZSH_VERSION" ]]; then - exec zsh - fi - + export TREE_SITTER_LIB_PATH="${pkgs.tree-sitter}/lib" + echo "Neovim LSP environment loaded" + export DEVSHELL_NAME="󱄅 flake/#89dceb" ''; }; }; diff --git a/init.lua b/init.lua index cc846ae..c228226 100644 --- a/init.lua +++ b/init.lua @@ -1,4 +1,4 @@ -require("config.lazy") +require("plugins.init") -- Colorcheme vim.cmd.colorscheme("catppuccin-mocha") diff --git a/plugins/init.lua b/plugins/init.lua new file mode 100644 index 0000000..97d6405 --- /dev/null +++ b/plugins/init.lua @@ -0,0 +1 @@ +require("plugins.ui.catppuccin") diff --git a/plugins/ui/catppuccin.lua b/plugins/ui/catppuccin.lua new file mode 100644 index 0000000..2a20a0c --- /dev/null +++ b/plugins/ui/catppuccin.lua @@ -0,0 +1,10 @@ +vim.pack.add({ { src = "https://github.com/catppuccin/nvim", name = "catppuccin" } }) + +require("catppuccin").setup({ + transparent_background = true, -- disables setting the background color. + float = { + transparent = true, -- enable transparent floating windows + solid = false, -- use solid styling for floating windows, see |winborder| + }, + show_end_of_buffer = true, -- shows the '~' characters after the end of buffers +})