From ed920374e9a5933acc367544232b33e00b1e9d08 Mon Sep 17 00:00:00 2001 From: mat ess Date: Sun, 20 Nov 2022 17:40:32 -0500 Subject: [PATCH] =?UTF-8?q?Use=20Ros=C3=A9=20Pine=20for=20fish?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flake.lock | 17 +++++++++++++++++ flake.nix | 4 +++- home/fish.nix | 4 +++- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index aee2bae..42d2af1 100644 --- a/flake.lock +++ b/flake.lock @@ -146,6 +146,22 @@ "type": "github" } }, + "fish-rose-pine": { + "flake": false, + "locked": { + "lastModified": 1668089258, + "narHash": "sha256-JdRNoBx6v2BdMb5HVhE3dOX1maT/LsWmOeUaiQ9U5to=", + "owner": "EuCaue", + "repo": "fish", + "rev": "9503e25bbae9f1d384a1780e940179daa8f32937", + "type": "github" + }, + "original": { + "owner": "EuCaue", + "repo": "fish", + "type": "github" + } + }, "fisher-src": { "flake": false, "locked": { @@ -452,6 +468,7 @@ "inputs": { "dark-mode-notify-src": "dark-mode-notify-src", "darwin": "darwin", + "fish-rose-pine": "fish-rose-pine", "fisher-src": "fisher-src", "flake-compat": "flake-compat", "flake-utils": "flake-utils", diff --git a/flake.nix b/flake.nix index 3ccef85..009c051 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,8 @@ kitty-icon.flake = false; kitty-rose-pine.url = "github:rose-pine/kitty"; kitty-rose-pine.flake = false; + fish-rose-pine.url = "github:EuCaue/fish"; + fish-rose-pine.flake = false; fisher-src.url = "github:jorgebucaran/fisher"; fisher-src.flake = false; }; @@ -258,7 +260,7 @@ }; patched = _final: prev: optionalAttrs prev.stdenv.isDarwin { - inherit (inputs) kitty-icon kitty-rose-pine fisher-src; + inherit (inputs) kitty-icon kitty-rose-pine fish-rose-pine fisher-src; lib = prev.lib // { homebrew-enabled = inputs.homebrew-enabled.value; }; }; }; diff --git a/home/fish.nix b/home/fish.nix index 9bcd95c..113104e 100644 --- a/home/fish.nix +++ b/home/fish.nix @@ -15,7 +15,7 @@ } ]; - home.file.".config/fish/fish_plugins".text = '' + home.file."${config.xdg.configHome}/fish/fish_plugins".text = '' jorgebucaran/autopair.fish jorgebucaran/replay.fish jorgebucaran/getopts.fish @@ -28,6 +28,8 @@ Gazorby/fish-abbreviation-tips ''; + home.file."${config.xdg.configHome}/fish/conf.d/rose-pine.fish".source = "${pkgs.fish-rose-pine}/rose-pine.fish"; + # Fish functions ----------------------------------------------------------------------------- {{{ programs.fish.functions = {