zellij, hyprland config
This commit is contained in:
parent
39052c860d
commit
22cca03fec
12 changed files with 135 additions and 51 deletions
|
|
@ -9,9 +9,10 @@
|
|||
];
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
tree
|
||||
eza
|
||||
bat
|
||||
ripgrep
|
||||
fd
|
||||
];
|
||||
};
|
||||
programs.fish = {
|
||||
|
|
@ -30,19 +31,25 @@
|
|||
set -gx NIX_FLAKE '/home/e/dev/nix'
|
||||
";
|
||||
plugins = [
|
||||
{ name = "fzf"; src = pkgs.fishPlugins.fzf-fish.src; }
|
||||
{ name = "puffer"; src = pkgs.fishPlugins.puffer.src; }
|
||||
{
|
||||
name = "fzf";
|
||||
inherit (pkgs.fishPlugins.fzf-fish) src;
|
||||
}
|
||||
{
|
||||
name = "puffer";
|
||||
inherit (pkgs.fishPlugins.puffer) src;
|
||||
}
|
||||
];
|
||||
functions = {
|
||||
nix = {
|
||||
wraps = "nix";
|
||||
body = ''
|
||||
if status is-interactive
|
||||
and test (count $argv) = 1 -a "$argv[1]" = develop
|
||||
nix develop --command (status fish-path)
|
||||
else
|
||||
command nix $argv
|
||||
end
|
||||
if status is-interactive
|
||||
and test (count $argv) = 1 -a "$argv[1]" = develop
|
||||
nix develop --command (status fish-path)
|
||||
else
|
||||
command nix $argv
|
||||
end
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
@ -58,6 +65,7 @@
|
|||
mpv = "mpv --no-keepaspect-window";
|
||||
cat = "bat -pp";
|
||||
tcd = "cd $(mktemp -d)";
|
||||
docker = "nerdctl";
|
||||
};
|
||||
};
|
||||
programs.bash = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue