Shell and terminal tweaks
This commit is contained in:
parent
60f2b7666c
commit
012a2b9764
5 changed files with 20 additions and 9 deletions
|
@ -86,10 +86,9 @@ let dark_theme = {
|
||||||
}
|
}
|
||||||
|
|
||||||
# External completer example
|
# External completer example
|
||||||
# let carapace_completer = {|spans|
|
let carapace_completer = {|spans|
|
||||||
# carapace $spans.0 nushell $spans | from json
|
carapace $spans.0 nushell $spans | from json
|
||||||
# }
|
}
|
||||||
|
|
||||||
|
|
||||||
# The default config record. This is where much of your global configuration is setup.
|
# The default config record. This is where much of your global configuration is setup.
|
||||||
let-env config = {
|
let-env config = {
|
||||||
|
@ -182,8 +181,8 @@ let-env config = {
|
||||||
algorithm: "fuzzy" # prefix or fuzzy
|
algorithm: "fuzzy" # prefix or fuzzy
|
||||||
external: {
|
external: {
|
||||||
enable: true # set to false to prevent nushell looking into $env.PATH to find more suggestions, `false` recommended for WSL users as this look up my be very slow
|
enable: true # set to false to prevent nushell looking into $env.PATH to find more suggestions, `false` recommended for WSL users as this look up my be very slow
|
||||||
max_results: 100 # setting it lower can improve completion performance at the cost of omitting some options
|
# max_results: 100 # setting it lower can improve completion performance at the cost of omitting some options
|
||||||
completer: null # $carapace_completer # check 'carapace_completer' above as an example
|
completer: $carapace_completer # check 'carapace_completer' above as an example
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
filesize: {
|
filesize: {
|
||||||
|
|
|
@ -26,6 +26,8 @@ in
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
alias vim = nvim
|
alias vim = nvim
|
||||||
alias tree = ${pkgs.exa}/bin/exa -Fb --git --tree
|
alias tree = ${pkgs.exa}/bin/exa -Fb --git --tree
|
||||||
|
|
||||||
|
let-env LS_COLORS = (${pkgs.vivid}/bin/vivid generate dracula | str trim)
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,10 @@ in
|
||||||
type = types.package;
|
type = types.package;
|
||||||
default = pkgs.rofi;
|
default = pkgs.rofi;
|
||||||
};
|
};
|
||||||
|
terminal = mkOption {
|
||||||
|
description = "Path to the terminal program rofi will use to execute console applications";
|
||||||
|
type = types.path;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
@ -21,7 +25,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.rofi-wayland;
|
package = pkgs.rofi-wayland;
|
||||||
theme = ./launch.rasi;
|
theme = ./launch.rasi;
|
||||||
terminal = "${pkgs.alacritty}/bin/alacritty";
|
terminal = cfg.terminal;
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
modi = "drun";
|
modi = "drun";
|
||||||
font = "Overpass Nerd Font 10";
|
font = "Overpass Nerd Font 10";
|
||||||
|
|
|
@ -26,7 +26,8 @@ in
|
||||||
|
|
||||||
eboskma = {
|
eboskma = {
|
||||||
programs = {
|
programs = {
|
||||||
alacritty.enable = true;
|
alacritty.enable = false;
|
||||||
|
atuin.enable = true;
|
||||||
bat.enable = true;
|
bat.enable = true;
|
||||||
cargo = {
|
cargo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -105,6 +106,7 @@ in
|
||||||
rofi = {
|
rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.rofi-wayland;
|
package = pkgs.rofi-wayland;
|
||||||
|
terminal = config.home-manager.users.erwin.wayland.windowManager.sway.config.terminal;
|
||||||
};
|
};
|
||||||
vscode.enable = true;
|
vscode.enable = true;
|
||||||
solvespace.enable = true;
|
solvespace.enable = true;
|
||||||
|
|
|
@ -23,6 +23,7 @@ in
|
||||||
var.workSystem = true;
|
var.workSystem = true;
|
||||||
programs = {
|
programs = {
|
||||||
alacritty.enable = true;
|
alacritty.enable = true;
|
||||||
|
atuin.enable = true;
|
||||||
bat.enable = true;
|
bat.enable = true;
|
||||||
cargo = {
|
cargo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -74,7 +75,10 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
rofi.enable = true;
|
rofi = {
|
||||||
|
enable = true;
|
||||||
|
terminal = config.home-manager.users.erwin.xsession.windowManager.i3.config.terminal;
|
||||||
|
};
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
zellij = {
|
zellij = {
|
||||||
|
|
Loading…
Reference in a new issue