diff --git a/README.md b/README.md index 8a9cb3c..26ba428 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# My Personal Neovim Setup +# ❄️ My Personal Neovim Setup ❄️ My Nix-based Neovim configuration. For when you have an unhealthy obsession for declarativity and configurability. diff --git a/config/dashboard.nix b/config/dashboard.nix index 264a018..a56ca06 100644 --- a/config/dashboard.nix +++ b/config/dashboard.nix @@ -10,15 +10,24 @@ { type = "text"; val = [ - " _ _______ _______ _________ _______ " - "( ( /|( ____ \\( ___ )|\\ /|\\__ __/( )" - "| \\ ( || ( \\/| ( ) || ) ( | ) ( | () () |" - "| \\ | || (__ | | | || | | | | | | || || |" - "| (\\ \\) || __) | | | |( ( ) ) | | | |(_)| |" - "| | \\ || ( | | | | \\ \\_/ / | | | | | |" - "| ) \\ || (____/\\| (___) | \\ / ___) (___| ) ( |" - "|/ )_)(_______/(_______) \\_/ \\_______/|/ \\|" - " " + " █████ █ ██" + " ██████ ██ ████ █ █" + " ██ █ █ ██ ████ ██ ███" + " █ █ █ ██ █ █ ██ █" + " █ █ ██ █ ████ ██ ███" + " ██ ██ ██ █ ███ █ ███ █ ██ ███ ███ ███ ████ ████" + " ██ ██ ██ █ █ ███ █ ████ ██ ███ ███ ███ ████ ███ █" + " ██ ██ ██ █ █ ███ ██ ██ ██ ██ ██ ██ ████ ████" + " ██ ██ ██ █ ██ █████ ██ ██ ██ ██ ██ ██ ██" + " ██ ██ ██ █ ████████ ██ ██ ██ ██ ██ ██ ██ ██" + " █ ██ ███ ███████ ██ ██ ██ ██ ██ ██ ██ ██" + " █ ███ ██ ██ ██ ██ █ ██ ██ ██ ██" + " ████ ██ ████ █ ██████ ███████ ██ ██ ██ ██" + " █ █████ ███████ ████ █████ ███ █ ███ ███ ███" + " █ ██ █████ ███ ███ ███ ███" + " █" + " █" + " ██" ]; opts = { position = "center"; @@ -27,7 +36,7 @@ } { type = "padding"; - val = 2; + val = 4; } { type = "group"; @@ -54,6 +63,10 @@ hl_shortcut = "Keyword"; }; } + { + type = "padding"; + val = 2; + } { type = "button"; val = "  Find File "; @@ -77,6 +90,10 @@ hl_shortcut = "Keyword"; }; } + { + type = "padding"; + val = 2; + } { type = "button"; val = "  Recent Files "; @@ -100,6 +117,10 @@ hl_shortcut = "Keyword"; }; } + { + type = "padding"; + val = 2; + } { type = "button"; val = "  Find Text "; @@ -123,6 +144,10 @@ hl_shortcut = "Keyword"; }; } + { + type = "padding"; + val = 2; + } { type = "button"; val = "  Quit Neovim "; @@ -147,10 +172,6 @@ } ]; } - { - type = "padding"; - val = 2; - } ]; }; }; diff --git a/config/plugins.nix b/config/plugins.nix index 1d11576..f555eab 100644 --- a/config/plugins.nix +++ b/config/plugins.nix @@ -20,5 +20,9 @@ return false end -- condition to check for stopping supermaven, `true` means to stop supermaven when the condition is true. }) + + require("notify").setup({ + background_colour = "#000000", + }) ''; } diff --git a/config/themes.nix b/config/themes.nix index 4c8771f..409f075 100644 --- a/config/themes.nix +++ b/config/themes.nix @@ -1,5 +1,12 @@ { colorschemes = { - gruvbox.enable = true; + onedark = { + enable = true; + settings = { + colors = { yellow = "#d9a950"; }; + style = "dark"; + transparent = true; + }; + }; }; } diff --git a/config/transparent.nix b/config/transparent.nix new file mode 100644 index 0000000..6175543 --- /dev/null +++ b/config/transparent.nix @@ -0,0 +1,39 @@ +let + status = [ "Alternate" "Current" "Inactive" "Visible" ]; + part = [ + "ADDED" + "CHANGED" + "DELETED" + "ERROR" + "HINT" + "Icon" + "Index" + "INFO" + "Mod" + "Number" + "Sign" + "SignRight" + "Target" + "WARN" + ]; + groups_left = [ + "BufferTabpageFill" + "BufferTabpages" + "TabLine" + "TabLineSel" + "TabLineFill" + "NormalFloat" + "FloatBorder" + ]; + # "Buffer" + status + part + buffer_status = builtins.foldl' (acc: elem: acc ++ elem) [ ] + (builtins.map (status: builtins.map (part: "Buffer" + status + part) part) + status); +in { + plugins = { + transparent = { + enable = true; + settings.extra_groups = groups_left ++ buffer_status; + }; + }; +} diff --git a/images/desktop.png b/images/desktop.png index e6abcaa..3e8afae 100644 Binary files a/images/desktop.png and b/images/desktop.png differ