fix alacritty
This commit is contained in:
parent
6a5f2d6e52
commit
b33a5f5925
1 changed files with 23 additions and 9 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
{ lib, nixosConfig, ... }:
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
nixosConfig,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
config = lib.mkMerge [
|
config = lib.mkMerge [
|
||||||
(lib.mkIf (nixosConfig != null && nixosConfig.osbmModules.desktopEnvironment != "none") {
|
(lib.mkIf (nixosConfig != null && nixosConfig.osbmModules.desktopEnvironment != "none") {
|
||||||
|
|
@ -9,16 +14,25 @@
|
||||||
{
|
{
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
settings = {
|
settings = {
|
||||||
window = {
|
|
||||||
opacity = 0.95;
|
|
||||||
padding = {
|
|
||||||
x = 10;
|
|
||||||
y = 10;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
font = {
|
font = {
|
||||||
size = 11.0;
|
size = 14.0;
|
||||||
|
normal.family = "Cascadia Code";
|
||||||
};
|
};
|
||||||
|
terminal.shell = {
|
||||||
|
args = [
|
||||||
|
"new-session"
|
||||||
|
"-A"
|
||||||
|
"-s"
|
||||||
|
"general"
|
||||||
|
];
|
||||||
|
program = lib.getExe pkgs.tmux;
|
||||||
|
};
|
||||||
|
window = {
|
||||||
|
decorations = "None";
|
||||||
|
opacity = 1;
|
||||||
|
startup_mode = "Maximized";
|
||||||
|
};
|
||||||
|
env.TERM = "xterm-256color";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue