home/foot: use tmux as default shell

This commit is contained in:
Guanran Wang 2025-01-18 15:03:36 +08:00
parent 37667b033f
commit 0754b4eb31
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
2 changed files with 8 additions and 5 deletions

View file

@ -1,9 +1,11 @@
{ lib, pkgs, ... }:
{ {
programs.foot = { programs.foot = {
enable = true; enable = true;
settings = { settings = {
main.font = "monospace:size=10"; main.font = "monospace:size=10";
main.resize-by-cells = false; main.resize-by-cells = false;
main.shell = "${lib.getExe pkgs.tmux} new-session -t main";
cursor.style = "beam"; cursor.style = "beam";
url.label-letters = "aoeuhtns"; url.label-letters = "aoeuhtns";
} // import ./tokyonight_night.nix; } // import ./tokyonight_night.nix;

View file

@ -11,11 +11,12 @@
set-option -w -g pane-base-index 1 set-option -w -g pane-base-index 1
set-option -g renumber-windows on set-option -g renumber-windows on
set-option -g status-keys vi set-option -g status-keys vi
set-option -w -g mode-keys vi set-option -w -g mode-keys vi
set-option -g mouse on set-option -g mouse on
set-option -s set-clipboard on set-option -s set-clipboard on
set-option -w -g aggressive-resize on set-option -w -g aggressive-resize on
set-option -g destroy-unattached keep-last
set-option -g status-style "bg=black" set-option -g status-style "bg=black"
set-option -g status-left "" set-option -g status-left ""