better tmux and alacritty

This commit is contained in:
2025-06-27 15:47:55 +02:00
parent 434615890a
commit b2670ca3f2
3 changed files with 31 additions and 11 deletions

19
home/lukas/alacritty.nix Normal file
View File

@@ -0,0 +1,19 @@
{ pkgs, ... }:
{
programs.alacritty = {
enable = true;
settings = {
terminal.shell = {
program = "${pkgs.tmux}/bin/tmux";
args = [ "new-session" "-A" "-s" "main" ];
};
window = {
opacity = 0.85;
};
};
};
}

View File

@@ -9,7 +9,8 @@
./git.nix
./packages.nix
./shell.nix
./terminal.nix
./alacritty.nix
./tmux.nix
./xgd.nix
./hyprland.nix
./rofi.nix

View File

@@ -9,16 +9,16 @@
set-option -g history-limit 50000
set -g default-shell "${pkgs.zsh}/bin/zsh"
set -g default-terminal "tmux-256color"
# split bindings: prefix+v = vertical split (side-by-side)
bind v split-window -h
# split bindings: prefix+h = horizontal split (top/bottom)
bind h split-window -v
# hide the status bar
set -g status off
'';
};
programs.alacritty = {
enable = true;
settings.terminal.shell = {
program = "${pkgs.tmux}/bin/tmux";
args = [ "new-session" "-A" "-s" "main" ];
};
};
}