Fix alacritty scaling issues
This commit is contained in:
parent
3e5f48889a
commit
df8128936c
1 changed files with 10 additions and 2 deletions
|
|
@ -28,12 +28,20 @@ in
|
|||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
key_bindings = [{
|
||||
key = "Return";
|
||||
mods = "Control|Shift";
|
||||
action = "SpawnNewInstance";
|
||||
}];
|
||||
# env.TERM = "xterm-256color";
|
||||
env.TERM = "alacritty";
|
||||
env = {
|
||||
TERM = "alacritty";
|
||||
WINIT_X11_SCALE_FACTOR = "1";
|
||||
};
|
||||
scrolling.history = 3000;
|
||||
font = {
|
||||
normal.family = pkgs.rice.font.monospace.name;
|
||||
size = pkgs.rice.font.monospace.size / 1.5; # Font size is broken
|
||||
inherit (pkgs.rice.font.monospace) size;
|
||||
};
|
||||
window.opacity = pkgs.rice.opacity;
|
||||
mouse = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue