Fixed some config of dwm, tmux alacritty
This commit is contained in:
parent
64e0a79009
commit
968b15968b
4 changed files with 110 additions and 88 deletions
|
@ -17,12 +17,12 @@
|
||||||
|
|
||||||
networking.hostName = myhostname;
|
networking.hostName = myhostname;
|
||||||
|
|
||||||
services.k3s = {
|
# services.k3s = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
role = "server";
|
# role = "server";
|
||||||
token = "supersupersecretkey";
|
# token = "supersupersecretkey";
|
||||||
clusterInit = true;
|
# clusterInit = true;
|
||||||
};
|
# };
|
||||||
|
|
||||||
# services = {
|
# services = {
|
||||||
# syncthing = {
|
# syncthing = {
|
||||||
|
|
|
@ -3,84 +3,106 @@
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
colors = {
|
env = {
|
||||||
primary = {
|
TERM = "alacritty";
|
||||||
background = "#1e1e2e";
|
};
|
||||||
foreground = "#cdd6f4";
|
font = {
|
||||||
dim_foreground = "#7f849c";
|
normal = {
|
||||||
bright_foreground = "#cdd6f4";
|
family = "FiraCode Nerd Font";
|
||||||
};
|
style = "SemiBold";
|
||||||
cursor = {
|
};
|
||||||
text = "#1e1e2e";
|
bold = {
|
||||||
cursor = "#f5e0dc";
|
family = "FiraCode Nerd Font";
|
||||||
};
|
style = "Bold";
|
||||||
vi_mode_cursor = {
|
};
|
||||||
text = "#1e1e2e";
|
italic = {
|
||||||
cursor = "#b4befe";
|
family = "FiraCode Nerd Font";
|
||||||
};
|
style = "Light";
|
||||||
search = {
|
};
|
||||||
matches = {
|
bold_italic = {
|
||||||
foreground = "#1e1e2e";
|
family = "FiraCode Nerd Font";
|
||||||
background = "#a6adc8";
|
style = "Regular";
|
||||||
};
|
};
|
||||||
focused_match = {
|
size = 9;
|
||||||
foreground = "#1e1e2e";
|
};
|
||||||
background = "#a6e3a1";
|
colors = {
|
||||||
|
primary = {
|
||||||
|
background = "#1e1e2e";
|
||||||
|
foreground = "#cdd6f4";
|
||||||
|
dim_foreground = "#7f849c";
|
||||||
|
bright_foreground = "#cdd6f4";
|
||||||
|
};
|
||||||
|
cursor = {
|
||||||
|
text = "#1e1e2e";
|
||||||
|
cursor = "#f5e0dc";
|
||||||
|
};
|
||||||
|
vi_mode_cursor = {
|
||||||
|
text = "#1e1e2e";
|
||||||
|
cursor = "#b4befe";
|
||||||
|
};
|
||||||
|
search = {
|
||||||
|
matches = {
|
||||||
|
foreground = "#1e1e2e";
|
||||||
|
background = "#a6adc8";
|
||||||
|
};
|
||||||
|
focused_match = {
|
||||||
|
foreground = "#1e1e2e";
|
||||||
|
background = "#a6e3a1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
footer_bar = {
|
||||||
|
foreground = "#1e1e2e";
|
||||||
|
background = "#a6adc8";
|
||||||
|
};
|
||||||
|
hints = {
|
||||||
|
start = {
|
||||||
|
foreground = "#1e1e2e";
|
||||||
|
background = "#f9e2af";
|
||||||
|
};
|
||||||
|
end = {
|
||||||
|
foreground = "#1e1e2e";
|
||||||
|
background = "#a6adc8";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
selection = {
|
||||||
|
text = "#1e1e2e";
|
||||||
|
background = "#f5e0dc";
|
||||||
|
};
|
||||||
|
normal = {
|
||||||
|
black = "#45475a";
|
||||||
|
red = "#f38ba8";
|
||||||
|
green = "#a6e3a1";
|
||||||
|
yellow = "#f9e2af";
|
||||||
|
blue = "#89b4fa";
|
||||||
|
magenta = "#f5c2e7";
|
||||||
|
cyan = "#94e2d5";
|
||||||
|
white = "#bac2de";
|
||||||
|
};
|
||||||
|
bright = {
|
||||||
|
black = "#585b70";
|
||||||
|
red = "#f38ba8";
|
||||||
|
green = "#a6e3a1";
|
||||||
|
yellow = "#f9e2af";
|
||||||
|
blue = "#89b4fa";
|
||||||
|
magenta = "#f5c2e7";
|
||||||
|
cyan = "#94e2d5";
|
||||||
|
white = "#a6adc8";
|
||||||
|
};
|
||||||
|
dim = {
|
||||||
|
black = "#45475a";
|
||||||
|
red = "#f38ba8";
|
||||||
|
green = "#a6e3a1";
|
||||||
|
yellow = "#f9e2af";
|
||||||
|
blue = "#89b4fa";
|
||||||
|
magenta = "#f5c2e7";
|
||||||
|
cyan = "#94e2d5";
|
||||||
|
white = "#bac2de";
|
||||||
|
};
|
||||||
|
indexed_colors = [
|
||||||
|
{ index = 16; color = "#fab387"; }
|
||||||
|
{ index = 17; color = "#f5e0dc"; }
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
footer_bar = {
|
|
||||||
foreground = "#1e1e2e";
|
|
||||||
background = "#a6adc8";
|
|
||||||
};
|
|
||||||
hints = {
|
|
||||||
start = {
|
|
||||||
foreground = "#1e1e2e";
|
|
||||||
background = "#f9e2af";
|
|
||||||
};
|
|
||||||
end = {
|
|
||||||
foreground = "#1e1e2e";
|
|
||||||
background = "#a6adc8";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
selection = {
|
|
||||||
text = "#1e1e2e";
|
|
||||||
background = "#f5e0dc";
|
|
||||||
};
|
|
||||||
normal = {
|
|
||||||
black = "#45475a";
|
|
||||||
red = "#f38ba8";
|
|
||||||
green = "#a6e3a1";
|
|
||||||
yellow = "#f9e2af";
|
|
||||||
blue = "#89b4fa";
|
|
||||||
magenta = "#f5c2e7";
|
|
||||||
cyan = "#94e2d5";
|
|
||||||
white = "#bac2de";
|
|
||||||
};
|
|
||||||
bright = {
|
|
||||||
black = "#585b70";
|
|
||||||
red = "#f38ba8";
|
|
||||||
green = "#a6e3a1";
|
|
||||||
yellow = "#f9e2af";
|
|
||||||
blue = "#89b4fa";
|
|
||||||
magenta = "#f5c2e7";
|
|
||||||
cyan = "#94e2d5";
|
|
||||||
white = "#a6adc8";
|
|
||||||
};
|
|
||||||
dim = {
|
|
||||||
black = "#45475a";
|
|
||||||
red = "#f38ba8";
|
|
||||||
green = "#a6e3a1";
|
|
||||||
yellow = "#f9e2af";
|
|
||||||
blue = "#89b4fa";
|
|
||||||
magenta = "#f5c2e7";
|
|
||||||
cyan = "#94e2d5";
|
|
||||||
white = "#bac2de";
|
|
||||||
};
|
|
||||||
indexed_colors = [
|
|
||||||
{ index = 16; color = "#fab387"; }
|
|
||||||
{ index = 17; color = "#f5e0dc"; }
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ let
|
||||||
dwm = pkgs.dwm.overrideAttrs (old: {
|
dwm = pkgs.dwm.overrideAttrs (old: {
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://github.com/FredzyW/dwm-conf.git";
|
url = "https://github.com/FredzyW/dwm-conf.git";
|
||||||
rev = "eb3015553442df6a92a79d47ff4ace8297edb9cb";
|
rev = "964a3b9c94e780636a1a4ef01afb90ab8de4bb6d";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
xorg.libX11.dev
|
xorg.libX11.dev
|
||||||
|
|
|
@ -34,11 +34,11 @@
|
||||||
|
|
||||||
];
|
];
|
||||||
prefix = "C-a";
|
prefix = "C-a";
|
||||||
terminal = "xterm-256color";
|
terminal = "alacritty";
|
||||||
keyMode = "vi";
|
keyMode = "vi";
|
||||||
escapeTime = 0;
|
escapeTime = 0;
|
||||||
extraConfig = "
|
extraConfig = ''
|
||||||
|
set-option -ga terminal-overrides ",alacritty:Tc"
|
||||||
";
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue