Replace alacritty with st
This commit is contained in:
parent
0a345df1a5
commit
5d854d25d2
|
@ -12,9 +12,5 @@
|
||||||
syncthing.enable = true;
|
syncthing.enable = true;
|
||||||
tmux-sessionizer.enable = true;
|
tmux-sessionizer.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
desktop = {
|
|
||||||
alacritty.enable = false;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
self,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
|
@ -28,10 +28,6 @@
|
||||||
neovim.enable = lib.mkDefault true;
|
neovim.enable = lib.mkDefault true;
|
||||||
tmux.enable = lib.mkDefault true;
|
tmux.enable = lib.mkDefault true;
|
||||||
};
|
};
|
||||||
|
|
||||||
desktop = {
|
|
||||||
alacritty.enable = lib.mkDefault true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,40 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
{
|
|
||||||
options.features.desktop.alacritty.enable = mkEnableOption "Enable Alacritty";
|
|
||||||
|
|
||||||
config = mkIf config.features.desktop.alacritty.enable {
|
|
||||||
programs.alacritty = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
env = {
|
|
||||||
TERM = "screen-256color";
|
|
||||||
};
|
|
||||||
|
|
||||||
colors.primary.background = "#000000";
|
|
||||||
|
|
||||||
window.padding = {
|
|
||||||
x = 10;
|
|
||||||
y = 10;
|
|
||||||
};
|
|
||||||
|
|
||||||
font = {
|
|
||||||
size = 15;
|
|
||||||
|
|
||||||
normal.family = "JetBrainsMono Nerd Font ";
|
|
||||||
};
|
|
||||||
|
|
||||||
terminal.shell = {
|
|
||||||
program = "zsh";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./alacritty.nix
|
|
||||||
./copyq.nix
|
./copyq.nix
|
||||||
./discord.nix
|
./discord.nix
|
||||||
./espanso.nix
|
./espanso.nix
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
patches = [
|
patches = [
|
||||||
"${self}/patches/dwm/add-custom-commands-and-keys.patch"
|
"${self}/patches/dwm/add-custom-commands-and-keys.patch"
|
||||||
"${self}/patches/dwm/change-mod-key.patch"
|
"${self}/patches/dwm/change-mod-key.patch"
|
||||||
"${self}/patches/dwm/change-termcmd.patch"
|
|
||||||
"${self}/patches/dwm/dwm-hide_vacant_tags-6.4.diff"
|
"${self}/patches/dwm/dwm-hide_vacant_tags-6.4.diff"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
diff --git a/config.def.h b/config.def.h
|
|
||||||
index 9efa774..648336e 100644
|
|
||||||
--- a/config.def.h
|
|
||||||
+++ b/config.def.h
|
|
||||||
@@ -58,7 +58,7 @@ static const Layout layouts[] = {
|
|
||||||
/* commands */
|
|
||||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
|
||||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
|
|
||||||
-static const char *termcmd[] = { "st", NULL };
|
|
||||||
+static const char *termcmd[] = { "alacritty", NULL };
|
|
||||||
|
|
||||||
static const Key keys[] = {
|
|
||||||
/* modifier key function argument */
|
|
Loading…
Reference in a new issue