added shpool, ran nix fmt.
This commit is contained in:
parent
0fe2f35093
commit
57c49eefed
16 changed files with 51 additions and 21 deletions
|
|
@ -5,8 +5,8 @@
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
(kicad.override {compressStep=false;})
|
||||
interactive-html-bom
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
(kicad.override {compressStep = false;})
|
||||
interactive-html-bom
|
||||
];
|
||||
}
|
||||
|
|
|
|||
21
configs/home-manager/shpool.nix
Normal file
21
configs/home-manager/shpool.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.shpool = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_dir = ".";
|
||||
prompt_prefix = "";
|
||||
keybinding = [
|
||||
{
|
||||
action = "detach";
|
||||
binding = "Ctrl-a d";
|
||||
}
|
||||
];
|
||||
};
|
||||
systemd = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -10,6 +10,7 @@
|
|||
format = lib.concatStrings [
|
||||
"[](color_orange)"
|
||||
"$shell"
|
||||
"\${env_var.SHPOOL_SESSION_NAME}"
|
||||
"$username"
|
||||
"[@](bg:color_orange)"
|
||||
"$hostname"
|
||||
|
|
@ -43,6 +44,13 @@
|
|||
color_red = "#cc241d";
|
||||
color_yellow = "#d79921";
|
||||
};
|
||||
env_var.SHPOOL_SESSION_NAME = {
|
||||
disabled = false;
|
||||
symbol = "🌊";
|
||||
variable = "SHPOOL_SESSION_NAME";
|
||||
format = "[$symbol$env_value ]($style)";
|
||||
style = "bg:color_orange";
|
||||
};
|
||||
hostname = {
|
||||
ssh_only = false;
|
||||
ssh_symbol = "🌐";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue