Use Rosé Pine for fish

work
mat ess 2022-11-20 17:40:32 -05:00
parent 65e48c07c9
commit ed920374e9
3 changed files with 23 additions and 2 deletions

View File

@ -146,6 +146,22 @@
"type": "github" "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": { "fisher-src": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -452,6 +468,7 @@
"inputs": { "inputs": {
"dark-mode-notify-src": "dark-mode-notify-src", "dark-mode-notify-src": "dark-mode-notify-src",
"darwin": "darwin", "darwin": "darwin",
"fish-rose-pine": "fish-rose-pine",
"fisher-src": "fisher-src", "fisher-src": "fisher-src",
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
"flake-utils": "flake-utils", "flake-utils": "flake-utils",

View File

@ -40,6 +40,8 @@
kitty-icon.flake = false; kitty-icon.flake = false;
kitty-rose-pine.url = "github:rose-pine/kitty"; kitty-rose-pine.url = "github:rose-pine/kitty";
kitty-rose-pine.flake = false; 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.url = "github:jorgebucaran/fisher";
fisher-src.flake = false; fisher-src.flake = false;
}; };
@ -258,7 +260,7 @@
}; };
patched = _final: prev: optionalAttrs prev.stdenv.isDarwin { 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; }; lib = prev.lib // { homebrew-enabled = inputs.homebrew-enabled.value; };
}; };
}; };

View File

@ -15,7 +15,7 @@
} }
]; ];
home.file.".config/fish/fish_plugins".text = '' home.file."${config.xdg.configHome}/fish/fish_plugins".text = ''
jorgebucaran/autopair.fish jorgebucaran/autopair.fish
jorgebucaran/replay.fish jorgebucaran/replay.fish
jorgebucaran/getopts.fish jorgebucaran/getopts.fish
@ -28,6 +28,8 @@
Gazorby/fish-abbreviation-tips 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 ----------------------------------------------------------------------------- {{{ # Fish functions ----------------------------------------------------------------------------- {{{
programs.fish.functions = { programs.fish.functions = {