This commit is contained in:
2023-06-20 14:03:00 -04:00
parent f7999d7c9a
commit e9ca2e5a6e
9 changed files with 67 additions and 24 deletions

View File

@@ -3,14 +3,14 @@ pkgs:
enable = true; enable = true;
extraPackages = with pkgs.bat-extras; [ batdiff batman batgrep batwatch ]; extraPackages = with pkgs.bat-extras; [ batdiff batman batgrep batwatch ];
config = { config = {
theme = "catppuccin-macchiato"; theme = "catppuccin-frappe";
}; };
themes = { themes = {
catppuccin-macchiato = builtins.readFile (pkgs.fetchFromGitHub { catppuccin-frappe = builtins.readFile (pkgs.fetchFromGitHub {
owner = "catppuccin"; owner = "catppuccin";
repo = "sublime-text"; # Bat uses sublime syntax for its themes repo = "sublime-text"; # Bat uses sublime syntax for its themes
rev = "3d8625d937d89869476e94bc100192aa220ce44a"; rev = "3d8625d937d89869476e94bc100192aa220ce44a";
sha256 = "3ABUsfJpb6RO6AiuuSL5gwDofJIwC5tlEMzBrlY9/s0="; sha256 = "3ABUsfJpb6RO6AiuuSL5gwDofJIwC5tlEMzBrlY9/s0=";
} + "/Macchiato.tmTheme"); } + "/Frappe.tmTheme");
}; };
} }

View File

@@ -6,6 +6,7 @@ pkgs:
du = "dust"; du = "dust";
http = "xh"; http = "xh";
https = "xh"; https = "xh";
mux = "tmuxinator";
nsh = "nix-shell --command fish"; nsh = "nix-shell --command fish";
}; };

View File

@@ -12,7 +12,7 @@ pkgs: {
nix_shell.symbol = " "; nix_shell.symbol = " ";
nodejs.symbol = " "; nodejs.symbol = " ";
package.disabled = true; package.disabled = true;
palette = "catppuccin_macchiato"; palette = "catppuccin_frappe";
python.symbol = " "; python.symbol = " ";
package.symbol = " "; package.symbol = " ";
rust.symbol = " "; rust.symbol = " ";
@@ -24,5 +24,5 @@ pkgs: {
repo = "starship"; repo = "starship";
rev = "3e3e54410c3189053f4da7a7043261361a1ed1bc"; # Replace with the latest commit hash rev = "3e3e54410c3189053f4da7a7043261361a1ed1bc"; # Replace with the latest commit hash
sha256 = "soEBVlq3ULeiZFAdQYMRFuswIIhI9bclIU8WXjxd7oY="; sha256 = "soEBVlq3ULeiZFAdQYMRFuswIIhI9bclIU8WXjxd7oY=";
} + /palettes/macchiato.toml)); } + /palettes/frappe.toml));
} }

View File

@@ -1,18 +1,32 @@
pkgs: { pkgs: {
baseIndex = 1; baseIndex = 1;
clock24 = true; clock24 = true;
customPaneNavigationAndResize = true;
historyLimit = 50000;
enable = true; enable = true;
escapeTime = 0; escapeTime = 0;
keyMode = "vi"; keyMode = "vi";
mouse = true; mouse = true;
plugins = [{ plugins = [
{
plugin = pkgs.tmuxPlugins.catppuccin; plugin = pkgs.tmuxPlugins.catppuccin;
extraConfig = "set -g @catppuccin_window_tabs_enabled on"; extraConfig = "set -g @catppuccin_window_tabs_enabled on";
}]; }
{
plugin = pkgs.tmuxPlugins.tmux-thumbs;
extraConfig = ''
set -g @thumbs-unique enabled
'';
}
];
shell = pkgs.fish + "/bin/fish";
shortcut = "Space"; shortcut = "Space";
tmuxinator.enable = true; tmuxinator.enable = true;
extraConfig = '' extraConfig = ''
bind-key -T copy-mode-vi 'v' send -X begin-selection bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
bind-key -T launcher g popup -h 100% -w 100% -E lazygit
bind-key g switch-client -Tlauncher
''; '';
} }

View File

@@ -6,7 +6,7 @@
home.username = "jfrikker"; home.username = "jfrikker";
home.homeDirectory = "/Users/jfrikker"; home.homeDirectory = "/Users/jfrikker";
home.sessionVariables.BAT_THEME = "catppuccin-macchiato"; home.sessionVariables.BAT_THEME = "catppuccin-frappe";
home.sessionVariables.EDITOR = "nvim"; home.sessionVariables.EDITOR = "nvim";
home.sessionVariables.RUST_SRC_PATH = "${pkgs.rust-bin.stable."1.68.0".rust-src}/lib/rustlib/src/rust/library"; home.sessionVariables.RUST_SRC_PATH = "${pkgs.rust-bin.stable."1.68.0".rust-src}/lib/rustlib/src/rust/library";
@@ -18,7 +18,7 @@
repo = "k9s"; repo = "k9s";
rev = "322598e19a4270298b08dc2765f74795e23a1615"; # Replace with the latest commit hash rev = "322598e19a4270298b08dc2765f74795e23a1615"; # Replace with the latest commit hash
sha256 = "GrRCOwCgM8BFhY8TzO3/WDTUnGtqkhvlDWE//ox2GxI="; sha256 = "GrRCOwCgM8BFhY8TzO3/WDTUnGtqkhvlDWE//ox2GxI=";
} + /dist/macchiato.yml; } + /dist/frappe.yml;
}; };
xdg.configFile."lazygit/config.yml" = { xdg.configFile."lazygit/config.yml" = {
@@ -29,17 +29,17 @@
repo = "lazygit"; repo = "lazygit";
rev = "b2ecb6d41b6f54a82104879573c538e8bdaeb0bf"; # Replace with the latest commit hash rev = "b2ecb6d41b6f54a82104879573c538e8bdaeb0bf"; # Replace with the latest commit hash
sha256 = "9BBmWRcjNaJE9T0RKVEJaSnkrbMom0CLYE8PzAT6yFw="; sha256 = "9BBmWRcjNaJE9T0RKVEJaSnkrbMom0CLYE8PzAT6yFw=";
} + /themes/macchiato.yml; } + /themes/frappe.yml;
}; };
xdg.configFile."fish/themes/Catppuccin Macchiato.theme" = { xdg.configFile."fish/themes/Catppuccin Frappe.theme" = {
enable = true; enable = true;
source = pkgs.fetchFromGitHub { source = pkgs.fetchFromGitHub {
owner = "catppuccin"; owner = "catppuccin";
repo = "fish"; repo = "fish";
rev = "91e6d6721362be05a5c62e235ed8517d90c567c9"; rev = "91e6d6721362be05a5c62e235ed8517d90c567c9";
sha256 = "l9V7YMfJWhKDL65dNbxaddhaM6GJ0CFZ6z+4R6MJwBA="; sha256 = "l9V7YMfJWhKDL65dNbxaddhaM6GJ0CFZ6z+4R6MJwBA=";
} + "/themes/Catppuccin Macchiato.theme"; } + "/themes/Catppuccin Frappe.theme";
}; };
home.packages = [ home.packages = [

View File

@@ -45,3 +45,5 @@ require("lazy").setup({
}, },
}, },
}) })
vim.api.nvim_set_hl(0, "@type.qualifier", { link = "Keyword" })

View File

@@ -7,5 +7,6 @@ opt.autowriteall = true
opt.colorcolumn = "100" opt.colorcolumn = "100"
opt.hidden = false opt.hidden = false
opt.tabstop = 4 opt.tabstop = 4
opt.sidescrolloff = 0
opt.shiftwidth = 4 opt.shiftwidth = 4
opt.relativenumber = false opt.relativenumber = false

View File

@@ -2,7 +2,19 @@ return {
{ {
"LazyVim/LazyVim", "LazyVim/LazyVim",
opts = { opts = {
colorscheme = "catppuccin-macchiato", colorscheme = "catppuccin",
}, },
}, },
{ "catppuccin/nvim",
name = "catppuccin",
opts = {
flavour = "frappe",
},
},
{ "ellisonleao/gruvbox.nvim" },
{"rktjmp/lush.nvim" },
{"briones-gabriel/darcula-solid.nvim",
depends = {"rktjmp/lush.nvim" },
},
{ "doums/darcula" },
} }

View File

@@ -27,6 +27,13 @@ return {
"windwp/nvim-spectre", "windwp/nvim-spectre",
enabled = false, enabled = false,
}, },
{
"ggandor/leap-spooky.nvim",
enabled = true,
opts = {
paste_on_remote_yank = true,
},
},
{ {
"ggandor/flit.nvim", "ggandor/flit.nvim",
enabled = false, enabled = false,
@@ -35,19 +42,25 @@ return {
-- "rafamadriz/friendly-snippets", -- "rafamadriz/friendly-snippets",
-- enabled = false, -- enabled = false,
-- }, -- },
-- { {
-- "folke/noice.nvim", "folke/noice.nvim",
-- enabled = false, enabled = false,
-- opts = { opts = {
-- cmdline = { cmdline = {
-- view = "cmdline", view = "cmdline",
-- }, },
-- }, },
-- }, },
{ {
"echasnovski/mini.pairs", "echasnovski/mini.pairs",
enabled = false, enabled = false,
}, },
{ "ellisonleao/gruvbox.nvim" },
{"rktjmp/lush.nvim" },
{"briones-gabriel/darcula-solid.nvim",
depends = {"rktjmp/lush.nvim" },
},
{ "doums/darcula" },
{ {
"echasnovski/mini.indentscope", "echasnovski/mini.indentscope",
opts = { opts = {