about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-07-28 19:21:33 -0700
committerFranck Cuny <franck@fcuny.net>2023-07-28 19:21:33 -0700
commit5f2b01db3fc7fc78d42aa07080b551f71d73ee6a (patch)
treeca3dac720e239f0f6d27772bc171a6e0018f5eb8
parentadd fonts specifically (diff)
downloadworld-5f2b01db3fc7fc78d42aa07080b551f71d73ee6a.tar.gz
switching back to alacritty + tmux
kitty is not clicking for me. I still prefer tmux.
-rw-r--r--home/profiles/sway.nix2
-rw-r--r--home/profiles/tmux.nix20
-rw-r--r--home/profiles/workstation.nix17
3 files changed, 23 insertions, 16 deletions
diff --git a/home/profiles/sway.nix b/home/profiles/sway.nix
index d3629a0..e86ff48 100644
--- a/home/profiles/sway.nix
+++ b/home/profiles/sway.nix
@@ -67,7 +67,7 @@ in
     config = {
       inherit fonts modifier;
       # FIXME: this should be a variable
-      terminal = "kitty";
+      terminal = "alacritty";
       menu = ''${pkgs.wofi}/bin/wofi -S drun -p "app:" -L 10'';
       bars = [ ];
       keybindings = lib.mkOptionDefault {
diff --git a/home/profiles/tmux.nix b/home/profiles/tmux.nix
new file mode 100644
index 0000000..22f8683
--- /dev/null
+++ b/home/profiles/tmux.nix
@@ -0,0 +1,20 @@
+{ ... }:
+{
+  programs.tmux = {
+    enable = true;
+
+    terminal = "xterm-256color";
+    escapeTime = 0;
+    aggressiveResize = true;
+    baseIndex = 1;
+    shortcut = "z";
+    clock24 = true;
+    historyLimit = 50000; # Bigger buffer
+
+    extraConfig = ''
+      setw -g mouse on
+
+      set-option -g renumber-windows on
+    '';
+  };
+}
diff --git a/home/profiles/workstation.nix b/home/profiles/workstation.nix
index cb895c6..f036f31 100644
--- a/home/profiles/workstation.nix
+++ b/home/profiles/workstation.nix
@@ -33,6 +33,8 @@ in
   imports = [
     ./dev.nix
     ./emacs.nix
+    ./alacritty.nix
+    ./tmux.nix
     ./firefox.nix
     ./yubikey.nix
     ./ytdlp.nix
@@ -69,21 +71,6 @@ in
     # masked-emails
   ];
 
-  programs.kitty = {
-    enable = true;
-    font = {
-      name = "Source Code Proro";
-      size = 13;
-    };
-    theme = "Modus Operandi";
-    settings = {
-      tab_bar_edge = "bottom";
-      tab_bar_background = "none";
-      tab_bar_style = "powerline";
-      active_tab_font_style = "bold-italic";
-    };
-  };
-
   programs.feh.enable = true;
   programs.mpv = {
     enable = true;