nushell play and some other tweaks
This commit is contained in:
parent
62ff7c5bcf
commit
c34c97d13c
5 changed files with 21 additions and 13 deletions
|
@ -95,7 +95,7 @@
|
|||
bash-env-json
|
||||
bash-env-nushell
|
||||
nufmt
|
||||
|
||||
vivid
|
||||
];
|
||||
|
||||
programs = {
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ home_symbol = "~"
|
|||
use_os_path_sep = true
|
||||
|
||||
[cmd_duration]
|
||||
style = '#444444'
|
||||
style = '#666666'
|
||||
format = '([\($duration\)]($style))'
|
||||
|
||||
[aws]
|
||||
|
|
|
@ -11,8 +11,7 @@
|
|||
}
|
||||
{
|
||||
event = "before-sleep";
|
||||
command = "${pkgs.systemd}/bin/loginctl lock-session";
|
||||
|
||||
command = "/home/emenel/.local/bin/session-lock";
|
||||
}
|
||||
{
|
||||
event = "after-resume";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue