nushell play and some other tweaks

This commit is contained in:
Matt Nish-Lapidus 2025-06-30 17:11:02 -04:00
parent 62ff7c5bcf
commit c34c97d13c
5 changed files with 21 additions and 13 deletions

View file

@ -95,7 +95,7 @@
bash-env-json
bash-env-nushell
nufmt
vivid
];
programs = {

View file

@ -11,8 +11,9 @@
"rm" = "gtrash put";
"lg" = "lazygit";
"cat" = "bat --plain";
"y" = "wezterm --config-file ~/.config/wezterm/launcher.lua start --always-new-process --cwd (pwd) yazi &";
};
configFile.source = ./config.nu;
# configFile.source = ./config.nu;
loginFile.text = ''
${pkgs.figlet}/bin/figlet -f ($env.HOME)/.local/share/flf/wavy.flf (hostname)
'';
@ -25,6 +26,12 @@
settings = {
show_banner = false;
ls = { clickable_links = true; };
table = {
mode = "none";
};
color_config = {
hints = "#666666";
};
completions = {
case_sensitive = false;
quick = true;
@ -59,8 +66,10 @@
} else {
$completions
}
}
}
$env.LS_COLORS = (vivid generate one-dark)
'';
# plugins = [ pkgs.nushellPlugins.skim ];
plugins = [ pkgs.nushellPlugins.skim ];
};
}

View file

@ -26,7 +26,7 @@ home_symbol = "~"
use_os_path_sep = true
[cmd_duration]
style = '#444444'
style = '#666666'
format = '([\($duration\)]($style))'
[aws]

View file

@ -11,8 +11,7 @@
}
{
event = "before-sleep";
command = "${pkgs.systemd}/bin/loginctl lock-session";
command = "/home/emenel/.local/bin/session-lock";
}
{
event = "after-resume";