From 391b47fa7502a9cde7b3f00a7fd835cc07838e35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jana=20D=C3=B6nszelmann?= Date: Mon, 16 Mar 2026 10:47:10 +0100 Subject: [PATCH] some fish and nvim improvements --- programs/fish/default.nix | 2 +- programs/nvim/plugins.nix | 40 ++++++++++++++++++++++++++++++++++++++- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/programs/fish/default.nix b/programs/fish/default.nix index 9e505d0..9df1f8e 100644 --- a/programs/fish/default.nix +++ b/programs/fish/default.nix @@ -229,7 +229,7 @@ inputs@{ machine, ... }: function fish_greeting ${pkgs.blahaj}/bin/blahaj -s - echo "welcome to $(uname -n), $(whoami)!" + echo "mrow! This is $(uname -n) and ur $(whoami) :3" end ''; }; diff --git a/programs/nvim/plugins.nix b/programs/nvim/plugins.nix index a2b715e..db56eaa 100644 --- a/programs/nvim/plugins.nix +++ b/programs/nvim/plugins.nix @@ -400,7 +400,45 @@ in lualine = { enable = true; - settings.options.theme = "onedark"; + settings = { + options = { + theme = "onedark"; + globalstatus = true; + }; + sections = { + lualine_a = [ + { + __unkeyed-1 = "mode"; + } + ]; + lualine_b = [ + { + __unkeyed-1 = "branch"; + } + { __unkeyed-1 = "diff"; } + { __unkeyed-1 = "diagnostics"; } + ]; + lualine_c = [ + { + __unkeyed-1 = "filename"; + # show path + path = 1; + shorting_target = 60; + } + ]; + lualine_x = [ + { __unkeyed-1 = "lsp_status"; } + { __unkeyed-1 = "diff"; } + { __unkeyed-1 = "encoding"; } + { __unkeyed-1 = "fileformat"; } + { + __unkeyed-1 = "filetype"; + } + ]; + lualine_y = [ { __unkeyed-1 = "progress"; } ]; + lualine_z = [ { __unkeyed-1 = "location"; } ]; + }; + }; }; rustaceanvim = {