this is a stupid way to do this shit

This commit is contained in:
Osman Faruk Bayram 2025-05-29 10:54:05 +03:00
parent 68b6fec533
commit 8cf567fdc4
3 changed files with 30 additions and 19 deletions

View file

@ -1,25 +1,29 @@
{
pkgs,
lib,
config,
...
}: {
programs.alacritty = {
enable = true;
settings = {
font = {
size = 17.0;
normal.family = "Cascadia Code";
options.enableAlacritty = lib.mkEnableOption "Alacritty terminal emulator";
config = {
programs.alacritty = {
enable = config.enableAlacritty;
settings = {
font = {
size = 17.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";
};
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";
};
};
}

View file

@ -1,11 +1,16 @@
{
pkgs,
lib,
config,
...
}: {
programs.ghostty = {
enable = true;
settings = {
options.enableGhostty = lib.mkEnableOption "Ghostty terminal emulator";
config = {
programs.ghostty = {
enable = config.enableGhostty;
settings = {
};
};
};
}

View file

@ -30,4 +30,6 @@
enableGTK = config.myModules.enableKDE;
enableFirefox = config.myModules.enableKDE;
enableAlacritty = config.myModules.enableKDE;
enableGhostty = config.myModules.enableKDE;
}