Add alacritty configuration and use it as default

This commit is contained in:
ulic-youthlic 2025-06-24 21:42:12 +08:00
parent b2846cc484
commit 6f6b32612d
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
7 changed files with 71 additions and 3 deletions

View file

@ -37,6 +37,7 @@
atuin.enable = true;
chromium.enable = true;
thunderbird.enable = true;
alacritty.enable = true;
# espanso.enable = true;
};
};

View file

@ -42,6 +42,7 @@
chromium.enable = true;
espanso.enable = true;
ion.enable = true;
alacritty.enable = true;
};
};

View file

@ -35,7 +35,7 @@
polkit-kde-agent = getExe' pkgs.kdePackages.polkit-kde-agent-1 "polkit-kde-agent";
wpctl = getExe' pkgs.wireplumber "wpctl";
swaybg = getExe pkgs.swaybg;
ghostty = getExe config.programs.ghostty.package;
alacritty = getExe config.programs.alacritty.package;
wl-paste = getExe' pkgs.wl-clipboard "wl-paste";
cliphist = getExe' pkgs.cliphist "cliphist";
cliphist-fuzzel-img = getExe' pkgs.cliphist "cliphist-fuzzel-img";
@ -57,7 +57,7 @@ in
])
(plain "Mod+T" [
(spawn [
ghostty
alacritty
])
])
(plain "Mod+Shift+T" [
@ -471,6 +471,10 @@ in
app-id = "^com\\.mitchellh\\.ghostty$";
is-active = true;
}
{
app-id = "^Alacritty$";
is-active = true;
}
])
(leaf "draw-border-with-background" [false])
])
@ -480,6 +484,10 @@ in
app-id = "^com\\.mitchellh\\.ghostty$";
is-active = false;
}
{
app-id = "^Alacritty$";
is-active = false;
}
])
(leaf "opacity" [0.8])
(leaf "draw-border-with-background" [false])